Skip to content
This repository was archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
Virenbar committed Dec 16, 2016
0 parents commit 7fa0497
Show file tree
Hide file tree
Showing 14 changed files with 1,195 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/__recovery/
/__history/
/Android/
/Win32/
42 changes: 42 additions & 0 deletions AndroidManifest.template.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="%package%"
android:versionCode="%versionCode%"
android:versionName="%versionName%"
android:installLocation="%installLocation%">

<!-- This is the platform API where NativeActivity was introduced. -->
<uses-sdk android:minSdkVersion="%minSdkVersion%" android:targetSdkVersion="%targetSdkVersion%" />
<%uses-permission%>
<uses-feature android:glEsVersion="0x00020000" android:required="True"/>
<application android:persistent="%persistent%"
android:restoreAnyVersion="%restoreAnyVersion%"
android:label="%label%"
android:debuggable="%debuggable%"
android:largeHeap="%largeHeap%"
android:icon="%icon%"
android:theme="%theme%"
android:hardwareAccelerated="%hardwareAccelerated%">

<%application-meta-data%>
<%services%>
<!-- Our activity is a subclass of the built-in NativeActivity framework class.
This will take care of integrating with our NDK code. -->
<activity android:name="com.embarcadero.firemonkey.FMXNativeActivity"
android:label="%activityLabel%"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
android:launchMode="singleTask">
<!-- Tell NativeActivity the name of our .so -->
<meta-data android:name="android.app.lib_name"
android:value="%libNameValue%" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<%activity%>
<%receivers%>
</application>
</manifest>
<!-- END_INCLUDE(manifest) -->
58 changes: 58 additions & 0 deletions NavigatorMain.LgXhdpiPh.fmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
inherited Navigator_LgXhdpiPh: TNavigator_LgXhdpiPh
ClientHeight = 695
ClientWidth = 450
DesignerMasterStyle = 0
inherited TabControl2: TTabControl
Size.Width = 450.000000000000000000
Size.Height = 695.000000000000000000
TabIndex = 1
Sizes = (
450s
695s
450s
695s)
inherited TabItem5: TTabItem
IsSelected = False
ExplicitSize.cx = 8.000000000000000000
ExplicitSize.cy = 8.000000000000000000
inherited ToolBar1: TToolBar
Size.Width = 450.000000000000000000
inherited lblTitle1: TLabel
Size.Width = 450.000000000000000000
end
inherited btnNext: TSpeedButton
Position.X = 385.000000000000000000
end
end
inherited Panel1: TPanel
inherited ComboEdit1: TComboEdit
Padding.Top = 50.000000000000000000
end
end
end
inherited TabItem6: TTabItem
IsSelected = True
ExplicitSize.cx = 8.000000000000000000
ExplicitSize.cy = 8.000000000000000000
inherited ToolBar2: TToolBar
Size.Width = 450.000000000000000000
inherited lblTitle2: TLabel
Size.Width = 450.000000000000000000
end
end
inherited Panel3: TPanel
Position.Y = 619.000000000000000000
Size.Width = 450.000000000000000000
inherited SpeedButton1: TSpeedButton
Position.X = 392.000000000000000000
Position.Y = 14.000000000000000000
Size.Height = 48.000000000000000000
end
inherited SpeedButton2: TSpeedButton
Position.Y = 14.000000000000000000
Size.Height = 48.000000000000000000
end
end
end
end
end
37 changes: 37 additions & 0 deletions NavigatorMain.Windows.fmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
inherited Navigator_Windows: TNavigator_Windows
DesignerMasterStyle = 0
inherited TabControl2: TTabControl
Sizes = (
405s
596s
405s
596s)
inherited TabItem5: TTabItem
ExplicitSize.cx = 8.000000000000000000
ExplicitSize.cy = 8.000000000000000000
inherited Panel1: TPanel
inherited ComboEdit1: TComboEdit
Padding.Top = 50.000000000000000000
end
end
end
inherited TabItem6: TTabItem
ExplicitSize.cx = 8.000000000000000000
ExplicitSize.cy = 8.000000000000000000
inherited ToolBar2: TToolBar
inherited btnBack: TSpeedButton
Size.Width = 60.000000000000000000
end
end
inherited Panel3: TPanel
inherited SpeedButton1: TSpeedButton
Position.X = 240.000000000000000000
Size.Width = 155.000000000000000000
end
inherited SpeedButton2: TSpeedButton
Size.Width = 135.000000000000000000
end
end
end
end
end
230 changes: 230 additions & 0 deletions NavigatorMain.fmx
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
object Navigator: TNavigator
Left = 0
Top = 0
Caption = #1053#1072#1074#1080#1075#1072#1090#1086#1088
ClientHeight = 596
ClientWidth = 405
FormFactor.Width = 320
FormFactor.Height = 480
FormFactor.Devices = [Desktop]
OnCreate = FormCreate
OnKeyUp = FormKeyUp
DesignerMasterStyle = 0
object TabControl2: TTabControl
Touch.GestureManager = GestureManager1
OnGesture = GestureDone
Align = Client
FullSize = True
Size.Width = 405.000000000000000000
Size.Height = 596.000000000000000000
Size.PlatformDefault = False
TabHeight = 49.000000000000000000
TabIndex = 0
TabOrder = 2
TabPosition = None
Sizes = (
405s
596s
405s
596s)
object TabItem5: TTabItem
CustomIcon = <
item
end>
IsSelected = True
Size.Width = 8.000000000000000000
Size.Height = 8.000000000000000000
Size.PlatformDefault = False
StyleLookup = ''
TabOrder = 0
Text = 'TabItem5'
ExplicitSize.cx = 8.000000000000000000
ExplicitSize.cy = 8.000000000000000000
object ToolBar1: TToolBar
Size.Width = 405.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
TabOrder = 0
object lblTitle1: TLabel
Align = Contents
Size.Width = 405.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'toollabel'
TextSettings.HorzAlign = Center
Text = #1053#1072#1074#1080#1075#1072#1090#1086#1088' '#1087#1086' '#1059#1088#1060#1059
end
object btnNext: TSpeedButton
Action = NextTabAction1
Align = Right
Enabled = True
ImageIndex = -1
Margins.Right = 5.000000000000000000
Position.X = 340.000000000000000000
Size.Width = 60.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
Text = #1044#1072#1083#1100#1096#1077
Visible = True
end
end
object Panel1: TPanel
Align = Center
Size.Width = 141.000000000000000000
Size.Height = 80.000000000000000000
Size.PlatformDefault = False
TabOrder = 1
object ComboEdit1: TComboEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Align = Top
TabOrder = 0
ItemHeight = 19.000000000000000000
Items.Strings = (
#1048'-131'
#1048'-123'
#1048'-25'
#1048'-56'
#1048'-53')
ItemIndex = -1
Position.X = 5.000000000000000000
Position.Y = 5.000000000000000000
Margins.Left = 5.000000000000000000
Margins.Top = 5.000000000000000000
Margins.Right = 5.000000000000000000
Margins.Bottom = 5.000000000000000000
Size.Width = 131.000000000000000000
Size.Height = 32.000000000000000000
Size.PlatformDefault = False
ParentShowHint = False
ShowHint = True
end
object ComboEdit2: TComboEdit
Touch.InteractiveGestures = [LongTap, DoubleTap]
Align = Bottom
TabOrder = 1
ItemHeight = 19.000000000000000000
Items.Strings = (
#1048'-131'
#1048'-123'
#1048'-25'
#1048'-56'
#1048'-53')
ItemIndex = -1
Position.X = 5.000000000000000000
Position.Y = 43.000000000000000000
Padding.Top = 50.000000000000000000
Margins.Left = 5.000000000000000000
Margins.Top = 5.000000000000000000
Margins.Right = 5.000000000000000000
Margins.Bottom = 5.000000000000000000
Size.Width = 131.000000000000000000
Size.Height = 32.000000000000000000
Size.PlatformDefault = False
ParentShowHint = False
ShowHint = True
end
end
end
object TabItem6: TTabItem
CustomIcon = <
item
end>
IsSelected = False
Size.Width = 8.000000000000000000
Size.Height = 8.000000000000000000
Size.PlatformDefault = False
StyleLookup = ''
TabOrder = 0
Text = 'TabItem6'
ExplicitSize.cx = 8.000000000000000000
ExplicitSize.cy = 8.000000000000000000
object ToolBar2: TToolBar
Size.Width = 405.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
TabOrder = 0
object lblTitle2: TLabel
Align = Contents
Size.Width = 405.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'toollabel'
TextSettings.HorzAlign = Center
Text = #1052#1072#1088#1096#1088#1091#1090
end
object btnBack: TSpeedButton
Action = PreviousTabAction1
Align = Left
Enabled = True
ImageIndex = -1
Margins.Left = 5.000000000000000000
Position.X = 5.000000000000000000
Size.Width = 48.000000000000000000
Size.Height = 48.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'backtoolbutton'
Text = #1053#1072#1079#1072#1076
Visible = True
end
end
object Panel2: TPanel
Align = Center
Size.Width = 329.000000000000000000
Size.Height = 411.000000000000000000
Size.PlatformDefault = False
TabOrder = 1
end
object Panel3: TPanel
Align = Bottom
Position.Y = 520.000000000000000000
Size.Width = 405.000000000000000000
Size.Height = 76.000000000000000000
Size.PlatformDefault = False
TabOrder = 2
object SpeedButton1: TSpeedButton
Align = Right
Margins.Left = 10.000000000000000000
Margins.Top = 10.000000000000000000
Margins.Right = 10.000000000000000000
Margins.Bottom = 10.000000000000000000
Position.X = 347.000000000000000000
Position.Y = 10.000000000000000000
Size.Width = 48.000000000000000000
Size.Height = 56.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'nexttoolbuttonbordered'
end
object SpeedButton2: TSpeedButton
Align = Left
Margins.Left = 10.000000000000000000
Margins.Top = 10.000000000000000000
Margins.Right = 10.000000000000000000
Margins.Bottom = 10.000000000000000000
Position.X = 10.000000000000000000
Position.Y = 10.000000000000000000
Size.Width = 48.000000000000000000
Size.Height = 56.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'priortoolbutton'
end
end
end
end
object GestureManager1: TGestureManager
Sensitivity = 80.000000000000000000
Left = 8
Top = 97
end
object ActionList1: TActionList
Left = 8
Top = 56
object NextTabAction1: TNextTabAction
Category = 'Tab'
TabControl = TabControl2
end
object PreviousTabAction1: TPreviousTabAction
Category = 'Tab'
TabControl = TabControl2
end
end
end
Loading

0 comments on commit 7fa0497

Please sign in to comment.