Commit 62cb5c5a authored by Paolo Pecis's avatar Paolo Pecis

Changed UI

parent 3f9c4868
<Properties StartupConfiguration="{784FCD54-187B-4098-BD87-559640B3EA57}|Default">
<MonoDevelop.Ide.Workbench ActiveDocument="CustomViewAccessibility.Android/AndroidAccessibleButton.cs">
<Properties StartupConfiguration="{B0A427EE-702C-4B88-B9C7-4B4D3BCF8F4F}|Default">
<MonoDevelop.Ide.Workbench ActiveDocument="CustomViewAccessibility/App.xaml.cs">
<Files>
<File FileName="CustomViewAccessibility/MainPage.xaml" Line="5" Column="1" />
<File FileName="CustomViewAccessibility/MainPage.xaml.cs" Line="27" Column="10" />
<File FileName="CustomViewAccessibility/MainPage.xaml" Line="3" Column="72" />
<File FileName="CustomViewAccessibility/MainPage.xaml.cs" Line="14" Column="45" />
<File FileName="CustomViewAccessibility.Android/AndroidAccessibleButton.cs" Line="44" Column="3" />
<File FileName="CustomViewAccessibility.iOS/IOSAccessibleButton.cs" />
<File FileName="CustomViewAccessibility.iOS/IOSAccessibleButton.cs" Line="38" Column="3" />
<File FileName="CustomViewAccessibility/IAccessibleButton.cs" />
<File FileName="CustomViewAccessibility.iOS/Info.plist" />
<File FileName="CustomViewAccessibility.iOS/AppDelegate.cs" Line="28" Column="1" />
<File FileName="CustomViewAccessibility/App.xaml.cs" Line="13" Column="57" />
</Files>
<Pads>
<Pad Id="ProjectPad">
......@@ -15,18 +18,19 @@
<Node name="Dependencies" expanded="True">
<Node name="PackageDependencies" expanded="True" />
</Node>
<Node name="MainPage.xaml" expanded="True" />
<Node name="App.xaml" expanded="True">
<Node name="App.xaml.cs" selected="True" />
</Node>
<Node name="CustomViewAccessibility.Android" expanded="True">
<Node name="AndroidAccessibleButton.cs" selected="True" />
<Node name="MainPage.xaml" expanded="True" />
</Node>
<Node name="CustomViewAccessibility.Android" expanded="True" />
<Node name="CustomViewAccessibility.iOS" expanded="True" />
</Node>
</State>
</Pad>
</Pads>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.ItemProperties.CustomViewAccessibility.iOS automaticSigning="False" PreferredExecutionTarget="MonoDevelop.IPhone.IPhoneSimulatorTarget.460FFED4-D83A-483B-AAED-00139629E88A" />
<MonoDevelop.Ide.ItemProperties.CustomViewAccessibility.iOS automaticSigning="False" PreferredExecutionTarget="MonoDevelop.IPhone.IPhoneSimulatorTarget.DC55AF67-93B2-4E7D-8A51-159D9F9D6A06" />
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.DebuggingService.Breakpoints>
......
......@@ -15,7 +15,7 @@ namespace CustomViewAccessibility.Droid
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
public partial class Resource
{
......@@ -224,6 +224,10 @@ namespace CustomViewAccessibility.Droid
global::Xamarin.Forms.Platform.Android.Resource.Animation.design_bottom_sheet_slide_out = global::CustomViewAccessibility.Droid.Resource.Animation.design_bottom_sheet_slide_out;
global::Xamarin.Forms.Platform.Android.Resource.Animation.design_snackbar_in = global::CustomViewAccessibility.Droid.Resource.Animation.design_snackbar_in;
global::Xamarin.Forms.Platform.Android.Resource.Animation.design_snackbar_out = global::CustomViewAccessibility.Droid.Resource.Animation.design_snackbar_out;
global::Xamarin.Forms.Platform.Android.Resource.Animation.EnterFromLeft = global::CustomViewAccessibility.Droid.Resource.Animation.EnterFromLeft;
global::Xamarin.Forms.Platform.Android.Resource.Animation.EnterFromRight = global::CustomViewAccessibility.Droid.Resource.Animation.EnterFromRight;
global::Xamarin.Forms.Platform.Android.Resource.Animation.ExitToLeft = global::CustomViewAccessibility.Droid.Resource.Animation.ExitToLeft;
global::Xamarin.Forms.Platform.Android.Resource.Animation.ExitToRight = global::CustomViewAccessibility.Droid.Resource.Animation.ExitToRight;
global::Xamarin.Forms.Platform.Android.Resource.Animator.design_appbar_state_list_animator = global::CustomViewAccessibility.Droid.Resource.Animator.design_appbar_state_list_animator;
global::Xamarin.Forms.Platform.Android.Resource.Animator.design_fab_hide_motion_spec = global::CustomViewAccessibility.Droid.Resource.Animator.design_fab_hide_motion_spec;
global::Xamarin.Forms.Platform.Android.Resource.Animator.design_fab_show_motion_spec = global::CustomViewAccessibility.Droid.Resource.Animator.design_fab_show_motion_spec;
......@@ -1421,6 +1425,7 @@ namespace CustomViewAccessibility.Droid
global::Xamarin.Forms.Platform.Android.Resource.Layout.abc_search_view = global::CustomViewAccessibility.Droid.Resource.Layout.abc_search_view;
global::Xamarin.Forms.Platform.Android.Resource.Layout.abc_select_dialog_material = global::CustomViewAccessibility.Droid.Resource.Layout.abc_select_dialog_material;
global::Xamarin.Forms.Platform.Android.Resource.Layout.abc_tooltip = global::CustomViewAccessibility.Droid.Resource.Layout.abc_tooltip;
global::Xamarin.Forms.Platform.Android.Resource.Layout.BottomTabLayout = global::CustomViewAccessibility.Droid.Resource.Layout.BottomTabLayout;
global::Xamarin.Forms.Platform.Android.Resource.Layout.design_bottom_navigation_item = global::CustomViewAccessibility.Droid.Resource.Layout.design_bottom_navigation_item;
global::Xamarin.Forms.Platform.Android.Resource.Layout.design_bottom_sheet_dialog = global::CustomViewAccessibility.Droid.Resource.Layout.design_bottom_sheet_dialog;
global::Xamarin.Forms.Platform.Android.Resource.Layout.design_layout_snackbar = global::CustomViewAccessibility.Droid.Resource.Layout.design_layout_snackbar;
......@@ -1435,6 +1440,7 @@ namespace CustomViewAccessibility.Droid
global::Xamarin.Forms.Platform.Android.Resource.Layout.design_navigation_menu = global::CustomViewAccessibility.Droid.Resource.Layout.design_navigation_menu;
global::Xamarin.Forms.Platform.Android.Resource.Layout.design_navigation_menu_item = global::CustomViewAccessibility.Droid.Resource.Layout.design_navigation_menu_item;
global::Xamarin.Forms.Platform.Android.Resource.Layout.design_text_input_password_icon = global::CustomViewAccessibility.Droid.Resource.Layout.design_text_input_password_icon;
global::Xamarin.Forms.Platform.Android.Resource.Layout.FlyoutContent = global::CustomViewAccessibility.Droid.Resource.Layout.FlyoutContent;
global::Xamarin.Forms.Platform.Android.Resource.Layout.mtrl_layout_snackbar = global::CustomViewAccessibility.Droid.Resource.Layout.mtrl_layout_snackbar;
global::Xamarin.Forms.Platform.Android.Resource.Layout.mtrl_layout_snackbar_include = global::CustomViewAccessibility.Droid.Resource.Layout.mtrl_layout_snackbar_include;
global::Xamarin.Forms.Platform.Android.Resource.Layout.notification_action = global::CustomViewAccessibility.Droid.Resource.Layout.notification_action;
......@@ -1452,9 +1458,11 @@ namespace CustomViewAccessibility.Droid
global::Xamarin.Forms.Platform.Android.Resource.Layout.notification_template_media_custom = global::CustomViewAccessibility.Droid.Resource.Layout.notification_template_media_custom;
global::Xamarin.Forms.Platform.Android.Resource.Layout.notification_template_part_chronometer = global::CustomViewAccessibility.Droid.Resource.Layout.notification_template_part_chronometer;
global::Xamarin.Forms.Platform.Android.Resource.Layout.notification_template_part_time = global::CustomViewAccessibility.Droid.Resource.Layout.notification_template_part_time;
global::Xamarin.Forms.Platform.Android.Resource.Layout.RootLayout = global::CustomViewAccessibility.Droid.Resource.Layout.RootLayout;
global::Xamarin.Forms.Platform.Android.Resource.Layout.select_dialog_item_material = global::CustomViewAccessibility.Droid.Resource.Layout.select_dialog_item_material;
global::Xamarin.Forms.Platform.Android.Resource.Layout.select_dialog_multichoice_material = global::CustomViewAccessibility.Droid.Resource.Layout.select_dialog_multichoice_material;
global::Xamarin.Forms.Platform.Android.Resource.Layout.select_dialog_singlechoice_material = global::CustomViewAccessibility.Droid.Resource.Layout.select_dialog_singlechoice_material;
global::Xamarin.Forms.Platform.Android.Resource.Layout.ShellContent = global::CustomViewAccessibility.Droid.Resource.Layout.ShellContent;
global::Xamarin.Forms.Platform.Android.Resource.Layout.support_simple_spinner_dropdown_item = global::CustomViewAccessibility.Droid.Resource.Layout.support_simple_spinner_dropdown_item;
global::Xamarin.Forms.Platform.Android.Resource.String.abc_action_bar_home_description = global::CustomViewAccessibility.Droid.Resource.String.abc_action_bar_home_description;
global::Xamarin.Forms.Platform.Android.Resource.String.abc_action_bar_up_description = global::CustomViewAccessibility.Droid.Resource.String.abc_action_bar_up_description;
......@@ -2817,16 +2825,16 @@ namespace CustomViewAccessibility.Droid
public const int design_snackbar_out = 2130771983;
// aapt resource value: 0x7F010010
public const int enterfromleft = 2130771984;
public const int EnterFromLeft = 2130771984;
// aapt resource value: 0x7F010011
public const int enterfromright = 2130771985;
public const int EnterFromRight = 2130771985;
// aapt resource value: 0x7F010012
public const int exittoleft = 2130771986;
public const int ExitToLeft = 2130771986;
// aapt resource value: 0x7F010013
public const int exittoright = 2130771987;
public const int ExitToRight = 2130771987;
static Animation()
{
......@@ -6601,7 +6609,7 @@ namespace CustomViewAccessibility.Droid
public const int abc_tooltip = 2131427355;
// aapt resource value: 0x7F0B001C
public const int bottomtablayout = 2131427356;
public const int BottomTabLayout = 2131427356;
// aapt resource value: 0x7F0B001D
public const int browser_actions_context_menu_page = 2131427357;
......@@ -6652,7 +6660,7 @@ namespace CustomViewAccessibility.Droid
public const int design_text_input_password_icon = 2131427372;
// aapt resource value: 0x7F0B002D
public const int flyoutcontent = 2131427373;
public const int FlyoutContent = 2131427373;
// aapt resource value: 0x7F0B002E
public const int mtrl_layout_snackbar = 2131427374;
......@@ -6706,7 +6714,7 @@ namespace CustomViewAccessibility.Droid
public const int notification_template_part_time = 2131427390;
// aapt resource value: 0x7F0B003F
public const int rootlayout = 2131427391;
public const int RootLayout = 2131427391;
// aapt resource value: 0x7F0B0040
public const int select_dialog_item_material = 2131427392;
......@@ -6718,7 +6726,7 @@ namespace CustomViewAccessibility.Droid
public const int select_dialog_singlechoice_material = 2131427394;
// aapt resource value: 0x7F0B0043
public const int shellcontent = 2131427395;
public const int ShellContent = 2131427395;
// aapt resource value: 0x7F0B0044
public const int support_simple_spinner_dropdown_item = 2131427396;
......
......@@ -26,6 +26,8 @@
<MtouchArch>x86_64</MtouchArch>
<MtouchLink>None</MtouchLink>
<MtouchDebug>true</MtouchDebug>
<CodesignProvision>iOS Team Provisioning Profile: com.example.iOSCustomAction1</CodesignProvision>
<CodesignKey>Apple Development: paolo.pecis@gmail.com (8N32384RK9)</CodesignKey>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>none</DebugType>
......
......@@ -25,7 +25,7 @@
<key>CFBundleDisplayName</key>
<string>CustomViewAccessibility</string>
<key>CFBundleIdentifier</key>
<string>com.onobytes.DeviceTest</string>
<string>com.example.iOSCustomAction1</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>UILaunchStoryboardName</key>
......
......@@ -10,7 +10,7 @@ namespace CustomViewAccessibility
{
InitializeComponent();
MainPage = new MainPage();
MainPage = new NavigationPage(new MainPage());
}
protected override void OnStart()
......
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="CustomViewAccessibility.MainPage">
<StackLayout x:Name="stacklayout">
<StackLayout x:Name="stacklayout" VerticalOptions="CenterAndExpand">
<!-- Place new controls here -->
</StackLayout>
</ContentPage>
\ No newline at end of file
......@@ -11,16 +11,20 @@ namespace CustomViewAccessibility
public MainPage()
{
InitializeComponent();
Title = "XAMARINAccessibleView";
Button notAccessibleButton = new Button
{
Text = "USELESS BUTTON",
BackgroundColor = Color.Gray,
BackgroundColor = Color.LightGray,
};
stacklayout.Children.Add(notAccessibleButton);
IAccessibleButton accessibleButton = new IAccessibleButton();
accessibleButton.Text = "NOT IN FOCUS";
IAccessibleButton accessibleButton = new IAccessibleButton
{
Text = "NOT IN FOCUS",
TextColor = Color.Black,
};
AutomationProperties.SetIsInAccessibleTree(accessibleButton, true);
stacklayout.Children.Add(accessibleButton);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment