diff --git a/SimpleLifeCounter.sln b/SimpleLifeCounter.sln index c1f493e..3bba5a5 100644 --- a/SimpleLifeCounter.sln +++ b/SimpleLifeCounter.sln @@ -7,10 +7,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLifeCounter.Droid", " EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLifeCounter.iOS", "SimpleLifeCounter\SimpleLifeCounter.iOS\SimpleLifeCounter.iOS.csproj", "{24AEDB96-FF78-445C-9351-64EE0C39B4C0}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLifeCounter.WinPhone", "SimpleLifeCounter\SimpleLifeCounter.WinPhone\SimpleLifeCounter.WinPhone.csproj", "{3DF25E8A-077C-437B-8102-B6177C0065CF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLifeCounter.Windows", "SimpleLifeCounter\SimpleLifeCounter.Windows\SimpleLifeCounter.Windows.csproj", "{76B0C785-E5E5-489E-9CB8-3092F150989A}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleLifeCounter", "SimpleLifeCounter\SimpleLifeCounter\SimpleLifeCounter.csproj", "{05779811-3A1D-40E7-B68F-4454FB0DD859}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F074A01E-0205-4973-A940-4CFA7B7FE62E}" @@ -156,142 +152,6 @@ Global {24AEDB96-FF78-445C-9351-64EE0C39B4C0}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator {24AEDB96-FF78-445C-9351-64EE0C39B4C0}.Release|x64.ActiveCfg = Release|iPhone {24AEDB96-FF78-445C-9351-64EE0C39B4C0}.Release|x86.ActiveCfg = Release|iPhone - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|ARM.ActiveCfg = Release|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|ARM.Build.0 = Release|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|ARM.Deploy.0 = Release|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x64.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x64.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x86.ActiveCfg = Release|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x86.Build.0 = Release|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Ad-Hoc|x86.Deploy.0 = Release|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|Any CPU.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|Any CPU.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|Any CPU.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|ARM.ActiveCfg = Release|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|ARM.Build.0 = Release|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|ARM.Deploy.0 = Release|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhone.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhone.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhone.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x64.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x64.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x64.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x86.ActiveCfg = Release|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x86.Build.0 = Release|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.AppStore|x86.Deploy.0 = Release|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|ARM.ActiveCfg = Debug|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|ARM.Build.0 = Debug|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|ARM.Deploy.0 = Debug|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhone.ActiveCfg = Debug|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhone.Build.0 = Debug|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhone.Deploy.0 = Debug|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x64.ActiveCfg = Debug|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x64.Build.0 = Debug|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x64.Deploy.0 = Debug|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x86.ActiveCfg = Debug|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x86.Build.0 = Debug|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Debug|x86.Deploy.0 = Debug|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|ARM.ActiveCfg = Release|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|ARM.Build.0 = Release|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|ARM.Deploy.0 = Release|ARM - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhone.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhone.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhone.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhoneSimulator.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x64.ActiveCfg = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x64.Build.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x64.Deploy.0 = Release|Any CPU - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x86.ActiveCfg = Release|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x86.Build.0 = Release|x86 - {3DF25E8A-077C-437B-8102-B6177C0065CF}.Release|x86.Deploy.0 = Release|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|ARM.ActiveCfg = Release|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|ARM.Build.0 = Release|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|ARM.Deploy.0 = Release|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x64.ActiveCfg = Release|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x64.Build.0 = Release|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x64.Deploy.0 = Release|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x86.ActiveCfg = Release|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x86.Build.0 = Release|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Ad-Hoc|x86.Deploy.0 = Release|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|Any CPU.ActiveCfg = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|Any CPU.Build.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|Any CPU.Deploy.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|ARM.ActiveCfg = Release|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|ARM.Build.0 = Release|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|ARM.Deploy.0 = Release|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhone.ActiveCfg = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhone.Build.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhone.Deploy.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x64.ActiveCfg = Release|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x64.Build.0 = Release|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x64.Deploy.0 = Release|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x86.ActiveCfg = Release|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x86.Build.0 = Release|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.AppStore|x86.Deploy.0 = Release|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|ARM.ActiveCfg = Debug|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|ARM.Build.0 = Debug|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|ARM.Deploy.0 = Debug|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhone.ActiveCfg = Debug|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhone.Build.0 = Debug|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhone.Deploy.0 = Debug|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x64.ActiveCfg = Debug|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x64.Build.0 = Debug|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x64.Deploy.0 = Debug|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x86.ActiveCfg = Debug|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x86.Build.0 = Debug|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Debug|x86.Deploy.0 = Debug|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|ARM.ActiveCfg = Release|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|ARM.Build.0 = Release|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|ARM.Deploy.0 = Release|ARM - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhone.ActiveCfg = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhone.Build.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhone.Deploy.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhoneSimulator.Build.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x64.ActiveCfg = Release|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x64.Build.0 = Release|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x64.Deploy.0 = Release|x64 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x86.ActiveCfg = Release|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x86.Build.0 = Release|x86 - {76B0C785-E5E5-489E-9CB8-3092F150989A}.Release|x86.Deploy.0 = Release|x86 {05779811-3A1D-40E7-B68F-4454FB0DD859}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU {05779811-3A1D-40E7-B68F-4454FB0DD859}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU {05779811-3A1D-40E7-B68F-4454FB0DD859}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU diff --git a/SimpleLifeCounter/SimpleLifeCounter.Droid/MainActivity.cs b/SimpleLifeCounter/SimpleLifeCounter.Droid/MainActivity.cs index 6755d3b..f15d5aa 100644 --- a/SimpleLifeCounter/SimpleLifeCounter.Droid/MainActivity.cs +++ b/SimpleLifeCounter/SimpleLifeCounter.Droid/MainActivity.cs @@ -1,11 +1,11 @@ -using System; - + using Android.App; using Android.Content.PM; -using Android.Runtime; using Android.Views; -using Android.Widget; using Android.OS; +using Prism.Unity; +using Microsoft.Practices.Unity; + namespace SimpleLifeCounter.Droid { @@ -14,7 +14,6 @@ public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicat { protected override void OnCreate(Bundle bundle) { - base.OnCreate(bundle); // 横画面に固定 this.RequestedOrientation = ScreenOrientation.SensorLandscape; @@ -22,8 +21,17 @@ protected override void OnCreate(Bundle bundle) // スリープモードにしない制御 this.Window.SetFlags(WindowManagerFlags.KeepScreenOn, WindowManagerFlags.KeepScreenOn); + base.OnCreate(bundle); + global::Xamarin.Forms.Forms.Init(this, bundle); - LoadApplication(new App()); + LoadApplication(new App(new AndroidInitializer())); + } + } + public class AndroidInitializer : IPlatformInitializer + { + public void RegisterTypes(IUnityContainer container) + { + container.RegisterType(new ContainerControlledLifetimeManager()); } } } diff --git a/SimpleLifeCounter/SimpleLifeCounter.Droid/Properties/AndroidManifest.xml b/SimpleLifeCounter/SimpleLifeCounter.Droid/Properties/AndroidManifest.xml index a1cbba7..b3ac2a4 100644 --- a/SimpleLifeCounter/SimpleLifeCounter.Droid/Properties/AndroidManifest.xml +++ b/SimpleLifeCounter/SimpleLifeCounter.Droid/Properties/AndroidManifest.xml @@ -1,5 +1,5 @@  - + \ No newline at end of file diff --git a/SimpleLifeCounter/SimpleLifeCounter.Droid/Resources/Resource.Designer.cs b/SimpleLifeCounter/SimpleLifeCounter.Droid/Resources/Resource.Designer.cs index 2bc3784..8a053d3 100644 --- a/SimpleLifeCounter/SimpleLifeCounter.Droid/Resources/Resource.Designer.cs +++ b/SimpleLifeCounter/SimpleLifeCounter.Droid/Resources/Resource.Designer.cs @@ -26,6 +26,8 @@ static Resource() public static void UpdateIdValues() { + global::PCLStorage.Resource.String.ApplicationName = global::SimpleLifeCounter.Droid.Resource.String.ApplicationName; + global::PCLStorage.Resource.String.Hello = global::SimpleLifeCounter.Droid.Resource.String.Hello; global::Xamarin.Forms.Platform.Android.Resource.Attribute.actionBarSize = global::SimpleLifeCounter.Droid.Resource.Attribute.actionBarSize; } @@ -2216,8 +2218,8 @@ private Drawable() public partial class Id { - // aapt resource value: 0x7f07008b - public const int action0 = 2131165323; + // aapt resource value: 0x7f070090 + public const int action0 = 2131165328; // aapt resource value: 0x7f07005a public const int action_bar = 2131165274; @@ -2243,8 +2245,8 @@ public partial class Id // aapt resource value: 0x7f07005b public const int action_context_bar = 2131165275; - // aapt resource value: 0x7f07008f - public const int action_divider = 2131165327; + // aapt resource value: 0x7f070094 + public const int action_divider = 2131165332; // aapt resource value: 0x7f070003 public const int action_menu_divider = 2131165187; @@ -2264,6 +2266,9 @@ public partial class Id // aapt resource value: 0x7f07003d public const int activity_chooser_view_content = 2131165245; + // aapt resource value: 0x7f070075 + public const int addButton = 2131165301; + // aapt resource value: 0x7f070049 public const int alertTitle = 2131165257; @@ -2279,8 +2284,8 @@ public partial class Id // aapt resource value: 0x7f070044 public const int buttonPanel = 2131165252; - // aapt resource value: 0x7f07008c - public const int cancel_action = 2131165324; + // aapt resource value: 0x7f070091 + public const int cancel_action = 2131165329; // aapt resource value: 0x7f07002b public const int center = 2131165227; @@ -2291,11 +2296,14 @@ public partial class Id // aapt resource value: 0x7f07002d public const int center_vertical = 2131165229; + // aapt resource value: 0x7f070069 + public const int checkBoxList = 2131165289; + // aapt resource value: 0x7f070052 public const int checkbox = 2131165266; - // aapt resource value: 0x7f070092 - public const int chronometer = 2131165330; + // aapt resource value: 0x7f070097 + public const int chronometer = 2131165335; // aapt resource value: 0x7f070033 public const int clip_horizontal = 2131165235; @@ -2303,6 +2311,9 @@ public partial class Id // aapt resource value: 0x7f070034 public const int clip_vertical = 2131165236; + // aapt resource value: 0x7f070073 + public const int closeButton = 2131165299; + // aapt resource value: 0x7f07001f public const int collapseActionView = 2131165215; @@ -2321,32 +2332,35 @@ public partial class Id // aapt resource value: 0x7f070040 public const int default_activity_button = 2131165248; - // aapt resource value: 0x7f07006a - public const int design_bottom_sheet = 2131165290; + // aapt resource value: 0x7f07006b + public const int design_bottom_sheet = 2131165291; + + // aapt resource value: 0x7f070072 + public const int design_menu_item_action_area = 2131165298; // aapt resource value: 0x7f070071 - public const int design_menu_item_action_area = 2131165297; + public const int design_menu_item_action_area_stub = 2131165297; // aapt resource value: 0x7f070070 - public const int design_menu_item_action_area_stub = 2131165296; + public const int design_menu_item_text = 2131165296; // aapt resource value: 0x7f07006f - public const int design_menu_item_text = 2131165295; - - // aapt resource value: 0x7f07006e - public const int design_navigation_view = 2131165294; + public const int design_navigation_view = 2131165295; // aapt resource value: 0x7f07000e public const int disableHome = 2131165198; + // aapt resource value: 0x7f070074 + public const int editText = 2131165300; + // aapt resource value: 0x7f07005c public const int edit_query = 2131165276; // aapt resource value: 0x7f07001c public const int end = 2131165212; - // aapt resource value: 0x7f070097 - public const int end_padder = 2131165335; + // aapt resource value: 0x7f07009c + public const int end_padder = 2131165340; // aapt resource value: 0x7f070023 public const int enterAlways = 2131165219; @@ -2390,8 +2404,8 @@ public partial class Id // aapt resource value: 0x7f07003f public const int image = 2131165247; - // aapt resource value: 0x7f070096 - public const int info = 2131165334; + // aapt resource value: 0x7f07009b + public const int info = 2131165339; // aapt resource value: 0x7f070000 public const int item_touch_helper_previous_elevation = 2131165184; @@ -2399,11 +2413,11 @@ public partial class Id // aapt resource value: 0x7f07002f public const int left = 2131165231; - // aapt resource value: 0x7f070090 - public const int line1 = 2131165328; + // aapt resource value: 0x7f070095 + public const int line1 = 2131165333; - // aapt resource value: 0x7f070094 - public const int line3 = 2131165332; + // aapt resource value: 0x7f070099 + public const int line3 = 2131165337; // aapt resource value: 0x7f07000b public const int listMode = 2131165195; @@ -2411,8 +2425,11 @@ public partial class Id // aapt resource value: 0x7f070041 public const int list_item = 2131165249; - // aapt resource value: 0x7f07008e - public const int media_actions = 2131165326; + // aapt resource value: 0x7f070076 + public const int list_view = 2131165302; + + // aapt resource value: 0x7f070093 + public const int media_actions = 2131165331; // aapt resource value: 0x7f07001d public const int middle = 2131165213; @@ -2420,83 +2437,83 @@ public partial class Id // aapt resource value: 0x7f070037 public const int mini = 2131165239; - // aapt resource value: 0x7f07007d - public const int mr_art = 2131165309; + // aapt resource value: 0x7f070082 + public const int mr_art = 2131165314; - // aapt resource value: 0x7f070072 - public const int mr_chooser_list = 2131165298; + // aapt resource value: 0x7f070077 + public const int mr_chooser_list = 2131165303; - // aapt resource value: 0x7f070075 - public const int mr_chooser_route_desc = 2131165301; + // aapt resource value: 0x7f07007a + public const int mr_chooser_route_desc = 2131165306; - // aapt resource value: 0x7f070073 - public const int mr_chooser_route_icon = 2131165299; + // aapt resource value: 0x7f070078 + public const int mr_chooser_route_icon = 2131165304; - // aapt resource value: 0x7f070074 - public const int mr_chooser_route_name = 2131165300; + // aapt resource value: 0x7f070079 + public const int mr_chooser_route_name = 2131165305; - // aapt resource value: 0x7f07007a - public const int mr_close = 2131165306; + // aapt resource value: 0x7f07007f + public const int mr_close = 2131165311; - // aapt resource value: 0x7f070080 - public const int mr_control_divider = 2131165312; + // aapt resource value: 0x7f070085 + public const int mr_control_divider = 2131165317; - // aapt resource value: 0x7f070086 - public const int mr_control_play_pause = 2131165318; + // aapt resource value: 0x7f07008b + public const int mr_control_play_pause = 2131165323; - // aapt resource value: 0x7f070089 - public const int mr_control_subtitle = 2131165321; + // aapt resource value: 0x7f07008e + public const int mr_control_subtitle = 2131165326; - // aapt resource value: 0x7f070088 - public const int mr_control_title = 2131165320; + // aapt resource value: 0x7f07008d + public const int mr_control_title = 2131165325; - // aapt resource value: 0x7f070087 - public const int mr_control_title_container = 2131165319; + // aapt resource value: 0x7f07008c + public const int mr_control_title_container = 2131165324; - // aapt resource value: 0x7f07007b - public const int mr_custom_control = 2131165307; + // aapt resource value: 0x7f070080 + public const int mr_custom_control = 2131165312; + + // aapt resource value: 0x7f070081 + public const int mr_default_control = 2131165313; // aapt resource value: 0x7f07007c - public const int mr_default_control = 2131165308; + public const int mr_dialog_area = 2131165308; - // aapt resource value: 0x7f070077 - public const int mr_dialog_area = 2131165303; + // aapt resource value: 0x7f07007b + public const int mr_expandable_area = 2131165307; - // aapt resource value: 0x7f070076 - public const int mr_expandable_area = 2131165302; + // aapt resource value: 0x7f07008f + public const int mr_group_expand_collapse = 2131165327; - // aapt resource value: 0x7f07008a - public const int mr_group_expand_collapse = 2131165322; + // aapt resource value: 0x7f070083 + public const int mr_media_main_control = 2131165315; // aapt resource value: 0x7f07007e - public const int mr_media_main_control = 2131165310; + public const int mr_name = 2131165310; - // aapt resource value: 0x7f070079 - public const int mr_name = 2131165305; - - // aapt resource value: 0x7f07007f - public const int mr_playback_control = 2131165311; + // aapt resource value: 0x7f070084 + public const int mr_playback_control = 2131165316; - // aapt resource value: 0x7f070078 - public const int mr_title_bar = 2131165304; + // aapt resource value: 0x7f07007d + public const int mr_title_bar = 2131165309; - // aapt resource value: 0x7f070081 - public const int mr_volume_control = 2131165313; + // aapt resource value: 0x7f070086 + public const int mr_volume_control = 2131165318; - // aapt resource value: 0x7f070082 - public const int mr_volume_group_list = 2131165314; + // aapt resource value: 0x7f070087 + public const int mr_volume_group_list = 2131165319; - // aapt resource value: 0x7f070084 - public const int mr_volume_item_icon = 2131165316; + // aapt resource value: 0x7f070089 + public const int mr_volume_item_icon = 2131165321; - // aapt resource value: 0x7f070085 - public const int mr_volume_slider = 2131165317; + // aapt resource value: 0x7f07008a + public const int mr_volume_slider = 2131165322; // aapt resource value: 0x7f070016 public const int multiply = 2131165206; - // aapt resource value: 0x7f07006d - public const int navigation_header_container = 2131165293; + // aapt resource value: 0x7f07006e + public const int navigation_header_container = 2131165294; // aapt resource value: 0x7f070021 public const int never = 2131165217; @@ -2591,11 +2608,14 @@ public partial class Id // aapt resource value: 0x7f070013 public const int showTitle = 2131165203; - // aapt resource value: 0x7f07006c - public const int snackbar_action = 2131165292; + // aapt resource value: 0x7f07009d + public const int sliding_tabs = 2131165341; - // aapt resource value: 0x7f07006b - public const int snackbar_text = 2131165291; + // aapt resource value: 0x7f07006d + public const int snackbar_action = 2131165293; + + // aapt resource value: 0x7f07006c + public const int snackbar_text = 2131165292; // aapt resource value: 0x7f070027 public const int snap = 2131165223; @@ -2618,8 +2638,8 @@ public partial class Id // aapt resource value: 0x7f070031 public const int start = 2131165233; - // aapt resource value: 0x7f07008d - public const int status_bar_latest_event_content = 2131165325; + // aapt resource value: 0x7f070092 + public const int status_bar_latest_event_content = 2131165330; // aapt resource value: 0x7f070065 public const int submit_area = 2131165285; @@ -2627,17 +2647,17 @@ public partial class Id // aapt resource value: 0x7f07000d public const int tabMode = 2131165197; - // aapt resource value: 0x7f070095 - public const int text = 2131165333; + // aapt resource value: 0x7f07009a + public const int text = 2131165338; - // aapt resource value: 0x7f070093 - public const int text2 = 2131165331; + // aapt resource value: 0x7f070098 + public const int text2 = 2131165336; // aapt resource value: 0x7f07004d public const int textSpacerNoButtons = 2131165261; - // aapt resource value: 0x7f070091 - public const int time = 2131165329; + // aapt resource value: 0x7f070096 + public const int time = 2131165334; // aapt resource value: 0x7f070043 public const int title = 2131165251; @@ -2645,14 +2665,17 @@ public partial class Id // aapt resource value: 0x7f070048 public const int title_template = 2131165256; + // aapt resource value: 0x7f07009e + public const int toolbar = 2131165342; + // aapt resource value: 0x7f070032 public const int top = 2131165234; // aapt resource value: 0x7f070047 public const int topPanel = 2131165255; - // aapt resource value: 0x7f070069 - public const int touch_outside = 2131165289; + // aapt resource value: 0x7f07006a + public const int touch_outside = 2131165290; // aapt resource value: 0x7f070009 public const int up = 2131165193; @@ -2663,8 +2686,8 @@ public partial class Id // aapt resource value: 0x7f07000a public const int view_offset_helper = 2131165194; - // aapt resource value: 0x7f070083 - public const int volume_item_container = 2131165315; + // aapt resource value: 0x7f070088 + public const int volume_item_container = 2131165320; // aapt resource value: 0x7f070022 public const int withText = 2131165218; @@ -2823,94 +2846,106 @@ public partial class Layout public const int abc_select_dialog_material = 2130903064; // aapt resource value: 0x7f030019 - public const int design_bottom_sheet_dialog = 2130903065; + public const int CustomListView = 2130903065; // aapt resource value: 0x7f03001a - public const int design_layout_snackbar = 2130903066; + public const int design_bottom_sheet_dialog = 2130903066; // aapt resource value: 0x7f03001b - public const int design_layout_snackbar_include = 2130903067; + public const int design_layout_snackbar = 2130903067; // aapt resource value: 0x7f03001c - public const int design_layout_tab_icon = 2130903068; + public const int design_layout_snackbar_include = 2130903068; // aapt resource value: 0x7f03001d - public const int design_layout_tab_text = 2130903069; + public const int design_layout_tab_icon = 2130903069; // aapt resource value: 0x7f03001e - public const int design_menu_item_action_area = 2130903070; + public const int design_layout_tab_text = 2130903070; // aapt resource value: 0x7f03001f - public const int design_navigation_item = 2130903071; + public const int design_menu_item_action_area = 2130903071; // aapt resource value: 0x7f030020 - public const int design_navigation_item_header = 2130903072; + public const int design_navigation_item = 2130903072; // aapt resource value: 0x7f030021 - public const int design_navigation_item_separator = 2130903073; + public const int design_navigation_item_header = 2130903073; // aapt resource value: 0x7f030022 - public const int design_navigation_item_subheader = 2130903074; + public const int design_navigation_item_separator = 2130903074; // aapt resource value: 0x7f030023 - public const int design_navigation_menu = 2130903075; + public const int design_navigation_item_subheader = 2130903075; // aapt resource value: 0x7f030024 - public const int design_navigation_menu_item = 2130903076; + public const int design_navigation_menu = 2130903076; // aapt resource value: 0x7f030025 - public const int mr_chooser_dialog = 2130903077; + public const int design_navigation_menu_item = 2130903077; // aapt resource value: 0x7f030026 - public const int mr_chooser_list_item = 2130903078; + public const int listlayout = 2130903078; // aapt resource value: 0x7f030027 - public const int mr_controller_material_dialog_b = 2130903079; + public const int mr_chooser_dialog = 2130903079; // aapt resource value: 0x7f030028 - public const int mr_controller_volume_item = 2130903080; + public const int mr_chooser_list_item = 2130903080; // aapt resource value: 0x7f030029 - public const int mr_playback_control = 2130903081; + public const int mr_controller_material_dialog_b = 2130903081; // aapt resource value: 0x7f03002a - public const int mr_volume_control = 2130903082; + public const int mr_controller_volume_item = 2130903082; // aapt resource value: 0x7f03002b - public const int notification_media_action = 2130903083; + public const int mr_playback_control = 2130903083; // aapt resource value: 0x7f03002c - public const int notification_media_cancel_action = 2130903084; + public const int mr_volume_control = 2130903084; // aapt resource value: 0x7f03002d - public const int notification_template_big_media = 2130903085; + public const int notification_media_action = 2130903085; // aapt resource value: 0x7f03002e - public const int notification_template_big_media_narrow = 2130903086; + public const int notification_media_cancel_action = 2130903086; // aapt resource value: 0x7f03002f - public const int notification_template_lines = 2130903087; + public const int notification_template_big_media = 2130903087; // aapt resource value: 0x7f030030 - public const int notification_template_media = 2130903088; + public const int notification_template_big_media_narrow = 2130903088; // aapt resource value: 0x7f030031 - public const int notification_template_part_chronometer = 2130903089; + public const int notification_template_lines = 2130903089; // aapt resource value: 0x7f030032 - public const int notification_template_part_time = 2130903090; + public const int notification_template_media = 2130903090; // aapt resource value: 0x7f030033 - public const int select_dialog_item_material = 2130903091; + public const int notification_template_part_chronometer = 2130903091; // aapt resource value: 0x7f030034 - public const int select_dialog_multichoice_material = 2130903092; + public const int notification_template_part_time = 2130903092; // aapt resource value: 0x7f030035 - public const int select_dialog_singlechoice_material = 2130903093; + public const int select_dialog_item_material = 2130903093; // aapt resource value: 0x7f030036 - public const int support_simple_spinner_dropdown_item = 2130903094; + public const int select_dialog_multichoice_material = 2130903094; + + // aapt resource value: 0x7f030037 + public const int select_dialog_singlechoice_material = 2130903095; + + // aapt resource value: 0x7f030038 + public const int support_simple_spinner_dropdown_item = 2130903096; + + // aapt resource value: 0x7f030039 + public const int tabs = 2130903097; + + // aapt resource value: 0x7f03003a + public const int toolbar = 2130903098; static Layout() { @@ -2925,6 +2960,12 @@ private Layout() public partial class String { + // aapt resource value: 0x7f080027 + public const int ApplicationName = 2131230759; + + // aapt resource value: 0x7f080026 + public const int Hello = 2131230758; + // aapt resource value: 0x7f08000f public const int abc_action_bar_home_description = 2131230735; diff --git a/SimpleLifeCounter/SimpleLifeCounter.Droid/Resources/layout/CustomListView.axml b/SimpleLifeCounter/SimpleLifeCounter.Droid/Resources/layout/CustomListView.axml new file mode 100644 index 0000000..cdc8bde --- /dev/null +++ b/SimpleLifeCounter/SimpleLifeCounter.Droid/Resources/layout/CustomListView.axml @@ -0,0 +1,15 @@ + + + + + + \ No newline at end of file diff --git a/SimpleLifeCounter/SimpleLifeCounter.Droid/Resources/layout/listlayout.axml b/SimpleLifeCounter/SimpleLifeCounter.Droid/Resources/layout/listlayout.axml new file mode 100644 index 0000000..a500384 --- /dev/null +++ b/SimpleLifeCounter/SimpleLifeCounter.Droid/Resources/layout/listlayout.axml @@ -0,0 +1,36 @@ + + +