From 28779c263f124bbc38a9234d3d512d09c541a192 Mon Sep 17 00:00:00 2001 From: Gareth Date: Thu, 13 Feb 2014 09:47:56 +0000 Subject: [PATCH 1/3] Ported DialogSampleApp to Android.Dialog --- Android.Dialog.sln | 26 ++ Android.Dialog/.gitignore | 27 ++ .../AchievementElement.cs | 0 .../Android.Dialog.csproj | 1 - BUGS => Android.Dialog/BUGS | 0 .../BindingContext.cs | 0 .../BooleanElement.cs | 0 .../ButtonElement.cs | 0 .../CheckboxElement.cs | 0 .../DateTimeElement.cs | 0 .../DialogActivity.cs | 0 .../DialogAdapter.cs | 0 .../DialogListFragment.cs | 0 .../DialogListView.cs | 0 .../DroidResources.cs | 0 Element.cs => Android.Dialog/Element.cs | 0 .../EntryElement.cs | 0 Enums.cs => Android.Dialog/Enums.cs | 0 .../FloatElement.cs | 0 Group.cs => Android.Dialog/Group.cs | 0 .../HtmlElement.cs | 0 .../IElementSizing.cs | 0 .../ImageElement.cs | 0 LICENSE => Android.Dialog/LICENSE | 0 .../MultilineElement.cs | 0 .../Properties}/AssemblyInfo.cs | 0 .../README.markdown | 0 .../RadioElement.cs | 0 Reflect.cs => Android.Dialog/Reflect.cs | 0 .../Drawable-hdpi/dialog_disclosure.png | Bin .../Drawable-hdpi/expander_ic_minimized.9.png | Bin .../Resources}/Drawable/dialog_disclosure.png | Bin .../Resources}/Layout/dialog_achievements.xml | 0 .../Layout/dialog_boolfieldleft.xml | 0 .../Layout/dialog_boolfieldright.xml | 0 .../Layout/dialog_boolfieldsubleft.xml | 0 .../Layout/dialog_boolfieldsubright.xml | 0 .../Resources}/Layout/dialog_button.xml | 0 .../Resources}/Layout/dialog_datefield.xml | 0 .../Layout/dialog_fieldsetlabel.xml | 0 .../Resources}/Layout/dialog_floatimage.xml | 0 .../Resources}/Layout/dialog_html.xml | 0 .../Layout/dialog_labelfieldbelow.xml | 0 .../Layout/dialog_labelfieldright.xml | 0 .../dialog_multiline_labelfieldbelow.xml | 0 .../Layout/dialog_onofffieldright.xml | 0 .../Resources}/Layout/dialog_panel.xml | 0 .../Resources}/Layout/dialog_root.xml | 0 .../Resources}/Layout/dialog_selectlist.xml | 0 .../Layout/dialog_selectlistfield.xml | 0 .../Resources}/Layout/dialog_textarea.xml | 0 .../Layout/dialog_textfieldbelow.xml | 0 .../Layout/dialog_textfieldright.xml | 0 .../Resources}/Resource.Designer.cs | 382 +++++++++--------- .../RootElement.cs | 0 Section.cs => Android.Dialog/Section.cs | 0 .../StringElement.cs | 0 TODO => Android.Dialog/TODO | 0 .../ViewElement.cs | 0 .../WebContentElement.cs | 0 DialogSampleApp/Activity1.cs | 62 +++ DialogSampleApp/Activity2.cs | 83 ++++ DialogSampleApp/Assets/AboutAssets.txt | 19 + DialogSampleApp/DialogSampleApp.csproj | 142 +++++++ .../Properties/AndroidManifest.xml | 6 + DialogSampleApp/Properties/AssemblyInfo.cs | 36 ++ DialogSampleApp/Resources/AboutResources.txt | 50 +++ .../Resources/Resource.Designer.cs | 282 +++++++++++++ .../Resources/drawable/dialog_disclosure.png | Bin 0 -> 289 bytes .../dialog_expander_ic_minimized.9.png | Bin 0 -> 2993 bytes DialogSampleApp/Resources/drawable/icon.png | Bin 0 -> 4147 bytes .../Resources/layout/dialog_achievements.xml | 67 +++ .../Resources/layout/dialog_boolfieldleft.xml | 26 ++ .../layout/dialog_boolfieldright.xml | 30 ++ .../layout/dialog_boolfieldsubleft.xml | 46 +++ .../layout/dialog_boolfieldsubright.xml | 45 +++ .../Resources/layout/dialog_button.xml | 14 + .../Resources/layout/dialog_datefield.xml | 22 + .../Resources/layout/dialog_fieldsetlabel.xml | 18 + .../Resources/layout/dialog_floatimage.xml | 56 +++ .../layout/dialog_labelfieldbelow.xml | 31 ++ .../layout/dialog_labelfieldright.xml | 33 ++ .../layout/dialog_onofffieldright.xml | 30 ++ .../Resources/layout/dialog_panel.xml | 8 + .../Resources/layout/dialog_root.xml | 46 +++ .../Resources/layout/dialog_selectlist.xml | 25 ++ .../layout/dialog_selectlistfield.xml | 25 ++ .../Resources/layout/dialog_textarea.xml | 13 + .../layout/dialog_textfieldbelow.xml | 29 ++ .../layout/dialog_textfieldright.xml | 31 ++ DialogSampleApp/Resources/layout/main.xml | 7 + DialogSampleApp/Resources/values/strings.xml | 5 + 92 files changed, 1531 insertions(+), 192 deletions(-) create mode 100644 Android.Dialog.sln create mode 100755 Android.Dialog/.gitignore rename AchievementElement.cs => Android.Dialog/AchievementElement.cs (100%) mode change 100644 => 100755 rename Android.Dialog.csproj => Android.Dialog/Android.Dialog.csproj (99%) rename BUGS => Android.Dialog/BUGS (100%) mode change 100644 => 100755 rename BindingContext.cs => Android.Dialog/BindingContext.cs (100%) mode change 100644 => 100755 rename BooleanElement.cs => Android.Dialog/BooleanElement.cs (100%) mode change 100644 => 100755 rename ButtonElement.cs => Android.Dialog/ButtonElement.cs (100%) mode change 100644 => 100755 rename CheckboxElement.cs => Android.Dialog/CheckboxElement.cs (100%) mode change 100644 => 100755 rename DateTimeElement.cs => Android.Dialog/DateTimeElement.cs (100%) mode change 100644 => 100755 rename DialogActivity.cs => Android.Dialog/DialogActivity.cs (100%) mode change 100644 => 100755 rename DialogAdapter.cs => Android.Dialog/DialogAdapter.cs (100%) mode change 100644 => 100755 rename DialogListFragment.cs => Android.Dialog/DialogListFragment.cs (100%) mode change 100644 => 100755 rename DialogListView.cs => Android.Dialog/DialogListView.cs (100%) mode change 100644 => 100755 rename DroidResources.cs => Android.Dialog/DroidResources.cs (100%) mode change 100644 => 100755 rename Element.cs => Android.Dialog/Element.cs (100%) mode change 100644 => 100755 rename EntryElement.cs => Android.Dialog/EntryElement.cs (100%) mode change 100644 => 100755 rename Enums.cs => Android.Dialog/Enums.cs (100%) mode change 100644 => 100755 rename FloatElement.cs => Android.Dialog/FloatElement.cs (100%) mode change 100644 => 100755 rename Group.cs => Android.Dialog/Group.cs (100%) mode change 100644 => 100755 rename HtmlElement.cs => Android.Dialog/HtmlElement.cs (100%) mode change 100644 => 100755 rename IElementSizing.cs => Android.Dialog/IElementSizing.cs (100%) mode change 100644 => 100755 rename ImageElement.cs => Android.Dialog/ImageElement.cs (100%) mode change 100644 => 100755 rename LICENSE => Android.Dialog/LICENSE (100%) mode change 100644 => 100755 rename MultilineElement.cs => Android.Dialog/MultilineElement.cs (100%) mode change 100644 => 100755 rename {Properties => Android.Dialog/Properties}/AssemblyInfo.cs (100%) mode change 100644 => 100755 rename README.markdown => Android.Dialog/README.markdown (100%) mode change 100644 => 100755 rename RadioElement.cs => Android.Dialog/RadioElement.cs (100%) mode change 100644 => 100755 rename Reflect.cs => Android.Dialog/Reflect.cs (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Drawable-hdpi/dialog_disclosure.png (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Drawable-hdpi/expander_ic_minimized.9.png (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Drawable/dialog_disclosure.png (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_achievements.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_boolfieldleft.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_boolfieldright.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_boolfieldsubleft.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_boolfieldsubright.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_button.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_datefield.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_fieldsetlabel.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_floatimage.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_html.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_labelfieldbelow.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_labelfieldright.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_multiline_labelfieldbelow.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_onofffieldright.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_panel.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_root.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_selectlist.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_selectlistfield.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_textarea.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_textfieldbelow.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Layout/dialog_textfieldright.xml (100%) mode change 100644 => 100755 rename {Resources => Android.Dialog/Resources}/Resource.Designer.cs (86%) mode change 100644 => 100755 rename RootElement.cs => Android.Dialog/RootElement.cs (100%) mode change 100644 => 100755 rename Section.cs => Android.Dialog/Section.cs (100%) mode change 100644 => 100755 rename StringElement.cs => Android.Dialog/StringElement.cs (100%) mode change 100644 => 100755 rename TODO => Android.Dialog/TODO (100%) mode change 100644 => 100755 rename ViewElement.cs => Android.Dialog/ViewElement.cs (100%) mode change 100644 => 100755 rename WebContentElement.cs => Android.Dialog/WebContentElement.cs (100%) mode change 100644 => 100755 create mode 100755 DialogSampleApp/Activity1.cs create mode 100755 DialogSampleApp/Activity2.cs create mode 100755 DialogSampleApp/Assets/AboutAssets.txt create mode 100644 DialogSampleApp/DialogSampleApp.csproj create mode 100644 DialogSampleApp/Properties/AndroidManifest.xml create mode 100755 DialogSampleApp/Properties/AssemblyInfo.cs create mode 100755 DialogSampleApp/Resources/AboutResources.txt create mode 100755 DialogSampleApp/Resources/Resource.Designer.cs create mode 100755 DialogSampleApp/Resources/drawable/dialog_disclosure.png create mode 100755 DialogSampleApp/Resources/drawable/dialog_expander_ic_minimized.9.png create mode 100755 DialogSampleApp/Resources/drawable/icon.png create mode 100755 DialogSampleApp/Resources/layout/dialog_achievements.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_boolfieldleft.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_boolfieldright.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_boolfieldsubleft.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_boolfieldsubright.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_button.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_datefield.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_fieldsetlabel.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_floatimage.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_labelfieldbelow.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_labelfieldright.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_onofffieldright.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_panel.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_root.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_selectlist.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_selectlistfield.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_textarea.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_textfieldbelow.xml create mode 100755 DialogSampleApp/Resources/layout/dialog_textfieldright.xml create mode 100755 DialogSampleApp/Resources/layout/main.xml create mode 100755 DialogSampleApp/Resources/values/strings.xml diff --git a/Android.Dialog.sln b/Android.Dialog.sln new file mode 100644 index 0000000..7c62d41 --- /dev/null +++ b/Android.Dialog.sln @@ -0,0 +1,26 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Android.Dialog", "Android.Dialog\Android.Dialog.csproj", "{33044C7B-47A4-4113-A61A-EB429407F818}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DialogSampleApp", "DialogSampleApp\DialogSampleApp.csproj", "{62BAEFFF-BBF1-4BFC-BFCB-79BD60184A54}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {33044C7B-47A4-4113-A61A-EB429407F818}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {33044C7B-47A4-4113-A61A-EB429407F818}.Debug|Any CPU.Build.0 = Debug|Any CPU + {33044C7B-47A4-4113-A61A-EB429407F818}.Release|Any CPU.ActiveCfg = Release|Any CPU + {33044C7B-47A4-4113-A61A-EB429407F818}.Release|Any CPU.Build.0 = Release|Any CPU + {62BAEFFF-BBF1-4BFC-BFCB-79BD60184A54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {62BAEFFF-BBF1-4BFC-BFCB-79BD60184A54}.Debug|Any CPU.Build.0 = Debug|Any CPU + {62BAEFFF-BBF1-4BFC-BFCB-79BD60184A54}.Release|Any CPU.ActiveCfg = Release|Any CPU + {62BAEFFF-BBF1-4BFC-BFCB-79BD60184A54}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(MonoDevelopProperties) = preSolution + StartupItem = DialogSampleApp\DialogSampleApp.csproj + EndGlobalSection +EndGlobal diff --git a/Android.Dialog/.gitignore b/Android.Dialog/.gitignore new file mode 100755 index 0000000..8802e96 --- /dev/null +++ b/Android.Dialog/.gitignore @@ -0,0 +1,27 @@ +bin +obj +*.user +*.suo +_ReSharper.* +*.resharper +*.cache +~$* +*.usertasks +*.userprefs +.DS_Store? +ehthumbs.db +Icon? +Thumbs.db +*.sqlite +*.iso +*.7z +*.dmg +*.gz +*.iso +*.jar +*.rar +*.tar +*.zip +*.pidb + +.DS_Store diff --git a/AchievementElement.cs b/Android.Dialog/AchievementElement.cs old mode 100644 new mode 100755 similarity index 100% rename from AchievementElement.cs rename to Android.Dialog/AchievementElement.cs diff --git a/Android.Dialog.csproj b/Android.Dialog/Android.Dialog.csproj similarity index 99% rename from Android.Dialog.csproj rename to Android.Dialog/Android.Dialog.csproj index bd9e6a4..6cb6142 100644 --- a/Android.Dialog.csproj +++ b/Android.Dialog/Android.Dialog.csproj @@ -35,7 +35,6 @@ TRACE prompt 4 - SdkOnly false diff --git a/BUGS b/Android.Dialog/BUGS old mode 100644 new mode 100755 similarity index 100% rename from BUGS rename to Android.Dialog/BUGS diff --git a/BindingContext.cs b/Android.Dialog/BindingContext.cs old mode 100644 new mode 100755 similarity index 100% rename from BindingContext.cs rename to Android.Dialog/BindingContext.cs diff --git a/BooleanElement.cs b/Android.Dialog/BooleanElement.cs old mode 100644 new mode 100755 similarity index 100% rename from BooleanElement.cs rename to Android.Dialog/BooleanElement.cs diff --git a/ButtonElement.cs b/Android.Dialog/ButtonElement.cs old mode 100644 new mode 100755 similarity index 100% rename from ButtonElement.cs rename to Android.Dialog/ButtonElement.cs diff --git a/CheckboxElement.cs b/Android.Dialog/CheckboxElement.cs old mode 100644 new mode 100755 similarity index 100% rename from CheckboxElement.cs rename to Android.Dialog/CheckboxElement.cs diff --git a/DateTimeElement.cs b/Android.Dialog/DateTimeElement.cs old mode 100644 new mode 100755 similarity index 100% rename from DateTimeElement.cs rename to Android.Dialog/DateTimeElement.cs diff --git a/DialogActivity.cs b/Android.Dialog/DialogActivity.cs old mode 100644 new mode 100755 similarity index 100% rename from DialogActivity.cs rename to Android.Dialog/DialogActivity.cs diff --git a/DialogAdapter.cs b/Android.Dialog/DialogAdapter.cs old mode 100644 new mode 100755 similarity index 100% rename from DialogAdapter.cs rename to Android.Dialog/DialogAdapter.cs diff --git a/DialogListFragment.cs b/Android.Dialog/DialogListFragment.cs old mode 100644 new mode 100755 similarity index 100% rename from DialogListFragment.cs rename to Android.Dialog/DialogListFragment.cs diff --git a/DialogListView.cs b/Android.Dialog/DialogListView.cs old mode 100644 new mode 100755 similarity index 100% rename from DialogListView.cs rename to Android.Dialog/DialogListView.cs diff --git a/DroidResources.cs b/Android.Dialog/DroidResources.cs old mode 100644 new mode 100755 similarity index 100% rename from DroidResources.cs rename to Android.Dialog/DroidResources.cs diff --git a/Element.cs b/Android.Dialog/Element.cs old mode 100644 new mode 100755 similarity index 100% rename from Element.cs rename to Android.Dialog/Element.cs diff --git a/EntryElement.cs b/Android.Dialog/EntryElement.cs old mode 100644 new mode 100755 similarity index 100% rename from EntryElement.cs rename to Android.Dialog/EntryElement.cs diff --git a/Enums.cs b/Android.Dialog/Enums.cs old mode 100644 new mode 100755 similarity index 100% rename from Enums.cs rename to Android.Dialog/Enums.cs diff --git a/FloatElement.cs b/Android.Dialog/FloatElement.cs old mode 100644 new mode 100755 similarity index 100% rename from FloatElement.cs rename to Android.Dialog/FloatElement.cs diff --git a/Group.cs b/Android.Dialog/Group.cs old mode 100644 new mode 100755 similarity index 100% rename from Group.cs rename to Android.Dialog/Group.cs diff --git a/HtmlElement.cs b/Android.Dialog/HtmlElement.cs old mode 100644 new mode 100755 similarity index 100% rename from HtmlElement.cs rename to Android.Dialog/HtmlElement.cs diff --git a/IElementSizing.cs b/Android.Dialog/IElementSizing.cs old mode 100644 new mode 100755 similarity index 100% rename from IElementSizing.cs rename to Android.Dialog/IElementSizing.cs diff --git a/ImageElement.cs b/Android.Dialog/ImageElement.cs old mode 100644 new mode 100755 similarity index 100% rename from ImageElement.cs rename to Android.Dialog/ImageElement.cs diff --git a/LICENSE b/Android.Dialog/LICENSE old mode 100644 new mode 100755 similarity index 100% rename from LICENSE rename to Android.Dialog/LICENSE diff --git a/MultilineElement.cs b/Android.Dialog/MultilineElement.cs old mode 100644 new mode 100755 similarity index 100% rename from MultilineElement.cs rename to Android.Dialog/MultilineElement.cs diff --git a/Properties/AssemblyInfo.cs b/Android.Dialog/Properties/AssemblyInfo.cs old mode 100644 new mode 100755 similarity index 100% rename from Properties/AssemblyInfo.cs rename to Android.Dialog/Properties/AssemblyInfo.cs diff --git a/README.markdown b/Android.Dialog/README.markdown old mode 100644 new mode 100755 similarity index 100% rename from README.markdown rename to Android.Dialog/README.markdown diff --git a/RadioElement.cs b/Android.Dialog/RadioElement.cs old mode 100644 new mode 100755 similarity index 100% rename from RadioElement.cs rename to Android.Dialog/RadioElement.cs diff --git a/Reflect.cs b/Android.Dialog/Reflect.cs old mode 100644 new mode 100755 similarity index 100% rename from Reflect.cs rename to Android.Dialog/Reflect.cs diff --git a/Resources/Drawable-hdpi/dialog_disclosure.png b/Android.Dialog/Resources/Drawable-hdpi/dialog_disclosure.png old mode 100644 new mode 100755 similarity index 100% rename from Resources/Drawable-hdpi/dialog_disclosure.png rename to Android.Dialog/Resources/Drawable-hdpi/dialog_disclosure.png diff --git a/Resources/Drawable-hdpi/expander_ic_minimized.9.png b/Android.Dialog/Resources/Drawable-hdpi/expander_ic_minimized.9.png old mode 100644 new mode 100755 similarity index 100% rename from Resources/Drawable-hdpi/expander_ic_minimized.9.png rename to Android.Dialog/Resources/Drawable-hdpi/expander_ic_minimized.9.png diff --git a/Resources/Drawable/dialog_disclosure.png b/Android.Dialog/Resources/Drawable/dialog_disclosure.png old mode 100644 new mode 100755 similarity index 100% rename from Resources/Drawable/dialog_disclosure.png rename to Android.Dialog/Resources/Drawable/dialog_disclosure.png diff --git a/Resources/Layout/dialog_achievements.xml b/Android.Dialog/Resources/Layout/dialog_achievements.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_achievements.xml rename to Android.Dialog/Resources/Layout/dialog_achievements.xml diff --git a/Resources/Layout/dialog_boolfieldleft.xml b/Android.Dialog/Resources/Layout/dialog_boolfieldleft.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_boolfieldleft.xml rename to Android.Dialog/Resources/Layout/dialog_boolfieldleft.xml diff --git a/Resources/Layout/dialog_boolfieldright.xml b/Android.Dialog/Resources/Layout/dialog_boolfieldright.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_boolfieldright.xml rename to Android.Dialog/Resources/Layout/dialog_boolfieldright.xml diff --git a/Resources/Layout/dialog_boolfieldsubleft.xml b/Android.Dialog/Resources/Layout/dialog_boolfieldsubleft.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_boolfieldsubleft.xml rename to Android.Dialog/Resources/Layout/dialog_boolfieldsubleft.xml diff --git a/Resources/Layout/dialog_boolfieldsubright.xml b/Android.Dialog/Resources/Layout/dialog_boolfieldsubright.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_boolfieldsubright.xml rename to Android.Dialog/Resources/Layout/dialog_boolfieldsubright.xml diff --git a/Resources/Layout/dialog_button.xml b/Android.Dialog/Resources/Layout/dialog_button.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_button.xml rename to Android.Dialog/Resources/Layout/dialog_button.xml diff --git a/Resources/Layout/dialog_datefield.xml b/Android.Dialog/Resources/Layout/dialog_datefield.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_datefield.xml rename to Android.Dialog/Resources/Layout/dialog_datefield.xml diff --git a/Resources/Layout/dialog_fieldsetlabel.xml b/Android.Dialog/Resources/Layout/dialog_fieldsetlabel.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_fieldsetlabel.xml rename to Android.Dialog/Resources/Layout/dialog_fieldsetlabel.xml diff --git a/Resources/Layout/dialog_floatimage.xml b/Android.Dialog/Resources/Layout/dialog_floatimage.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_floatimage.xml rename to Android.Dialog/Resources/Layout/dialog_floatimage.xml diff --git a/Resources/Layout/dialog_html.xml b/Android.Dialog/Resources/Layout/dialog_html.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_html.xml rename to Android.Dialog/Resources/Layout/dialog_html.xml diff --git a/Resources/Layout/dialog_labelfieldbelow.xml b/Android.Dialog/Resources/Layout/dialog_labelfieldbelow.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_labelfieldbelow.xml rename to Android.Dialog/Resources/Layout/dialog_labelfieldbelow.xml diff --git a/Resources/Layout/dialog_labelfieldright.xml b/Android.Dialog/Resources/Layout/dialog_labelfieldright.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_labelfieldright.xml rename to Android.Dialog/Resources/Layout/dialog_labelfieldright.xml diff --git a/Resources/Layout/dialog_multiline_labelfieldbelow.xml b/Android.Dialog/Resources/Layout/dialog_multiline_labelfieldbelow.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_multiline_labelfieldbelow.xml rename to Android.Dialog/Resources/Layout/dialog_multiline_labelfieldbelow.xml diff --git a/Resources/Layout/dialog_onofffieldright.xml b/Android.Dialog/Resources/Layout/dialog_onofffieldright.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_onofffieldright.xml rename to Android.Dialog/Resources/Layout/dialog_onofffieldright.xml diff --git a/Resources/Layout/dialog_panel.xml b/Android.Dialog/Resources/Layout/dialog_panel.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_panel.xml rename to Android.Dialog/Resources/Layout/dialog_panel.xml diff --git a/Resources/Layout/dialog_root.xml b/Android.Dialog/Resources/Layout/dialog_root.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_root.xml rename to Android.Dialog/Resources/Layout/dialog_root.xml diff --git a/Resources/Layout/dialog_selectlist.xml b/Android.Dialog/Resources/Layout/dialog_selectlist.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_selectlist.xml rename to Android.Dialog/Resources/Layout/dialog_selectlist.xml diff --git a/Resources/Layout/dialog_selectlistfield.xml b/Android.Dialog/Resources/Layout/dialog_selectlistfield.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_selectlistfield.xml rename to Android.Dialog/Resources/Layout/dialog_selectlistfield.xml diff --git a/Resources/Layout/dialog_textarea.xml b/Android.Dialog/Resources/Layout/dialog_textarea.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_textarea.xml rename to Android.Dialog/Resources/Layout/dialog_textarea.xml diff --git a/Resources/Layout/dialog_textfieldbelow.xml b/Android.Dialog/Resources/Layout/dialog_textfieldbelow.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_textfieldbelow.xml rename to Android.Dialog/Resources/Layout/dialog_textfieldbelow.xml diff --git a/Resources/Layout/dialog_textfieldright.xml b/Android.Dialog/Resources/Layout/dialog_textfieldright.xml old mode 100644 new mode 100755 similarity index 100% rename from Resources/Layout/dialog_textfieldright.xml rename to Android.Dialog/Resources/Layout/dialog_textfieldright.xml diff --git a/Resources/Resource.Designer.cs b/Android.Dialog/Resources/Resource.Designer.cs old mode 100644 new mode 100755 similarity index 86% rename from Resources/Resource.Designer.cs rename to Android.Dialog/Resources/Resource.Designer.cs index ce1d221..503da74 --- a/Resources/Resource.Designer.cs +++ b/Android.Dialog/Resources/Resource.Designer.cs @@ -1,191 +1,191 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.34003 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -[assembly: global::Android.Runtime.ResourceDesignerAttribute("Android.Dialog.Resource", IsApplication=false)] - -namespace Android.Dialog -{ - - - [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] - public partial class Resource - { - - static Resource() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - public partial class Attribute - { - - static Attribute() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - private Attribute() - { - } - } - - public partial class Drawable - { - - // aapt resource value: 0x7f020000 - public static int dialog_disclosure = 2130837504; - - // aapt resource value: 0x7f020001 - public static int expander_ic_minimized = 2130837505; - - static Drawable() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - private Drawable() - { - } - } - - public partial class Id - { - - // aapt resource value: 0x7f040004 - public static int dialog_BoolField = 2130968580; - - // aapt resource value: 0x7f040005 - public static int dialog_Button = 2130968581; - - // aapt resource value: 0x7f04000b - public static int dialog_DisclosureField = 2130968587; - - // aapt resource value: 0x7f040009 - public static int dialog_HtmlField = 2130968585; - - // aapt resource value: 0x7f040007 - public static int dialog_ImageLeft = 2130968583; - - // aapt resource value: 0x7f040002 - public static int dialog_ImageRight = 2130968578; - - // aapt resource value: 0x7f040000 - public static int dialog_LabelField = 2130968576; - - // aapt resource value: 0x7f040003 - public static int dialog_LabelPercentageField = 2130968579; - - // aapt resource value: 0x7f040001 - public static int dialog_LabelSubtextField = 2130968577; - - // aapt resource value: 0x7f04000a - public static int dialog_Panel = 2130968586; - - // aapt resource value: 0x7f04000c - public static int dialog_RadioButtonList = 2130968588; - - // aapt resource value: 0x7f040008 - public static int dialog_SliderField = 2130968584; - - // aapt resource value: 0x7f04000d - public static int dialog_Spinner = 2130968589; - - // aapt resource value: 0x7f040006 - public static int dialog_ValueField = 2130968582; - - static Id() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - private Id() - { - } - } - - public partial class Layout - { - - // aapt resource value: 0x7f030000 - public static int dialog_achievements = 2130903040; - - // aapt resource value: 0x7f030001 - public static int dialog_boolfieldleft = 2130903041; - - // aapt resource value: 0x7f030002 - public static int dialog_boolfieldright = 2130903042; - - // aapt resource value: 0x7f030003 - public static int dialog_boolfieldsubleft = 2130903043; - - // aapt resource value: 0x7f030004 - public static int dialog_boolfieldsubright = 2130903044; - - // aapt resource value: 0x7f030005 - public static int dialog_button = 2130903045; - - // aapt resource value: 0x7f030006 - public static int dialog_datefield = 2130903046; - - // aapt resource value: 0x7f030007 - public static int dialog_fieldsetlabel = 2130903047; - - // aapt resource value: 0x7f030008 - public static int dialog_floatimage = 2130903048; - - // aapt resource value: 0x7f030009 - public static int dialog_html = 2130903049; - - // aapt resource value: 0x7f03000a - public static int dialog_labelfieldbelow = 2130903050; - - // aapt resource value: 0x7f03000b - public static int dialog_labelfieldright = 2130903051; - - // aapt resource value: 0x7f03000c - public static int dialog_multiline_labelfieldbelow = 2130903052; - - // aapt resource value: 0x7f03000d - public static int dialog_onofffieldright = 2130903053; - - // aapt resource value: 0x7f03000e - public static int dialog_panel = 2130903054; - - // aapt resource value: 0x7f03000f - public static int dialog_root = 2130903055; - - // aapt resource value: 0x7f030010 - public static int dialog_selectlist = 2130903056; - - // aapt resource value: 0x7f030011 - public static int dialog_selectlistfield = 2130903057; - - // aapt resource value: 0x7f030012 - public static int dialog_textarea = 2130903058; - - // aapt resource value: 0x7f030013 - public static int dialog_textfieldbelow = 2130903059; - - // aapt resource value: 0x7f030014 - public static int dialog_textfieldright = 2130903060; - - static Layout() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - private Layout() - { - } - } - } -} -#pragma warning restore 1591 +#pragma warning disable 1591 +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Mono Runtime Version: 4.0.30319.17020 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +[assembly: Android.Runtime.ResourceDesignerAttribute("Android.Dialog.Resource", IsApplication=false)] + +namespace Android.Dialog +{ + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] + public partial class Resource + { + + static Resource() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + public partial class Attribute + { + + static Attribute() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Attribute() + { + } + } + + public partial class Drawable + { + + // aapt resource value: 0x7f020000 + public static int dialog_disclosure = 2130837504; + + // aapt resource value: 0x7f020001 + public static int expander_ic_minimized = 2130837505; + + static Drawable() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Drawable() + { + } + } + + public partial class Id + { + + // aapt resource value: 0x7f040004 + public static int dialog_BoolField = 2130968580; + + // aapt resource value: 0x7f040005 + public static int dialog_Button = 2130968581; + + // aapt resource value: 0x7f04000b + public static int dialog_DisclosureField = 2130968587; + + // aapt resource value: 0x7f040009 + public static int dialog_HtmlField = 2130968585; + + // aapt resource value: 0x7f040007 + public static int dialog_ImageLeft = 2130968583; + + // aapt resource value: 0x7f040002 + public static int dialog_ImageRight = 2130968578; + + // aapt resource value: 0x7f040000 + public static int dialog_LabelField = 2130968576; + + // aapt resource value: 0x7f040003 + public static int dialog_LabelPercentageField = 2130968579; + + // aapt resource value: 0x7f040001 + public static int dialog_LabelSubtextField = 2130968577; + + // aapt resource value: 0x7f04000a + public static int dialog_Panel = 2130968586; + + // aapt resource value: 0x7f04000c + public static int dialog_RadioButtonList = 2130968588; + + // aapt resource value: 0x7f040008 + public static int dialog_SliderField = 2130968584; + + // aapt resource value: 0x7f04000d + public static int dialog_Spinner = 2130968589; + + // aapt resource value: 0x7f040006 + public static int dialog_ValueField = 2130968582; + + static Id() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Id() + { + } + } + + public partial class Layout + { + + // aapt resource value: 0x7f030000 + public static int dialog_achievements = 2130903040; + + // aapt resource value: 0x7f030001 + public static int dialog_boolfieldleft = 2130903041; + + // aapt resource value: 0x7f030002 + public static int dialog_boolfieldright = 2130903042; + + // aapt resource value: 0x7f030003 + public static int dialog_boolfieldsubleft = 2130903043; + + // aapt resource value: 0x7f030004 + public static int dialog_boolfieldsubright = 2130903044; + + // aapt resource value: 0x7f030005 + public static int dialog_button = 2130903045; + + // aapt resource value: 0x7f030006 + public static int dialog_datefield = 2130903046; + + // aapt resource value: 0x7f030007 + public static int dialog_fieldsetlabel = 2130903047; + + // aapt resource value: 0x7f030008 + public static int dialog_floatimage = 2130903048; + + // aapt resource value: 0x7f030009 + public static int dialog_html = 2130903049; + + // aapt resource value: 0x7f03000a + public static int dialog_labelfieldbelow = 2130903050; + + // aapt resource value: 0x7f03000b + public static int dialog_labelfieldright = 2130903051; + + // aapt resource value: 0x7f03000c + public static int dialog_multiline_labelfieldbelow = 2130903052; + + // aapt resource value: 0x7f03000d + public static int dialog_onofffieldright = 2130903053; + + // aapt resource value: 0x7f03000e + public static int dialog_panel = 2130903054; + + // aapt resource value: 0x7f03000f + public static int dialog_root = 2130903055; + + // aapt resource value: 0x7f030010 + public static int dialog_selectlist = 2130903056; + + // aapt resource value: 0x7f030011 + public static int dialog_selectlistfield = 2130903057; + + // aapt resource value: 0x7f030012 + public static int dialog_textarea = 2130903058; + + // aapt resource value: 0x7f030013 + public static int dialog_textfieldbelow = 2130903059; + + // aapt resource value: 0x7f030014 + public static int dialog_textfieldright = 2130903060; + + static Layout() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Layout() + { + } + } + } +} +#pragma warning restore 1591 diff --git a/RootElement.cs b/Android.Dialog/RootElement.cs old mode 100644 new mode 100755 similarity index 100% rename from RootElement.cs rename to Android.Dialog/RootElement.cs diff --git a/Section.cs b/Android.Dialog/Section.cs old mode 100644 new mode 100755 similarity index 100% rename from Section.cs rename to Android.Dialog/Section.cs diff --git a/StringElement.cs b/Android.Dialog/StringElement.cs old mode 100644 new mode 100755 similarity index 100% rename from StringElement.cs rename to Android.Dialog/StringElement.cs diff --git a/TODO b/Android.Dialog/TODO old mode 100644 new mode 100755 similarity index 100% rename from TODO rename to Android.Dialog/TODO diff --git a/ViewElement.cs b/Android.Dialog/ViewElement.cs old mode 100644 new mode 100755 similarity index 100% rename from ViewElement.cs rename to Android.Dialog/ViewElement.cs diff --git a/WebContentElement.cs b/Android.Dialog/WebContentElement.cs old mode 100644 new mode 100755 similarity index 100% rename from WebContentElement.cs rename to Android.Dialog/WebContentElement.cs diff --git a/DialogSampleApp/Activity1.cs b/DialogSampleApp/Activity1.cs new file mode 100755 index 0000000..af2dea7 --- /dev/null +++ b/DialogSampleApp/Activity1.cs @@ -0,0 +1,62 @@ +using Android.App; +using Android.OS; +using Android.Views; +using Android.Widget; +using Android.Dialog; +using System; + +namespace DialogSampleApp +{ + // + // NOTE: with the new update you will have to add all the dialog_* prefixes to your main application. + // This is because the current version of Mono for Android will not add resources from assemblies + // to the main application like it does for libraries in Android/Java/Eclipse... This could + // change in a future version (it's slated for 1.0 post release) but for now, just add them + // as in this sample... + // + [Activity(Label = "MD.D Sample", MainLauncher = true, WindowSoftInputMode = SoftInput.AdjustPan)] + public class Activity1 : Activity + { + protected void StartNew() + { + StartActivity(typeof(Activity2)); + } + + protected override void OnCreate(Bundle bundle) + { + base.OnCreate(bundle); + + var root = new RootElement("Test Root Elem") + { + new Section("Test Header", "Test Footer") + { + new StringElement("Do Something", "Foo"), + new ButtonElement("DialogActivity", (object sender, EventArgs e) => this.StartNew() ), + new BooleanElement("Push my button", true), + new BooleanElement("Push this too", false), + new StringElement("Text label", "The Value"), + new BooleanElement("Push my button", true), + new BooleanElement("Push this too", false), + }, + new Section("Part II") + { + new StringElement("This is the String Element", "The Value"), + new CheckboxElement("Check this out", true), + new EntryElement("Username",""){ + Hint = "Enter Login" + }, + new EntryElement("Password", "") { + Hint = "Enter Password", + Password = true, + }, + } + }; + + var da = new DialogAdapter(this, root); + + var lv = new ListView(this) {Adapter = da}; + + SetContentView(lv); + } + } +} \ No newline at end of file diff --git a/DialogSampleApp/Activity2.cs b/DialogSampleApp/Activity2.cs new file mode 100755 index 0000000..758696d --- /dev/null +++ b/DialogSampleApp/Activity2.cs @@ -0,0 +1,83 @@ +using System; + +using Android.App; +using Android.Content; +using Android.Runtime; +using Android.Views; +using Android.Widget; +using Android.OS; +using Android.Content.PM; + +using Android.Dialog; +using Android.Graphics; + +namespace DialogSampleApp +{ + [Activity(Label = "MonoDroidDialogApp", + WindowSoftInputMode = SoftInput.AdjustPan, + ConfigurationChanges = ConfigChanges.KeyboardHidden | ConfigChanges.Orientation, + LaunchMode = LaunchMode.SingleTop)] + public class Activity2 : DialogActivity + { + protected override void OnCreate(Bundle bundle) + { + InitializeRoot(); + + base.OnCreate(bundle); + } + + void InitializeRoot() + { + var imageView = new ImageView(this); + imageView.SetImageResource (Resource.Drawable.icon); + + this.Root = new RootElement("Elements") + { + new Section("Element w/Format Overrides") + { + new CheckboxElement("CheckboxElement", true, "", Resource.Layout.dialog_boolfieldsubright), + new StringElement("String Element", "Value", Resource.Layout.dialog_labelfieldbelow), + new EntryElement("EntryElement", "", Resource.Layout.dialog_textfieldbelow) { Hint = "Plain" }, + new EntryElement("PasswordEntryElement", "Va", Resource.Layout.dialog_textfieldbelow) { Hint = "Password", Password = true }, + new EntryElement("EntryElement2", "Val", Resource.Layout.dialog_textfieldbelow) { Hint = "Plain3" }, + }, + new Section("Section") + { + new BooleanElement("BooleanElement", true), + new StringElement("StringElement", "Value"), + new EntryElement("EntryElement", "") { Hint = "Pain 2" }, + new EntryElement("PasswordEntryElement", "") { Hint = "Password 2", Password = true }, + new DateTimeElement("DateTimeElement", DateTime.Now), + new DateElement("DateElement", DateTime.Now), + new TimeElement("TimeElement", DateTime.Now), + new CheckboxElement("CheckboxElement", true), + new HtmlElement("HtmlElement (Link)","http://www.google.com"), + new ImageElement(imageView), + new MultilineElement("MultiLineElement", "The quick brown fox jumped over the lazy horse, the quick brown fox jumped over the lazy horse"), + new FloatElement("Range"), + }, + new Section("Groups") + { + new [] { + new RootElement("Radio Group", new Android.Dialog.RadioGroup("desert", 2)) + { + new Section () + { + new RadioElement ("Ice Cream", "desert"), + new RadioElement ("Milkshake", "desert"), + new RadioElement ("Chocolate Cake", "desert") + }, + new Section () + { + new RadioElement ("Ice Cream", "desert"), + new RadioElement ("Milkshake", "desert"), + new RadioElement ("Chocolate Cake", "desert") + } + } + } + } + }; + } + } +} + diff --git a/DialogSampleApp/Assets/AboutAssets.txt b/DialogSampleApp/Assets/AboutAssets.txt new file mode 100755 index 0000000..ee39886 --- /dev/null +++ b/DialogSampleApp/Assets/AboutAssets.txt @@ -0,0 +1,19 @@ +Any raw assets you want to be deployed with your application can be placed in +this directory (and child directories) and given a Build Action of "AndroidAsset". + +These files will be deployed with you package and will be accessible using Android's +AssetManager, like this: + +public class ReadAsset : Activity +{ + protected override void OnCreate (Bundle bundle) + { + base.OnCreate (bundle); + + InputStream input = Assets.Open ("my_asset.txt"); + } +} + +Additionally, some Android functions will automatically load asset files: + +Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf"); \ No newline at end of file diff --git a/DialogSampleApp/DialogSampleApp.csproj b/DialogSampleApp/DialogSampleApp.csproj new file mode 100644 index 0000000..c62c1f1 --- /dev/null +++ b/DialogSampleApp/DialogSampleApp.csproj @@ -0,0 +1,142 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + {62BAEFFF-BBF1-4BFC-BFCB-79BD60184A54} + {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Properties + DialogSampleApp + DialogSampleApp + 512 + true + Resources\Resource.Designer.cs + Properties\AndroidManifest.xml + v4.0.3 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + None + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {33044C7B-47A4-4113-A61A-EB429407F818} + Android.Dialog + + + \ No newline at end of file diff --git a/DialogSampleApp/Properties/AndroidManifest.xml b/DialogSampleApp/Properties/AndroidManifest.xml new file mode 100644 index 0000000..679c4b6 --- /dev/null +++ b/DialogSampleApp/Properties/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/DialogSampleApp/Properties/AssemblyInfo.cs b/DialogSampleApp/Properties/AssemblyInfo.cs new file mode 100755 index 0000000..becc841 --- /dev/null +++ b/DialogSampleApp/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("DialogSampleApp")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("DialogSampleApp")] +[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a557ce8c-9dbe-4b93-8fc4-95ffc126cf14")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/DialogSampleApp/Resources/AboutResources.txt b/DialogSampleApp/Resources/AboutResources.txt new file mode 100755 index 0000000..194ae28 --- /dev/null +++ b/DialogSampleApp/Resources/AboutResources.txt @@ -0,0 +1,50 @@ +Images, layout descriptions, binary blobs and string dictionaries can be included +in your application as resource files. Various Android APIs are designed to +operate on the resource IDs instead of dealing with images, strings or binary blobs +directly. + +For example, a sample Android app that contains a user interface layout (main.xml), +an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png) +would keep its resources in the "Resources" directory of the application: + +Resources/ + drawable-hdpi/ + icon.png + + drawable-ldpi/ + icon.png + + drawable-mdpi/ + icon.png + + layout/ + main.xml + + values/ + strings.xml + +In order to get the build system to recognize Android resources, set the build action to +"AndroidResource". The native Android APIs do not operate directly with filenames, but +instead operate on resource IDs. When you compile an Android application that uses resources, +the build system will package the resources for distribution and generate a class called +"Resource" that contains the tokens for each one of the resources included. For example, +for the above Resources layout, this is what the Resource class would expose: + +public class Resource { + public class drawable { + public const int icon = 0x123; + } + + public class layout { + public const int main = 0x456; + } + + public class strings { + public const int first_string = 0xabc; + public const int second_string = 0xbcd; + } +} + +You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main +to reference the layout/main.xml file, or Resource.strings.first_string to reference the first +string in the dictionary file values/strings.xml. \ No newline at end of file diff --git a/DialogSampleApp/Resources/Resource.Designer.cs b/DialogSampleApp/Resources/Resource.Designer.cs new file mode 100755 index 0000000..76f33c3 --- /dev/null +++ b/DialogSampleApp/Resources/Resource.Designer.cs @@ -0,0 +1,282 @@ +#pragma warning disable 1591 +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Mono Runtime Version: 4.0.30319.17020 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +[assembly: Android.Runtime.ResourceDesignerAttribute("DialogSampleApp.Resource", IsApplication=true)] + +namespace DialogSampleApp +{ + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] + public partial class Resource + { + + static Resource() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + public static void UpdateIdValues() + { + global::Android.Dialog.Resource.Drawable.dialog_disclosure = global::DialogSampleApp.Resource.Drawable.dialog_disclosure; + global::Android.Dialog.Resource.Drawable.expander_ic_minimized = global::DialogSampleApp.Resource.Drawable.expander_ic_minimized; + global::Android.Dialog.Resource.Id.dialog_BoolField = global::DialogSampleApp.Resource.Id.dialog_BoolField; + global::Android.Dialog.Resource.Id.dialog_Button = global::DialogSampleApp.Resource.Id.dialog_Button; + global::Android.Dialog.Resource.Id.dialog_DisclosureField = global::DialogSampleApp.Resource.Id.dialog_DisclosureField; + global::Android.Dialog.Resource.Id.dialog_HtmlField = global::DialogSampleApp.Resource.Id.dialog_HtmlField; + global::Android.Dialog.Resource.Id.dialog_ImageLeft = global::DialogSampleApp.Resource.Id.dialog_ImageLeft; + global::Android.Dialog.Resource.Id.dialog_ImageRight = global::DialogSampleApp.Resource.Id.dialog_ImageRight; + global::Android.Dialog.Resource.Id.dialog_LabelField = global::DialogSampleApp.Resource.Id.dialog_LabelField; + global::Android.Dialog.Resource.Id.dialog_LabelPercentageField = global::DialogSampleApp.Resource.Id.dialog_LabelPercentageField; + global::Android.Dialog.Resource.Id.dialog_LabelSubtextField = global::DialogSampleApp.Resource.Id.dialog_LabelSubtextField; + global::Android.Dialog.Resource.Id.dialog_Panel = global::DialogSampleApp.Resource.Id.dialog_Panel; + global::Android.Dialog.Resource.Id.dialog_RadioButtonList = global::DialogSampleApp.Resource.Id.dialog_RadioButtonList; + global::Android.Dialog.Resource.Id.dialog_SliderField = global::DialogSampleApp.Resource.Id.dialog_SliderField; + global::Android.Dialog.Resource.Id.dialog_Spinner = global::DialogSampleApp.Resource.Id.dialog_Spinner; + global::Android.Dialog.Resource.Id.dialog_ValueField = global::DialogSampleApp.Resource.Id.dialog_ValueField; + global::Android.Dialog.Resource.Layout.dialog_achievements = global::DialogSampleApp.Resource.Layout.dialog_achievements; + global::Android.Dialog.Resource.Layout.dialog_boolfieldleft = global::DialogSampleApp.Resource.Layout.dialog_boolfieldleft; + global::Android.Dialog.Resource.Layout.dialog_boolfieldright = global::DialogSampleApp.Resource.Layout.dialog_boolfieldright; + global::Android.Dialog.Resource.Layout.dialog_boolfieldsubleft = global::DialogSampleApp.Resource.Layout.dialog_boolfieldsubleft; + global::Android.Dialog.Resource.Layout.dialog_boolfieldsubright = global::DialogSampleApp.Resource.Layout.dialog_boolfieldsubright; + global::Android.Dialog.Resource.Layout.dialog_button = global::DialogSampleApp.Resource.Layout.dialog_button; + global::Android.Dialog.Resource.Layout.dialog_datefield = global::DialogSampleApp.Resource.Layout.dialog_datefield; + global::Android.Dialog.Resource.Layout.dialog_fieldsetlabel = global::DialogSampleApp.Resource.Layout.dialog_fieldsetlabel; + global::Android.Dialog.Resource.Layout.dialog_floatimage = global::DialogSampleApp.Resource.Layout.dialog_floatimage; + global::Android.Dialog.Resource.Layout.dialog_html = global::DialogSampleApp.Resource.Layout.dialog_html; + global::Android.Dialog.Resource.Layout.dialog_labelfieldbelow = global::DialogSampleApp.Resource.Layout.dialog_labelfieldbelow; + global::Android.Dialog.Resource.Layout.dialog_labelfieldright = global::DialogSampleApp.Resource.Layout.dialog_labelfieldright; + global::Android.Dialog.Resource.Layout.dialog_multiline_labelfieldbelow = global::DialogSampleApp.Resource.Layout.dialog_multiline_labelfieldbelow; + global::Android.Dialog.Resource.Layout.dialog_onofffieldright = global::DialogSampleApp.Resource.Layout.dialog_onofffieldright; + global::Android.Dialog.Resource.Layout.dialog_panel = global::DialogSampleApp.Resource.Layout.dialog_panel; + global::Android.Dialog.Resource.Layout.dialog_root = global::DialogSampleApp.Resource.Layout.dialog_root; + global::Android.Dialog.Resource.Layout.dialog_selectlist = global::DialogSampleApp.Resource.Layout.dialog_selectlist; + global::Android.Dialog.Resource.Layout.dialog_selectlistfield = global::DialogSampleApp.Resource.Layout.dialog_selectlistfield; + global::Android.Dialog.Resource.Layout.dialog_textarea = global::DialogSampleApp.Resource.Layout.dialog_textarea; + global::Android.Dialog.Resource.Layout.dialog_textfieldbelow = global::DialogSampleApp.Resource.Layout.dialog_textfieldbelow; + global::Android.Dialog.Resource.Layout.dialog_textfieldright = global::DialogSampleApp.Resource.Layout.dialog_textfieldright; + } + + public partial class Attribute + { + + static Attribute() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Attribute() + { + } + } + + public partial class Drawable + { + + // aapt resource value: 0x7f020000 + public const int dialog_disclosure = 2130837504; + + // aapt resource value: 0x7f020001 + public const int dialog_expander_ic_minimized = 2130837505; + + // aapt resource value: 0x7f020002 + public const int expander_ic_minimized = 2130837506; + + // aapt resource value: 0x7f020003 + public const int icon = 2130837507; + + // aapt resource value: 0x7f020004 + public const int monoandroidsplash = 2130837508; + + static Drawable() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Drawable() + { + } + } + + public partial class Id + { + + // aapt resource value: 0x7f060004 + public const int dialog_BoolField = 2131099652; + + // aapt resource value: 0x7f060005 + public const int dialog_Button = 2131099653; + + // aapt resource value: 0x7f06000b + public const int dialog_DisclosureField = 2131099659; + + // aapt resource value: 0x7f060009 + public const int dialog_HtmlField = 2131099657; + + // aapt resource value: 0x7f060007 + public const int dialog_ImageLeft = 2131099655; + + // aapt resource value: 0x7f060002 + public const int dialog_ImageRight = 2131099650; + + // aapt resource value: 0x7f060000 + public const int dialog_LabelField = 2131099648; + + // aapt resource value: 0x7f060003 + public const int dialog_LabelPercentageField = 2131099651; + + // aapt resource value: 0x7f060001 + public const int dialog_LabelSubtextField = 2131099649; + + // aapt resource value: 0x7f06000a + public const int dialog_Panel = 2131099658; + + // aapt resource value: 0x7f06000c + public const int dialog_RadioButtonList = 2131099660; + + // aapt resource value: 0x7f060008 + public const int dialog_SliderField = 2131099656; + + // aapt resource value: 0x7f06000d + public const int dialog_Spinner = 2131099661; + + // aapt resource value: 0x7f060006 + public const int dialog_ValueField = 2131099654; + + // aapt resource value: 0x7f06000e + public const int iFormFieldValue = 2131099662; + + static Id() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Id() + { + } + } + + public partial class Layout + { + + // aapt resource value: 0x7f030000 + public const int dialog_achievements = 2130903040; + + // aapt resource value: 0x7f030001 + public const int dialog_boolfieldleft = 2130903041; + + // aapt resource value: 0x7f030002 + public const int dialog_boolfieldright = 2130903042; + + // aapt resource value: 0x7f030003 + public const int dialog_boolfieldsubleft = 2130903043; + + // aapt resource value: 0x7f030004 + public const int dialog_boolfieldsubright = 2130903044; + + // aapt resource value: 0x7f030005 + public const int dialog_button = 2130903045; + + // aapt resource value: 0x7f030006 + public const int dialog_datefield = 2130903046; + + // aapt resource value: 0x7f030007 + public const int dialog_fieldsetlabel = 2130903047; + + // aapt resource value: 0x7f030008 + public const int dialog_floatimage = 2130903048; + + // aapt resource value: 0x7f030009 + public const int dialog_html = 2130903049; + + // aapt resource value: 0x7f03000a + public const int dialog_labelfieldbelow = 2130903050; + + // aapt resource value: 0x7f03000b + public const int dialog_labelfieldright = 2130903051; + + // aapt resource value: 0x7f03000c + public const int dialog_multiline_labelfieldbelow = 2130903052; + + // aapt resource value: 0x7f03000d + public const int dialog_onofffieldright = 2130903053; + + // aapt resource value: 0x7f03000e + public const int dialog_panel = 2130903054; + + // aapt resource value: 0x7f03000f + public const int dialog_root = 2130903055; + + // aapt resource value: 0x7f030010 + public const int dialog_selectlist = 2130903056; + + // aapt resource value: 0x7f030011 + public const int dialog_selectlistfield = 2130903057; + + // aapt resource value: 0x7f030012 + public const int dialog_textarea = 2130903058; + + // aapt resource value: 0x7f030013 + public const int dialog_textfieldbelow = 2130903059; + + // aapt resource value: 0x7f030014 + public const int dialog_textfieldright = 2130903060; + + // aapt resource value: 0x7f030015 + public const int main = 2130903061; + + static Layout() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Layout() + { + } + } + + public partial class String + { + + // aapt resource value: 0x7f040001 + public const int app_name = 2130968577; + + // aapt resource value: 0x7f040000 + public const int hello = 2130968576; + + static String() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private String() + { + } + } + + public partial class Style + { + + // aapt resource value: 0x7f050000 + public const int Mono_Android_Theme_Splash = 2131034112; + + static Style() + { + global::Android.Runtime.ResourceIdManager.UpdateIdValues(); + } + + private Style() + { + } + } + } +} +#pragma warning restore 1591 diff --git a/DialogSampleApp/Resources/drawable/dialog_disclosure.png b/DialogSampleApp/Resources/drawable/dialog_disclosure.png new file mode 100755 index 0000000000000000000000000000000000000000..6ff82054758572fc3d5b9e391f8449ef5ceb515a GIT binary patch literal 289 zcmeAS@N?(olHy`uVBq!ia0vp^JU}eK!3HFi66di4DaPU;cPEB*=VV?2Ic!PZ?k)`f zL2$v|<&%LToCO|{#S9GG!XV7ZFl&wkP>{XE)7O>#2A7DCrBy-1`ME%$g`O^sAsXkW zPIBZrWFX)g@BNV>?{3uuxueWG`jZ5sM9$vxuHfdsv^Lsb;Yh2eq*I&XW>334;%bLY z6j`!XE!||r@I2mat9l; d$=26@nRm@mTep}^?ikRq44$rjF6*2UngD~gVhI2M literal 0 HcmV?d00001 diff --git a/DialogSampleApp/Resources/drawable/dialog_expander_ic_minimized.9.png b/DialogSampleApp/Resources/drawable/dialog_expander_ic_minimized.9.png new file mode 100755 index 0000000000000000000000000000000000000000..0c19bb782a609e4c27519270f8aa742886f568a7 GIT binary patch literal 2993 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 literal 0 HcmV?d00001 diff --git a/DialogSampleApp/Resources/drawable/icon.png b/DialogSampleApp/Resources/drawable/icon.png new file mode 100755 index 0000000000000000000000000000000000000000..8074c4c571b8cd19e27f4ee5545df367420686d7 GIT binary patch literal 4147 zcmV-35X|q1P)OwvMs$Q8_8nISM!^>PxsujeDCl4&hPxrxkp%Qc^^|l zp6LqAcf3zf1H4aA1Gv-O6ha)ktct9Y+VA@N^9i;p0H%6v>ZJZYQ`zEa396z-gi{r_ zDz)D=vgRv62GCVeRjK{15j7V@v6|2nafFX6W7z2j1_T0a zLyT3pGTubf1lB5)32>bl0*BflrA!$|_(WD2)iJIfV}37=ZKAC zSe3boYtQ=;o0i>)RtBvsI#iT{0!oF1VFeW`jDjF2Q4aE?{pGCAd>o8Kg#neIh*AMY zLl{;F!vLiem7s*x0<9FKAd6LoPz3~G32P+F+cuGOJ5gcC@pU_?C2fmix7g2)SUaQO$NS07~H)#fn!Q<}KQWtX}wW`g2>cMld+`7Rxgq zChaey66SG560JhO66zA!;sK1cWa2AG$9k~VQY??6bOmJsw9@3uL*z;WWa7(Nm{^TA zilc?y#N9O3LcTo2c)6d}SQl-v-pE4^#wb=s(RxaE28f3FQW(yp$ulG9{KcQ7r>7mQ zE!HYxUYex~*7IinL+l*>HR*UaD;HkQhkL(5I@UwN%Wz504M^d!ylo>ANvKPF_TvA< zkugG5;F6x}$s~J8cnev->_(Ic7%lGQgUi3n#XVo36lUpcS9s z)ympRr7}@|6WF)Ae;D{owN1;aZSR50al9h~?-WhbtKK%bDd zhML131oi1Bu1&Qb$Cp199LJ#;j5d|FhW8_i4KO1OI>}J^p2DfreMSVGY9aFlr&90t zyI2FvxQiKMFviSQeP$Ixh#70qj5O%I+O_I2t2XHWqmh2!1~tHpN3kA4n=1iHj?`@c<~3q^X6_Q$AqTDjBU`|!y<&lkqL|m5tG(b z8a!z&j^m(|;?SW(l*?tZ*{m2H9d&3jqBtXh>O-5e4Qp-W*a5=2NL&Oi62BUM)>zE3 zbSHb>aU3d@3cGggA`C-PsT9^)oy}%dHCaO~nwOrm5E54=aDg(&HR4S23Oa#-a^=}w%g?ZP-1iq8PSjE8jYaGZu z$I)?YN8he?F9>)2d$G6a*zm0XB*Rf&gZAjq(8l@CUDSY1tB#!i> zW$VfG%#SYSiZ};)>pHA`qlfDTEYQEwN6>NNEp+uxuqx({Fgr zjI@!4xRc?vk^9+~eU|mzH__dCDI=xb{Cd}4bELS9xRaS!*FXMwtMR-RR%SLMh0Cjl zencr8#Su<4(%}$yGVBU-HX{18v=yPH*+%^Vtknc>2A;%-~DrYFx^3XfuVgvZ{#1tA== zm3>IzAM2{3Iv_d1XG{P6^tN3|PkJMnjs&CWN7%7_CmjoVakUhsa&dMv==2~^ri?&x zVdv*rnfVyM+I1^Kg*S=23mR@+0T9BWFZUu~@toA8d)fw6be=`Yb6DSX6D?jB%2YT~ z*aHjtIOozfMhA!Jd*?u5_n!SnX>vX`=Ti-1HA4RiE>eI3vTn zz+>Ccf0HX6Ans-ebOB>RJST-Cyr#4XAk+mAlJgdQnoE{^iIN)OcYFSpgJUmXtl@tT z-^ZuUeSj5hSFrQwqX>~EtZ*{>Gi8Bu9_|o06oNtaXP?E936!a@DsvS*tsB@fa6kEA z5GkjwmH?EgpiG&itsB_Tb1NxtFnvxh_s@9KYX1Sttf?AlI~)z zT=6Y7ulx=}<8Scr_UqU-_z)5gPo%050PsbM*ZLno;_-ow&k?FZJtYmb2hPA$LkP)8 z=^d0Q6PImh6Y|QT?{grxj)S=uBKvY2EQUbm@ns9^yKiP~$DcD)c$5Em`zDSScH%iH zVov&m=cMo`1tYwA=!a}vb_ef_{)Q2?FUqn>BR$6phXQRv^1%=YfyE-F$AR4Q?9D!f zCzB^^#td~4u&l~l#rp2QLfe3+_ub9@+|x+m;=2(sQ`s%gO|j$XBb>A7Q(UydipiMw%igcweV#Cr~SP);q>w`bxts_4} znKHg?X==JDkQl3Y>Ckt%`s{n?Nq-1Fw5~%Mq$CAsi-`yu_bKm zxs#QdE7&vgJD%M84f4SNzSDv)S|V?|$!d5a#lhT5>>YWE4NGqa9-fbmV$=)@k&32kdEYetna>=j@0>V8+wRsL;po!3ivVwh<9tn z2S<1u9DAAQ>x1Sn=fk`)At|quvleV($B|#Kap_lB-F^*yV=wZ{9baUu(uXfokr95^ zA*!*W=5a>$2Ps`-F^+qRQT^{*cN>vipT*4!r#p%{(#I7s z0NN94*q?ib$KJjfDI_sjHNdmEVp5wB&j54O#VoFqBwy)gfA$%)4d_X4q${L9Xom2R3xy&ZBSNgt4a1d7K^CDWa9r zVb-_52m}Vp)`9;ZSKd#|U4ZYj5}Gp49{4utST|=c`~(#>KHF6}CCov1iHYw zt{bWo)A@yF2$~c(nR$rSAaFQ$(Wh{vkG1AlutDMw=mM`C`T=X&|Ad9fb5Od}ROt1z zOpczHqrb4Jo^rSCiW#&o(m7jFamnrsTpQb;*h4o8r#$aZ}2RaT-x2u^^ z%u@YyIv$U^u~@9(XGbSwU@fk6SikH>j+D1jQrYTKGJpW%vUT{!d}7THI5&Sa?~MKy zS0-mvMl+BOcroEJ@hN!2H_?coTEJ5Q<;Nd?yx;eIj4{$$E2?YUO|NtNPJ-PdDf;s} zab;}Mz0kbOI}5*w@3gROcnl#5)wQnEhDBfn!Xhy`u>C}*E~vWpO^HS)FC>8^umI=+ z&H;LW6w#;EF`}vQd_9Muru`KnQVPI9U?(sD)&Dg-0j3#(!fNKVZ_GoYH{la~d*1Yh$TI-TL>mI4vpNb@sU2=IZ8vL%AXUx0 zz{K0|nK(yizLHaeW#ZhRfQXoK^}1$=$#1{Yn002ovPDHLkV1n#w+^+xt literal 0 HcmV?d00001 diff --git a/DialogSampleApp/Resources/layout/dialog_achievements.xml b/DialogSampleApp/Resources/layout/dialog_achievements.xml new file mode 100755 index 0000000..ca566c3 --- /dev/null +++ b/DialogSampleApp/Resources/layout/dialog_achievements.xml @@ -0,0 +1,67 @@ + + + + + + + + + \ No newline at end of file diff --git a/DialogSampleApp/Resources/layout/dialog_boolfieldleft.xml b/DialogSampleApp/Resources/layout/dialog_boolfieldleft.xml new file mode 100755 index 0000000..ce246b5 --- /dev/null +++ b/DialogSampleApp/Resources/layout/dialog_boolfieldleft.xml @@ -0,0 +1,26 @@ + + + + + diff --git a/DialogSampleApp/Resources/layout/dialog_boolfieldright.xml b/DialogSampleApp/Resources/layout/dialog_boolfieldright.xml new file mode 100755 index 0000000..498089c --- /dev/null +++ b/DialogSampleApp/Resources/layout/dialog_boolfieldright.xml @@ -0,0 +1,30 @@ + + + + + \ No newline at end of file diff --git a/DialogSampleApp/Resources/layout/dialog_boolfieldsubleft.xml b/DialogSampleApp/Resources/layout/dialog_boolfieldsubleft.xml new file mode 100755 index 0000000..6cb1925 --- /dev/null +++ b/DialogSampleApp/Resources/layout/dialog_boolfieldsubleft.xml @@ -0,0 +1,46 @@ + + + + + + \ No newline at end of file diff --git a/DialogSampleApp/Resources/layout/dialog_boolfieldsubright.xml b/DialogSampleApp/Resources/layout/dialog_boolfieldsubright.xml new file mode 100755 index 0000000..567e8a1 --- /dev/null +++ b/DialogSampleApp/Resources/layout/dialog_boolfieldsubright.xml @@ -0,0 +1,45 @@ + + + + + + + + \ No newline at end of file diff --git a/DialogSampleApp/Resources/layout/dialog_button.xml b/DialogSampleApp/Resources/layout/dialog_button.xml new file mode 100755 index 0000000..9e6c2ac --- /dev/null +++ b/DialogSampleApp/Resources/layout/dialog_button.xml @@ -0,0 +1,14 @@ + + +