Commit d40e6438 authored by Mattia's avatar Mattia

update fun5

parent 25a970e3
using System;
using System.Threading.Tasks;
using Android.Content;
using Android.Views.Accessibility;
using SampleApp.CustomRenderers;
using SampleApp.Droid;
using Android.Views;
using fun5.Droid;
using SampleApp.DependencyServices;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(CustomLabel), typeof(AndroidHasFocus))]
namespace SampleApp.Droid
[assembly: Dependency(typeof(focusAndroid))]
namespace fun5.Droid
{
public class AndroidHasFocus : LabelRenderer
public class focusAndroid : IIsFocused
{
Context context;
public AndroidHasFocus(Context context) : base(context)
{
this.context = context;
}
protected override void OnElementChanged(ElementChangedEventArgs<Label> e)
{
base.OnElementChanged(e);
if(Control != null)
public bool isFocused(Xamarin.Forms.View v)
{
Task.Delay(3000).ContinueWith((arg) =>
{
Device.BeginInvokeOnMainThread(() => {
if (Control.IsAccessibilityFocused)
{
Control.Text = "Focus";
Console.WriteLine("focus");
}
else
{
Control.Text = "Not in focus";
Console.WriteLine("Not in focus");
return v.GetRenderer().View.IsAccessibilityFocused;
}
});
});
}
}
}
}
\ No newline at end of file
......@@ -575,6 +575,7 @@ namespace SampleApp.Droid
global::Xamarin.Forms.Platform.Android.Resource.Attribute.scrimAnimationDuration = global::SampleApp.Droid.Resource.Attribute.scrimAnimationDuration;
global::Xamarin.Forms.Platform.Android.Resource.Attribute.scrimBackground = global::SampleApp.Droid.Resource.Attribute.scrimBackground;
global::Xamarin.Forms.Platform.Android.Resource.Attribute.scrimVisibleHeightTrigger = global::SampleApp.Droid.Resource.Attribute.scrimVisibleHeightTrigger;
global::Xamarin.Forms.Platform.Android.Resource.Attribute.scrollViewStyle = global::SampleApp.Droid.Resource.Attribute.scrollViewStyle;
global::Xamarin.Forms.Platform.Android.Resource.Attribute.searchHintIcon = global::SampleApp.Droid.Resource.Attribute.searchHintIcon;
global::Xamarin.Forms.Platform.Android.Resource.Attribute.searchIcon = global::SampleApp.Droid.Resource.Attribute.searchIcon;
global::Xamarin.Forms.Platform.Android.Resource.Attribute.searchViewStyle = global::SampleApp.Droid.Resource.Attribute.searchViewStyle;
......@@ -1511,6 +1512,7 @@ namespace SampleApp.Droid
global::Xamarin.Forms.Platform.Android.Resource.String.fab_transformation_sheet_behavior = global::SampleApp.Droid.Resource.String.fab_transformation_sheet_behavior;
global::Xamarin.Forms.Platform.Android.Resource.String.hide_bottom_view_on_scroll_behavior = global::SampleApp.Droid.Resource.String.hide_bottom_view_on_scroll_behavior;
global::Xamarin.Forms.Platform.Android.Resource.String.mtrl_chip_close_icon_content_description = global::SampleApp.Droid.Resource.String.mtrl_chip_close_icon_content_description;
global::Xamarin.Forms.Platform.Android.Resource.String.overflow_tab_title = global::SampleApp.Droid.Resource.String.overflow_tab_title;
global::Xamarin.Forms.Platform.Android.Resource.String.password_toggle_content_description = global::SampleApp.Droid.Resource.String.password_toggle_content_description;
global::Xamarin.Forms.Platform.Android.Resource.String.path_password_eye = global::SampleApp.Droid.Resource.String.path_password_eye;
global::Xamarin.Forms.Platform.Android.Resource.String.path_password_eye_mask_strike_through = global::SampleApp.Droid.Resource.String.path_password_eye_mask_strike_through;
......@@ -1716,7 +1718,6 @@ namespace SampleApp.Droid
global::Xamarin.Forms.Platform.Android.Resource.Style.CardView = global::SampleApp.Droid.Resource.Style.CardView;
global::Xamarin.Forms.Platform.Android.Resource.Style.CardView_Dark = global::SampleApp.Droid.Resource.Style.CardView_Dark;
global::Xamarin.Forms.Platform.Android.Resource.Style.CardView_Light = global::SampleApp.Droid.Resource.Style.CardView_Light;
global::Xamarin.Forms.Platform.Android.Resource.Style.collectionViewScrollBars = global::SampleApp.Droid.Resource.Style.collectionViewScrollBars;
global::Xamarin.Forms.Platform.Android.Resource.Style.collectionViewTheme = global::SampleApp.Droid.Resource.Style.collectionViewTheme;
global::Xamarin.Forms.Platform.Android.Resource.Style.MainTheme = global::SampleApp.Droid.Resource.Style.MainTheme;
global::Xamarin.Forms.Platform.Android.Resource.Style.MainTheme_Base = global::SampleApp.Droid.Resource.Style.MainTheme_Base;
......@@ -1751,6 +1752,8 @@ namespace SampleApp.Droid
global::Xamarin.Forms.Platform.Android.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Text = global::SampleApp.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Text;
global::Xamarin.Forms.Platform.Android.Resource.Style.RtlUnderlay_Widget_AppCompat_ActionButton = global::SampleApp.Droid.Resource.Style.RtlUnderlay_Widget_AppCompat_ActionButton;
global::Xamarin.Forms.Platform.Android.Resource.Style.RtlUnderlay_Widget_AppCompat_ActionButton_Overflow = global::SampleApp.Droid.Resource.Style.RtlUnderlay_Widget_AppCompat_ActionButton_Overflow;
global::Xamarin.Forms.Platform.Android.Resource.Style.scrollViewScrollBars = global::SampleApp.Droid.Resource.Style.scrollViewScrollBars;
global::Xamarin.Forms.Platform.Android.Resource.Style.scrollViewTheme = global::SampleApp.Droid.Resource.Style.scrollViewTheme;
global::Xamarin.Forms.Platform.Android.Resource.Style.TextAppearance_AppCompat = global::SampleApp.Droid.Resource.Style.TextAppearance_AppCompat;
global::Xamarin.Forms.Platform.Android.Resource.Style.TextAppearance_AppCompat_Body1 = global::SampleApp.Droid.Resource.Style.TextAppearance_AppCompat_Body1;
global::Xamarin.Forms.Platform.Android.Resource.Style.TextAppearance_AppCompat_Body2 = global::SampleApp.Droid.Resource.Style.TextAppearance_AppCompat_Body2;
......@@ -2600,6 +2603,8 @@ namespace SampleApp.Droid
global::Xamarin.Forms.Platform.Android.Resource.Styleable.ScrimInsetsFrameLayout_insetForeground = global::SampleApp.Droid.Resource.Styleable.ScrimInsetsFrameLayout_insetForeground;
global::Xamarin.Forms.Platform.Android.Resource.Styleable.ScrollingViewBehavior_Layout = global::SampleApp.Droid.Resource.Styleable.ScrollingViewBehavior_Layout;
global::Xamarin.Forms.Platform.Android.Resource.Styleable.ScrollingViewBehavior_Layout_behavior_overlapTop = global::SampleApp.Droid.Resource.Styleable.ScrollingViewBehavior_Layout_behavior_overlapTop;
global::Xamarin.Forms.Platform.Android.Resource.Styleable.ScrollViewRendererTheme = global::SampleApp.Droid.Resource.Styleable.ScrollViewRendererTheme;
global::Xamarin.Forms.Platform.Android.Resource.Styleable.ScrollViewRendererTheme_scrollViewStyle = global::SampleApp.Droid.Resource.Styleable.ScrollViewRendererTheme_scrollViewStyle;
global::Xamarin.Forms.Platform.Android.Resource.Styleable.SearchView = global::SampleApp.Droid.Resource.Styleable.SearchView;
global::Xamarin.Forms.Platform.Android.Resource.Styleable.SearchView_android_focusable = global::SampleApp.Droid.Resource.Styleable.SearchView_android_focusable;
global::Xamarin.Forms.Platform.Android.Resource.Styleable.SearchView_android_imeOptions = global::SampleApp.Droid.Resource.Styleable.SearchView_android_imeOptions;
......@@ -3144,6 +3149,7 @@ namespace SampleApp.Droid
global::Xamarin.Forms.Platform.Resource.Attribute.scrimAnimationDuration = global::SampleApp.Droid.Resource.Attribute.scrimAnimationDuration;
global::Xamarin.Forms.Platform.Resource.Attribute.scrimBackground = global::SampleApp.Droid.Resource.Attribute.scrimBackground;
global::Xamarin.Forms.Platform.Resource.Attribute.scrimVisibleHeightTrigger = global::SampleApp.Droid.Resource.Attribute.scrimVisibleHeightTrigger;
global::Xamarin.Forms.Platform.Resource.Attribute.scrollViewStyle = global::SampleApp.Droid.Resource.Attribute.scrollViewStyle;
global::Xamarin.Forms.Platform.Resource.Attribute.searchHintIcon = global::SampleApp.Droid.Resource.Attribute.searchHintIcon;
global::Xamarin.Forms.Platform.Resource.Attribute.searchIcon = global::SampleApp.Droid.Resource.Attribute.searchIcon;
global::Xamarin.Forms.Platform.Resource.Attribute.searchViewStyle = global::SampleApp.Droid.Resource.Attribute.searchViewStyle;
......@@ -4080,6 +4086,7 @@ namespace SampleApp.Droid
global::Xamarin.Forms.Platform.Resource.String.fab_transformation_sheet_behavior = global::SampleApp.Droid.Resource.String.fab_transformation_sheet_behavior;
global::Xamarin.Forms.Platform.Resource.String.hide_bottom_view_on_scroll_behavior = global::SampleApp.Droid.Resource.String.hide_bottom_view_on_scroll_behavior;
global::Xamarin.Forms.Platform.Resource.String.mtrl_chip_close_icon_content_description = global::SampleApp.Droid.Resource.String.mtrl_chip_close_icon_content_description;
global::Xamarin.Forms.Platform.Resource.String.overflow_tab_title = global::SampleApp.Droid.Resource.String.overflow_tab_title;
global::Xamarin.Forms.Platform.Resource.String.password_toggle_content_description = global::SampleApp.Droid.Resource.String.password_toggle_content_description;
global::Xamarin.Forms.Platform.Resource.String.path_password_eye = global::SampleApp.Droid.Resource.String.path_password_eye;
global::Xamarin.Forms.Platform.Resource.String.path_password_eye_mask_strike_through = global::SampleApp.Droid.Resource.String.path_password_eye_mask_strike_through;
......@@ -4285,7 +4292,6 @@ namespace SampleApp.Droid
global::Xamarin.Forms.Platform.Resource.Style.CardView = global::SampleApp.Droid.Resource.Style.CardView;
global::Xamarin.Forms.Platform.Resource.Style.CardView_Dark = global::SampleApp.Droid.Resource.Style.CardView_Dark;
global::Xamarin.Forms.Platform.Resource.Style.CardView_Light = global::SampleApp.Droid.Resource.Style.CardView_Light;
global::Xamarin.Forms.Platform.Resource.Style.collectionViewScrollBars = global::SampleApp.Droid.Resource.Style.collectionViewScrollBars;
global::Xamarin.Forms.Platform.Resource.Style.collectionViewTheme = global::SampleApp.Droid.Resource.Style.collectionViewTheme;
global::Xamarin.Forms.Platform.Resource.Style.MainTheme = global::SampleApp.Droid.Resource.Style.MainTheme;
global::Xamarin.Forms.Platform.Resource.Style.MainTheme_Base = global::SampleApp.Droid.Resource.Style.MainTheme_Base;
......@@ -4320,6 +4326,8 @@ namespace SampleApp.Droid
global::Xamarin.Forms.Platform.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Text = global::SampleApp.Droid.Resource.Style.RtlOverlay_Widget_AppCompat_Search_DropDown_Text;
global::Xamarin.Forms.Platform.Resource.Style.RtlUnderlay_Widget_AppCompat_ActionButton = global::SampleApp.Droid.Resource.Style.RtlUnderlay_Widget_AppCompat_ActionButton;
global::Xamarin.Forms.Platform.Resource.Style.RtlUnderlay_Widget_AppCompat_ActionButton_Overflow = global::SampleApp.Droid.Resource.Style.RtlUnderlay_Widget_AppCompat_ActionButton_Overflow;
global::Xamarin.Forms.Platform.Resource.Style.scrollViewScrollBars = global::SampleApp.Droid.Resource.Style.scrollViewScrollBars;
global::Xamarin.Forms.Platform.Resource.Style.scrollViewTheme = global::SampleApp.Droid.Resource.Style.scrollViewTheme;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat = global::SampleApp.Droid.Resource.Style.TextAppearance_AppCompat;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Body1 = global::SampleApp.Droid.Resource.Style.TextAppearance_AppCompat_Body1;
global::Xamarin.Forms.Platform.Resource.Style.TextAppearance_AppCompat_Body2 = global::SampleApp.Droid.Resource.Style.TextAppearance_AppCompat_Body2;
......@@ -5169,6 +5177,8 @@ namespace SampleApp.Droid
global::Xamarin.Forms.Platform.Resource.Styleable.ScrimInsetsFrameLayout_insetForeground = global::SampleApp.Droid.Resource.Styleable.ScrimInsetsFrameLayout_insetForeground;
global::Xamarin.Forms.Platform.Resource.Styleable.ScrollingViewBehavior_Layout = global::SampleApp.Droid.Resource.Styleable.ScrollingViewBehavior_Layout;
global::Xamarin.Forms.Platform.Resource.Styleable.ScrollingViewBehavior_Layout_behavior_overlapTop = global::SampleApp.Droid.Resource.Styleable.ScrollingViewBehavior_Layout_behavior_overlapTop;
global::Xamarin.Forms.Platform.Resource.Styleable.ScrollViewRendererTheme = global::SampleApp.Droid.Resource.Styleable.ScrollViewRendererTheme;
global::Xamarin.Forms.Platform.Resource.Styleable.ScrollViewRendererTheme_scrollViewStyle = global::SampleApp.Droid.Resource.Styleable.ScrollViewRendererTheme_scrollViewStyle;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView = global::SampleApp.Droid.Resource.Styleable.SearchView;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_android_focusable = global::SampleApp.Droid.Resource.Styleable.SearchView_android_focusable;
global::Xamarin.Forms.Platform.Resource.Styleable.SearchView_android_imeOptions = global::SampleApp.Droid.Resource.Styleable.SearchView_android_imeOptions;
......@@ -6481,424 +6491,427 @@ namespace SampleApp.Droid
public const int scrimVisibleHeightTrigger = 2130903377;
// aapt resource value: 0x7F030152
public const int searchHintIcon = 2130903378;
public const int scrollViewStyle = 2130903378;
// aapt resource value: 0x7F030153
public const int searchIcon = 2130903379;
public const int searchHintIcon = 2130903379;
// aapt resource value: 0x7F030154
public const int searchViewStyle = 2130903380;
public const int searchIcon = 2130903380;
// aapt resource value: 0x7F030155
public const int seekBarStyle = 2130903381;
public const int searchViewStyle = 2130903381;
// aapt resource value: 0x7F030156
public const int selectableItemBackground = 2130903382;
public const int seekBarStyle = 2130903382;
// aapt resource value: 0x7F030157
public const int selectableItemBackgroundBorderless = 2130903383;
public const int selectableItemBackground = 2130903383;
// aapt resource value: 0x7F030158
public const int showAsAction = 2130903384;
public const int selectableItemBackgroundBorderless = 2130903384;
// aapt resource value: 0x7F030159
public const int showDividers = 2130903385;
public const int showAsAction = 2130903385;
// aapt resource value: 0x7F03015A
public const int showMotionSpec = 2130903386;
public const int showDividers = 2130903386;
// aapt resource value: 0x7F03015B
public const int showText = 2130903387;
public const int showMotionSpec = 2130903387;
// aapt resource value: 0x7F03015C
public const int showTitle = 2130903388;
public const int showText = 2130903388;
// aapt resource value: 0x7F03015D
public const int singleChoiceItemLayout = 2130903389;
public const int showTitle = 2130903389;
// aapt resource value: 0x7F03015E
public const int singleLine = 2130903390;
public const int singleChoiceItemLayout = 2130903390;
// aapt resource value: 0x7F03015F
public const int singleSelection = 2130903391;
public const int singleLine = 2130903391;
// aapt resource value: 0x7F030160
public const int snackbarButtonStyle = 2130903392;
public const int singleSelection = 2130903392;
// aapt resource value: 0x7F030161
public const int snackbarStyle = 2130903393;
public const int snackbarButtonStyle = 2130903393;
// aapt resource value: 0x7F030162
public const int spanCount = 2130903394;
public const int snackbarStyle = 2130903394;
// aapt resource value: 0x7F030163
public const int spinBars = 2130903395;
public const int spanCount = 2130903395;
// aapt resource value: 0x7F030164
public const int spinnerDropDownItemStyle = 2130903396;
public const int spinBars = 2130903396;
// aapt resource value: 0x7F030165
public const int spinnerStyle = 2130903397;
public const int spinnerDropDownItemStyle = 2130903397;
// aapt resource value: 0x7F030166
public const int splitTrack = 2130903398;
public const int spinnerStyle = 2130903398;
// aapt resource value: 0x7F030167
public const int srcCompat = 2130903399;
public const int splitTrack = 2130903399;
// aapt resource value: 0x7F030168
public const int stackFromEnd = 2130903400;
public const int srcCompat = 2130903400;
// aapt resource value: 0x7F030169
public const int state_above_anchor = 2130903401;
public const int stackFromEnd = 2130903401;
// aapt resource value: 0x7F03016A
public const int state_collapsed = 2130903402;
public const int state_above_anchor = 2130903402;
// aapt resource value: 0x7F03016B
public const int state_collapsible = 2130903403;
public const int state_collapsed = 2130903403;
// aapt resource value: 0x7F03016C
public const int state_liftable = 2130903404;
public const int state_collapsible = 2130903404;
// aapt resource value: 0x7F03016D
public const int state_lifted = 2130903405;
public const int state_liftable = 2130903405;
// aapt resource value: 0x7F03016E
public const int statusBarBackground = 2130903406;
public const int state_lifted = 2130903406;
// aapt resource value: 0x7F03016F
public const int statusBarScrim = 2130903407;
public const int statusBarBackground = 2130903407;
// aapt resource value: 0x7F030170
public const int strokeColor = 2130903408;
public const int statusBarScrim = 2130903408;
// aapt resource value: 0x7F030171
public const int strokeWidth = 2130903409;
public const int strokeColor = 2130903409;
// aapt resource value: 0x7F030172
public const int subMenuArrow = 2130903410;
public const int strokeWidth = 2130903410;
// aapt resource value: 0x7F030173
public const int submitBackground = 2130903411;
public const int subMenuArrow = 2130903411;
// aapt resource value: 0x7F030174
public const int subtitle = 2130903412;
public const int submitBackground = 2130903412;
// aapt resource value: 0x7F030175
public const int subtitleTextAppearance = 2130903413;
public const int subtitle = 2130903413;
// aapt resource value: 0x7F030176
public const int subtitleTextColor = 2130903414;
public const int subtitleTextAppearance = 2130903414;
// aapt resource value: 0x7F030177
public const int subtitleTextStyle = 2130903415;
public const int subtitleTextColor = 2130903415;
// aapt resource value: 0x7F030178
public const int suggestionRowLayout = 2130903416;
public const int subtitleTextStyle = 2130903416;
// aapt resource value: 0x7F030179
public const int switchMinWidth = 2130903417;
public const int suggestionRowLayout = 2130903417;
// aapt resource value: 0x7F03017A
public const int switchPadding = 2130903418;
public const int switchMinWidth = 2130903418;
// aapt resource value: 0x7F03017B
public const int switchStyle = 2130903419;
public const int switchPadding = 2130903419;
// aapt resource value: 0x7F03017C
public const int switchTextAppearance = 2130903420;
public const int switchStyle = 2130903420;
// aapt resource value: 0x7F03017D
public const int tabBackground = 2130903421;
public const int switchTextAppearance = 2130903421;
// aapt resource value: 0x7F03017E
public const int tabContentStart = 2130903422;
public const int tabBackground = 2130903422;
// aapt resource value: 0x7F03017F
public const int tabGravity = 2130903423;
public const int tabContentStart = 2130903423;
// aapt resource value: 0x7F030180
public const int tabIconTint = 2130903424;
public const int tabGravity = 2130903424;
// aapt resource value: 0x7F030181
public const int tabIconTintMode = 2130903425;
public const int tabIconTint = 2130903425;
// aapt resource value: 0x7F030182
public const int tabIndicator = 2130903426;
public const int tabIconTintMode = 2130903426;
// aapt resource value: 0x7F030183
public const int tabIndicatorAnimationDuration = 2130903427;
public const int tabIndicator = 2130903427;
// aapt resource value: 0x7F030184
public const int tabIndicatorColor = 2130903428;
public const int tabIndicatorAnimationDuration = 2130903428;
// aapt resource value: 0x7F030185
public const int tabIndicatorFullWidth = 2130903429;
public const int tabIndicatorColor = 2130903429;
// aapt resource value: 0x7F030186
public const int tabIndicatorGravity = 2130903430;
public const int tabIndicatorFullWidth = 2130903430;
// aapt resource value: 0x7F030187
public const int tabIndicatorHeight = 2130903431;
public const int tabIndicatorGravity = 2130903431;
// aapt resource value: 0x7F030188
public const int tabInlineLabel = 2130903432;
public const int tabIndicatorHeight = 2130903432;
// aapt resource value: 0x7F030189
public const int tabMaxWidth = 2130903433;
public const int tabInlineLabel = 2130903433;
// aapt resource value: 0x7F03018A
public const int tabMinWidth = 2130903434;
public const int tabMaxWidth = 2130903434;
// aapt resource value: 0x7F03018B
public const int tabMode = 2130903435;
public const int tabMinWidth = 2130903435;
// aapt resource value: 0x7F03018C
public const int tabPadding = 2130903436;
public const int tabMode = 2130903436;
// aapt resource value: 0x7F03018D
public const int tabPaddingBottom = 2130903437;
public const int tabPadding = 2130903437;
// aapt resource value: 0x7F03018E
public const int tabPaddingEnd = 2130903438;
public const int tabPaddingBottom = 2130903438;
// aapt resource value: 0x7F03018F
public const int tabPaddingStart = 2130903439;
public const int tabPaddingEnd = 2130903439;
// aapt resource value: 0x7F030190
public const int tabPaddingTop = 2130903440;
public const int tabPaddingStart = 2130903440;
// aapt resource value: 0x7F030191
public const int tabRippleColor = 2130903441;
public const int tabPaddingTop = 2130903441;
// aapt resource value: 0x7F030192
public const int tabSelectedTextColor = 2130903442;
public const int tabRippleColor = 2130903442;
// aapt resource value: 0x7F030193
public const int tabStyle = 2130903443;
public const int tabSelectedTextColor = 2130903443;
// aapt resource value: 0x7F030194
public const int tabTextAppearance = 2130903444;
public const int tabStyle = 2130903444;
// aapt resource value: 0x7F030195
public const int tabTextColor = 2130903445;
public const int tabTextAppearance = 2130903445;
// aapt resource value: 0x7F030196
public const int tabUnboundedRipple = 2130903446;
public const int tabTextColor = 2130903446;
// aapt resource value: 0x7F030197
public const int textAllCaps = 2130903447;
public const int tabUnboundedRipple = 2130903447;
// aapt resource value: 0x7F030198
public const int textAppearanceBody1 = 2130903448;
public const int textAllCaps = 2130903448;
// aapt resource value: 0x7F030199
public const int textAppearanceBody2 = 2130903449;
public const int textAppearanceBody1 = 2130903449;
// aapt resource value: 0x7F03019A
public const int textAppearanceButton = 2130903450;
public const int textAppearanceBody2 = 2130903450;
// aapt resource value: 0x7F03019B
public const int textAppearanceCaption = 2130903451;
public const int textAppearanceButton = 2130903451;
// aapt resource value: 0x7F03019C
public const int textAppearanceHeadline1 = 2130903452;
public const int textAppearanceCaption = 2130903452;
// aapt resource value: 0x7F03019D
public const int textAppearanceHeadline2 = 2130903453;
public const int textAppearanceHeadline1 = 2130903453;
// aapt resource value: 0x7F03019E
public const int textAppearanceHeadline3 = 2130903454;
public const int textAppearanceHeadline2 = 2130903454;
// aapt resource value: 0x7F03019F
public const int textAppearanceHeadline4 = 2130903455;
public const int textAppearanceHeadline3 = 2130903455;
// aapt resource value: 0x7F0301A0
public const int textAppearanceHeadline5 = 2130903456;
public const int textAppearanceHeadline4 = 2130903456;
// aapt resource value: 0x7F0301A1
public const int textAppearanceHeadline6 = 2130903457;
public const int textAppearanceHeadline5 = 2130903457;
// aapt resource value: 0x7F0301A2
public const int textAppearanceLargePopupMenu = 2130903458;
public const int textAppearanceHeadline6 = 2130903458;
// aapt resource value: 0x7F0301A3
public const int textAppearanceListItem = 2130903459;
public const int textAppearanceLargePopupMenu = 2130903459;
// aapt resource value: 0x7F0301A4
public const int textAppearanceListItemSecondary = 2130903460;
public const int textAppearanceListItem = 2130903460;
// aapt resource value: 0x7F0301A5
public const int textAppearanceListItemSmall = 2130903461;
public const int textAppearanceListItemSecondary = 2130903461;
// aapt resource value: 0x7F0301A6
public const int textAppearanceOverline = 2130903462;
public const int textAppearanceListItemSmall = 2130903462;
// aapt resource value: 0x7F0301A7
public const int textAppearancePopupMenuHeader = 2130903463;
public const int textAppearanceOverline = 2130903463;
// aapt resource value: 0x7F0301A8
public const int textAppearanceSearchResultSubtitle = 2130903464;
public const int textAppearancePopupMenuHeader = 2130903464;
// aapt resource value: 0x7F0301A9
public const int textAppearanceSearchResultTitle = 2130903465;
public const int textAppearanceSearchResultSubtitle = 2130903465;
// aapt resource value: 0x7F0301AA
public const int textAppearanceSmallPopupMenu = 2130903466;
public const int textAppearanceSearchResultTitle = 2130903466;
// aapt resource value: 0x7F0301AB
public const int textAppearanceSubtitle1 = 2130903467;
public const int textAppearanceSmallPopupMenu = 2130903467;
// aapt resource value: 0x7F0301AC
public const int textAppearanceSubtitle2 = 2130903468;
public const int textAppearanceSubtitle1 = 2130903468;
// aapt resource value: 0x7F0301AD
public const int textColorAlertDialogListItem = 2130903469;
public const int textAppearanceSubtitle2 = 2130903469;
// aapt resource value: 0x7F0301AE
public const int textColorSearchUrl = 2130903470;
public const int textColorAlertDialogListItem = 2130903470;
// aapt resource value: 0x7F0301AF
public const int textEndPadding = 2130903471;
public const int textColorSearchUrl = 2130903471;
// aapt resource value: 0x7F0301B0
public const int textInputStyle = 2130903472;
public const int textEndPadding = 2130903472;
// aapt resource value: 0x7F0301B1
public const int textStartPadding = 2130903473;
public const int textInputStyle = 2130903473;
// aapt resource value: 0x7F0301B2
public const int theme = 2130903474;
public const int textStartPadding = 2130903474;
// aapt resource value: 0x7F0301B3
public const int thickness = 2130903475;
public const int theme = 2130903475;
// aapt resource value: 0x7F0301B4
public const int thumbTextPadding = 2130903476;
public const int thickness = 2130903476;
// aapt resource value: 0x7F0301B5
public const int thumbTint = 2130903477;
public const int thumbTextPadding = 2130903477;
// aapt resource value: 0x7F0301B6
public const int thumbTintMode = 2130903478;
public const int thumbTint = 2130903478;
// aapt resource value: 0x7F0301B7
public const int tickMark = 2130903479;
public const int thumbTintMode = 2130903479;
// aapt resource value: 0x7F0301B8
public const int tickMarkTint = 2130903480;
public const int tickMark = 2130903480;
// aapt resource value: 0x7F0301B9
public const int tickMarkTintMode = 2130903481;
public const int tickMarkTint = 2130903481;
// aapt resource value: 0x7F0301BA
public const int tint = 2130903482;
public const int tickMarkTintMode = 2130903482;
// aapt resource value: 0x7F0301BB
public const int tintMode = 2130903483;
public const int tint = 2130903483;
// aapt resource value: 0x7F0301BC
public const int title = 2130903484;
public const int tintMode = 2130903484;
// aapt resource value: 0x7F0301BD
public const int titleEnabled = 2130903485;
public const int title = 2130903485;
// aapt resource value: 0x7F0301BE
public const int titleMargin = 2130903486;
public const int titleEnabled = 2130903486;
// aapt resource value: 0x7F0301BF
public const int titleMarginBottom = 2130903487;
public const int titleMargin = 2130903487;
// aapt resource value: 0x7F0301C0
public const int titleMarginEnd = 2130903488;
// aapt resource value: 0x7F0301C3
public const int titleMargins = 2130903491;
public const int titleMarginBottom = 2130903488;
// aapt resource value: 0x7F0301C1
public const int titleMarginStart = 2130903489;
public const int titleMarginEnd = 2130903489;
// aapt resource value: 0x7F0301C4
public const int titleMargins = 2130903492;
// aapt resource value: 0x7F0301C2
public const int titleMarginTop = 2130903490;
public const int titleMarginStart = 2130903490;
// aapt resource value: 0x7F0301C4
public const int titleTextAppearance = 2130903492;
// aapt resource value: 0x7F0301C3
public const int titleMarginTop = 2130903491;
// aapt resource value: 0x7F0301C5
public const int titleTextColor = 2130903493;
public const int titleTextAppearance = 2130903493;
// aapt resource value: 0x7F0301C6
public const int titleTextStyle = 2130903494;
public const int titleTextColor = 2130903494;
// aapt resource value: 0x7F0301C7
public const int toolbarId = 2130903495;
public const int titleTextStyle = 2130903495;
// aapt resource value: 0x7F0301C8
public const int toolbarNavigationButtonStyle = 2130903496;
public const int toolbarId = 2130903496;
// aapt resource value: 0x7F0301C9
public const int toolbarStyle = 2130903497;
public const int toolbarNavigationButtonStyle = 2130903497;
// aapt resource value: 0x7F0301CA
public const int tooltipForegroundColor = 2130903498;
public const int toolbarStyle = 2130903498;
// aapt resource value: 0x7F0301CB
public const int tooltipFrameBackground = 2130903499;
public const int tooltipForegroundColor = 2130903499;
// aapt resource value: 0x7F0301CC
public const int tooltipText = 2130903500;
public const int tooltipFrameBackground = 2130903500;
// aapt resource value: 0x7F0301CD
public const int track = 2130903501;
public const int tooltipText = 2130903501;
// aapt resource value: 0x7F0301CE
public const int trackTint = 2130903502;
public const int track = 2130903502;
// aapt resource value: 0x7F0301CF
public const int trackTintMode = 2130903503;
public const int trackTint = 2130903503;
// aapt resource value: 0x7F0301D0
public const int ttcIndex = 2130903504;
public const int trackTintMode = 2130903504;
// aapt resource value: 0x7F0301D1
public const int useCompatPadding = 2130903505;
public const int ttcIndex = 2130903505;
// aapt resource value: 0x7F0301D2
public const int viewInflaterClass = 2130903506;
public const int useCompatPadding = 2130903506;
// aapt resource value: 0x7F0301D3
public const int voiceIcon = 2130903507;
public const int viewInflaterClass = 2130903507;
// aapt resource value: 0x7F0301D4
public const int windowActionBar = 2130903508;
public const int voiceIcon = 2130903508;
// aapt resource value: 0x7F0301D5
public const int windowActionBarOverlay = 2130903509;
public const int windowActionBar = 2130903509;
// aapt resource value: 0x7F0301D6
public const int windowActionModeOverlay = 2130903510;
public const int windowActionBarOverlay = 2130903510;
// aapt resource value: 0x7F0301D7
public const int windowFixedHeightMajor = 2130903511;
public const int windowActionModeOverlay = 2130903511;
// aapt resource value: 0x7F0301D8
public const int windowFixedHeightMinor = 2130903512;
public const int windowFixedHeightMajor = 2130903512;
// aapt resource value: 0x7F0301D9
public const int windowFixedWidthMajor = 2130903513;
public const int windowFixedHeightMinor = 2130903513;
// aapt resource value: 0x7F0301DA
public const int windowFixedWidthMinor = 2130903514;
public const int windowFixedWidthMajor = 2130903514;
// aapt resource value: 0x7F0301DB
public const int windowMinWidthMajor = 2130903515;
public const int windowFixedWidthMinor = 2130903515;
// aapt resource value: 0x7F0301DC
public const int windowMinWidthMinor = 2130903516;
public const int windowMinWidthMajor = 2130903516;
// aapt resource value: 0x7F0301DD
public const int windowNoTitle = 2130903517;
public const int windowMinWidthMinor = 2130903517;
// aapt resource value: 0x7F0301DE
public const int windowNoTitle = 2130903518;
static Attribute()
{
......@@ -9491,25 +9504,28 @@ namespace SampleApp.Droid
public const int mtrl_chip_close_icon_content_description = 2131558446;
// aapt resource value: 0x7F0D002F
public const int password_toggle_content_description = 2131558447;
public const int overflow_tab_title = 2131558447;
// aapt resource value: 0x7F0D0030
public const int path_password_eye = 2131558448;
public const int password_toggle_content_description = 2131558448;
// aapt resource value: 0x7F0D0031
public const int path_password_eye_mask_strike_through = 2131558449;
public const int path_password_eye = 2131558449;
// aapt resource value: 0x7F0D0032
public const int path_password_eye_mask_visible = 2131558450;
public const int path_password_eye_mask_strike_through = 2131558450;
// aapt resource value: 0x7F0D0033
public const int path_password_strike_through = 2131558451;
public const int path_password_eye_mask_visible = 2131558451;
// aapt resource value: 0x7F0D0034
public const int search_menu_title = 2131558452;
public const int path_password_strike_through = 2131558452;
// aapt resource value: 0x7F0D0035
public const int status_bar_notification_info_overflow = 2131558453;
public const int search_menu_title = 2131558453;
// aapt resource value: 0x7F0D0036
public const int status_bar_notification_info_overflow = 2131558454;
static String()
{
......@@ -10119,10 +10135,7 @@ namespace SampleApp.Droid
public const int CardView_Light = 2131624133;
// aapt resource value: 0x7F0E01F7
public const int collectionViewScrollBars = 2131624439;
// aapt resource value: 0x7F0E01F8
public const int collectionViewTheme = 2131624440;
public const int collectionViewTheme = 2131624439;
// aapt resource value: 0x7F0E00C6
public const int MainTheme = 2131624134;
......@@ -10223,6 +10236,12 @@ namespace SampleApp.Droid
// aapt resource value: 0x7F0E00E6
public const int RtlUnderlay_Widget_AppCompat_ActionButton_Overflow = 2131624166;
// aapt resource value: 0x7F0E01F8
public const int scrollViewScrollBars = 2131624440;
// aapt resource value: 0x7F0E01F9
public const int scrollViewTheme = 2131624441;
// aapt resource value: 0x7F0E00E7
public const int TextAppearance_AppCompat = 2131624167;
......@@ -11052,7 +11071,7 @@ namespace SampleApp.Droid
public partial class Styleable
{
// aapt resource value: { 0x7F030031,0x7F030032,0x7F030033,0x7F030092,0x7F030093,0x7F030094,0x7F030095,0x7F030096,0x7F030097,0x7F0300A5,0x7F0300AA,0x7F0300AB,0x7F0300B6,0x7F0300E0,0x7F0300E5,0x7F0300EA,0x7F0300EB,0x7F0300ED,0x7F0300F7,0x7F030101,0x7F030124,0x7F030130,0x7F030141,0x7F030145,0x7F030146,0x7F030174,0x7F030177,0x7F0301BC,0x7F0301C6 }
// aapt resource value: { 0x7F030031,0x7F030032,0x7F030033,0x7F030092,0x7F030093,0x7F030094,0x7F030095,0x7F030096,0x7F030097,0x7F0300A5,0x7F0300AA,0x7F0300AB,0x7F0300B6,0x7F0300E0,0x7F0300E5,0x7F0300EA,0x7F0300EB,0x7F0300ED,0x7F0300F7,0x7F030101,0x7F030124,0x7F030130,0x7F030141,0x7F030145,0x7F030146,0x7F030175,0x7F030178,0x7F0301BD,0x7F0301C7 }
public static int[] ActionBar = new int[] {
2130903089,
2130903090,
......@@ -11079,10 +11098,10 @@ namespace SampleApp.Droid
2130903361,
2130903365,
2130903366,
2130903412,
2130903415,
2130903484,
2130903494};
2130903413,
2130903416,
2130903485,
2130903495};
// aapt resource value: { 0x10100B3 }
public static int[] ActionBarLayout = new int[] {
......@@ -11189,14 +11208,14 @@ namespace SampleApp.Droid
public static int[] ActionMenuView = new int[] {
-1};
// aapt resource value: { 0x7F030031,0x7F030032,0x7F03007E,0x7F0300E0,0x7F030177,0x7F0301C6 }
// aapt resource value: { 0x7F030031,0x7F030032,0x7F03007E,0x7F0300E0,0x7F030178,0x7F0301C7 }
public static int[] ActionMode = new int[] {
2130903089,
2130903090,
2130903166,
2130903264,
2130903415,
2130903494};
2130903416,
2130903495};
// aapt resource value: 0
public const int ActionMode_background = 0;
......@@ -11227,7 +11246,7 @@ namespace SampleApp.Droid
// aapt resource value: 1
public const int ActivityChooserView_initialActivityCount = 1;
// aapt resource value: { 0x10100F2,0x7F030052,0x7F030053,0x7F03011B,0x7F03011C,0x7F03012D,0x7F03015C,0x7F03015D }
// aapt resource value: { 0x10100F2,0x7F030052,0x7F030053,0x7F03011B,0x7F03011C,0x7F03012D,0x7F03015D,0x7F03015E }
public static int[] AlertDialog = new int[] {
16842994,
2130903122,
......@@ -11235,8 +11254,8 @@ namespace SampleApp.Droid
2130903323,
2130903324,
2130903341,
2130903388,
2130903389};
2130903389,
2130903390};
// aapt resource value: 0
public const int AlertDialog_android_layout = 0;
......@@ -11328,12 +11347,12 @@ namespace SampleApp.Droid
2130903228,
2130903318};
// aapt resource value: { 0x7F03016A,0x7F03016B,0x7F03016C,0x7F03016D }
// aapt resource value: { 0x7F03016B,0x7F03016C,0x7F03016D,0x7F03016E }
public static int[] AppBarLayoutStates = new int[] {
2130903402,
2130903403,
2130903404,
2130903405};
2130903405,
2130903406};
// aapt resource value: 0
public const int AppBarLayoutStates_state_collapsed = 0;
......@@ -11376,12 +11395,12 @@ namespace SampleApp.Droid
// aapt resource value: 5
public const int AppBarLayout_liftOnScroll = 5;
// aapt resource value: { 0x1010119,0x7F030167,0x7F0301BA,0x7F0301BB }
// aapt resource value: { 0x1010119,0x7F030168,0x7F0301BB,0x7F0301BC }
public static int[] AppCompatImageView = new int[] {
16843033,
2130903399,
2130903482,
2130903483};
2130903400,
2130903483,
2130903484};
// aapt resource value: 0
public const int AppCompatImageView_android_src = 0;
......@@ -11395,12 +11414,12 @@ namespace SampleApp.Droid
// aapt resource value: 3
public const int AppCompatImageView_tintMode = 3;
// aapt resource value: { 0x1010142,0x7F0301B7,0x7F0301B8,0x7F0301B9 }
// aapt resource value: { 0x1010142,0x7F0301B8,0x7F0301B9,0x7F0301BA }
public static int[] AppCompatSeekBar = new int[] {
16843074,
2130903479,
2130903480,
2130903481};
2130903481,
2130903482};
// aapt resource value: 0
public const int AppCompatSeekBar_android_thumb = 0;
......@@ -11445,7 +11464,7 @@ namespace SampleApp.Droid
// aapt resource value: 0
public const int AppCompatTextHelper_android_textAppearance = 0;
// aapt resource value: { 0x1010034,0x7F03002C,0x7F03002D,0x7F03002E,0x7F03002F,0x7F030030,0x7F0300CF,0x7F0300D2,0x7F030109,0x7F030117,0x7F030197 }
// aapt resource value: { 0x1010034,0x7F03002C,0x7F03002D,0x7F03002E,0x7F03002F,0x7F030030,0x7F0300CF,0x7F0300D2,0x7F030109,0x7F030117,0x7F030198 }
public static int[] AppCompatTextView = new int[] {
16842804,
2130903084,
......@@ -11457,7 +11476,7 @@ namespace SampleApp.Droid
2130903250,
2130903305,
2130903319,
2130903447};
2130903448};
// aapt resource value: 0
public const int AppCompatTextView_android_textAppearance = 0;
......@@ -11492,7 +11511,7 @@ namespace SampleApp.Droid
// aapt resource value: 10
public const int AppCompatTextView_textAllCaps = 10;
// aapt resource value: { 0x1010057,0x10100AE,0x7F030000,0x7F030001,0x7F030002,0x7F030003,0x7F030004,0x7F030005,0x7F030006,0x7F030007,0x7F030008,0x7F030009,0x7F03000A,0x7F03000B,0x7F03000C,0x7F03000E,0x7F03000F,0x7F030010,0x7F030011,0x7F030012,0x7F030013,0x7F030014,0x7F030015,0x7F030016,0x7F030017,0x7F030018,0x7F030019,0x7F03001A,0x7F03001B,0x7F03001C,0x7F03001D,0x7F03001E,0x7F030021,0x7F030022,0x7F030023,0x7F030024,0x7F030025,0x7F03002B,0x7F03003E,0x7F03004C,0x7F03004D,0x7F03004E,0x7F03004F,0x7F030050,0x7F030054,0x7F030055,0x7F03005F,0x7F030064,0x7F030085,0x7F030086,0x7F030087,0x7F030088,0x7F030089,0x7F03008A,0x7F03008B,0x7F03008C,0x7F03008D,0x7F03008F,0x7F03009E,0x7F0300A7,0x7F0300A8,0x7F0300A9,0x7F0300AC,0x7F0300AE,0x7F0300B1,0x7F0300B2,0x7F0300B3,0x7F0300B4,0x7F0300B5,0x7F0300EA,0x7F0300F6,0x7F030119,0x7F03011A,0x7F03011D,0x7F03011E,0x7F03011F,0x7F030120,0x7F030121,0x7F030122,0x7F030123,0x7F030138,0x7F030139,0x7F03013A,0x7F030140,0x7F030142,0x7F030149,0x7F03014A,0x7F03014B,0x7F03014C,0x7F030154,0x7F030155,0x7F030156,0x7F030157,0x7F030164,0x7F030165,0x7F03017B,0x7F0301A2,0x7F0301A3,0x7F0301A4,0x7F0301A5,0x7F0301A7,0x7F0301A8,0x7F0301A9,0x7F0301AA,0x7F0301AD,0x7F0301AE,0x7F0301C8,0x7F0301C9,0x7F0301CA,0x7F0301CB,0x7F0301D2,0x7F0301D4,0x7F0301D5,0x7F0301D6,0x7F0301D7,0x7F0301D8,0x7F0301D9,0x7F0301DA,0x7F0301DB,0x7F0301DC,0x7F0301DD }
// aapt resource value: { 0x1010057,0x10100AE,0x7F030000,0x7F030001,0x7F030002,0x7F030003,0x7F030004,0x7F030005,0x7F030006,0x7F030007,0x7F030008,0x7F030009,0x7F03000A,0x7F03000B,0x7F03000C,0x7F03000E,0x7F03000F,0x7F030010,0x7F030011,0x7F030012,0x7F030013,0x7F030014,0x7F030015,0x7F030016,0x7F030017,0x7F030018,0x7F030019,0x7F03001A,0x7F03001B,0x7F03001C,0x7F03001D,0x7F03001E,0x7F030021,0x7F030022,0x7F030023,0x7F030024,0x7F030025,0x7F03002B,0x7F03003E,0x7F03004C,0x7F03004D,0x7F03004E,0x7F03004F,0x7F030050,0x7F030054,0x7F030055,0x7F03005F,0x7F030064,0x7F030085,0x7F030086,0x7F030087,0x7F030088,0x7F030089,0x7F03008A,0x7F03008B,0x7F03008C,0x7F03008D,0x7F03008F,0x7F03009E,0x7F0300A7,0x7F0300A8,0x7F0300A9,0x7F0300AC,0x7F0300AE,0x7F0300B1,0x7F0300B2,0x7F0300B3,0x7F0300B4,0x7F0300B5,0x7F0300EA,0x7F0300F6,0x7F030119,0x7F03011A,0x7F03011D,0x7F03011E,0x7F03011F,0x7F030120,0x7F030121,0x7F030122,0x7F030123,0x7F030138,0x7F030139,0x7F03013A,0x7F030140,0x7F030142,0x7F030149,0x7F03014A,0x7F03014B,0x7F03014C,0x7F030155,0x7F030156,0x7F030157,0x7F030158,0x7F030165,0x7F030166,0x7F03017C,0x7F0301A3,0x7F0301A4,0x7F0301A5,0x7F0301A6,0x7F0301A8,0x7F0301A9,0x7F0301AA,0x7F0301AB,0x7F0301AE,0x7F0301AF,0x7F0301C9,0x7F0301CA,0x7F0301CB,0x7F0301CC,0x7F0301D3,0x7F0301D5,0x7F0301D6,0x7F0301D7,0x7F0301D8,0x7F0301D9,0x7F0301DA,0x7F0301DB,0x7F0301DC,0x7F0301DD,0x7F0301DE }
public static int[] AppCompatTheme = new int[] {
16842839,
16842926,
......@@ -11583,29 +11602,28 @@ namespace SampleApp.Droid
2130903370,
2130903371,
2130903372,
2130903380,
2130903381,
2130903382,
2130903383,
2130903396,
2130903384,
2130903397,
2130903419,
2130903458,
2130903398,
2130903420,
2130903459,
2130903460,
2130903461,
2130903463,
2130903462,
2130903464,
2130903465,
2130903466,
2130903469,
2130903467,
2130903470,
2130903496,
2130903471,
2130903497,
2130903498,
2130903499,
2130903506,
2130903508,
2130903500,
2130903507,
2130903509,
2130903510,
2130903511,
......@@ -11614,7 +11632,8 @@ namespace SampleApp.Droid
2130903514,
2130903515,
2130903516,
2130903517};
2130903517,
2130903518};
// aapt resource value: 2
public const int AppCompatTheme_actionBarDivider = 2;
......@@ -12130,7 +12149,7 @@ namespace SampleApp.Droid
// aapt resource value: 12
public const int CardView_contentPaddingTop = 12;
// aapt resource value: { 0x1010034,0x10100AB,0x101011F,0x101014F,0x10101E5,0x7F030061,0x7F030062,0x7F030063,0x7F030065,0x7F030066,0x7F030067,0x7F030069,0x7F03006A,0x7F03006B,0x7F03006C,0x7F03006D,0x7F03006E,0x7F030073,0x7F030074,0x7F030075,0x7F030077,0x7F030078,0x7F030079,0x7F03007A,0x7F03007B,0x7F03007C,0x7F03007D,0x7F0300E4,0x7F0300EE,0x7F0300F2,0x7F03014E,0x7F03015A,0x7F0301AF,0x7F0301B1 }
// aapt resource value: { 0x1010034,0x10100AB,0x101011F,0x101014F,0x10101E5,0x7F030061,0x7F030062,0x7F030063,0x7F030065,0x7F030066,0x7F030067,0x7F030069,0x7F03006A,0x7F03006B,0x7F03006C,0x7F03006D,0x7F03006E,0x7F030073,0x7F030074,0x7F030075,0x7F030077,0x7F030078,0x7F030079,0x7F03007A,0x7F03007B,0x7F03007C,0x7F03007D,0x7F0300E4,0x7F0300EE,0x7F0300F2,0x7F03014E,0x7F03015B,0x7F0301B0,0x7F0301B2 }
public static int[] Chip = new int[] {
16842804,
16842923,
......@@ -12163,18 +12182,18 @@ namespace SampleApp.Droid
2130903278,
2130903282,
2130903374,
2130903386,
2130903471,
2130903473};
2130903387,
2130903472,
2130903474};
// aapt resource value: { 0x7F030060,0x7F03006F,0x7F030070,0x7F030071,0x7F03015E,0x7F03015F }
// aapt resource value: { 0x7F030060,0x7F03006F,0x7F030070,0x7F030071,0x7F03015F,0x7F030160 }
public static int[] ChipGroup = new int[] {
2130903136,
2130903151,
2130903152,
2130903153,
2130903390,
2130903391};
2130903391,
2130903392};
// aapt resource value: 0
public const int ChipGroup_checkedChip = 0;
......@@ -12296,7 +12315,7 @@ namespace SampleApp.Droid
// aapt resource value: 33
public const int Chip_textStartPadding = 33;
// aapt resource value: { 0x7F030081,0x7F030082,0x7F03009D,0x7F0300BD,0x7F0300BE,0x7F0300BF,0x7F0300C0,0x7F0300C1,0x7F0300C2,0x7F0300C3,0x7F03014F,0x7F030151,0x7F03016F,0x7F0301BC,0x7F0301BD,0x7F0301C7 }
// aapt resource value: { 0x7F030081,0x7F030082,0x7F03009D,0x7F0300BD,0x7F0300BE,0x7F0300BF,0x7F0300C0,0x7F0300C1,0x7F0300C2,0x7F0300C3,0x7F03014F,0x7F030151,0x7F030170,0x7F0301BD,0x7F0301BE,0x7F0301C8 }
public static int[] CollapsingToolbarLayout = new int[] {
2130903169,
2130903170,
......@@ -12310,10 +12329,10 @@ namespace SampleApp.Droid
2130903235,
2130903375,
2130903377,
2130903407,
2130903484,
2130903408,
2130903485,
2130903495};
2130903486,
2130903496};
// aapt resource value: 0
public const int CollapsingToolbarLayout_collapsedTitleGravity = 0;
......@@ -12404,10 +12423,10 @@ namespace SampleApp.Droid
// aapt resource value: 2
public const int CompoundButton_buttonTintMode = 2;
// aapt resource value: { 0x7F030107,0x7F03016E }
// aapt resource value: { 0x7F030107,0x7F03016F }
public static int[] CoordinatorLayout = new int[] {
2130903303,
2130903406};
2130903407};
// aapt resource value: 0
public const int CoordinatorLayout_keylines = 0;
......@@ -12457,7 +12476,7 @@ namespace SampleApp.Droid
// aapt resource value: 1
public const int DesignTheme_bottomSheetStyle = 1;
// aapt resource value: { 0x7F030029,0x7F03002A,0x7F030036,0x7F030084,0x7F0300AF,0x7F0300DD,0x7F030163,0x7F0301B3 }
// aapt resource value: { 0x7F030029,0x7F03002A,0x7F030036,0x7F030084,0x7F0300AF,0x7F0300DD,0x7F030164,0x7F0301B4 }
public static int[] DrawerArrowToggle = new int[] {
2130903081,
2130903082,
......@@ -12465,8 +12484,8 @@ namespace SampleApp.Droid
2130903172,
2130903215,
2130903261,
2130903395,
2130903475};
2130903396,
2130903476};
// aapt resource value: 0
public const int DrawerArrowToggle_arrowHeadLength = 0;
......@@ -12492,7 +12511,7 @@ namespace SampleApp.Droid
// aapt resource value: 7
public const int DrawerArrowToggle_thickness = 7;
// aapt resource value: { 0x7F030034,0x7F030035,0x7F03003D,0x7F0300B6,0x7F0300C8,0x7F0300C9,0x7F0300E4,0x7F0300EC,0x7F03012A,0x7F030144,0x7F03014E,0x7F03015A,0x7F0301D1 }
// aapt resource value: { 0x7F030034,0x7F030035,0x7F03003D,0x7F0300B6,0x7F0300C8,0x7F0300C9,0x7F0300E4,0x7F0300EC,0x7F03012A,0x7F030144,0x7F03014E,0x7F03015B,0x7F0301D2 }
public static int[] FloatingActionButton = new int[] {
2130903092,
2130903093,
......@@ -12505,8 +12524,8 @@ namespace SampleApp.Droid
2130903338,
2130903364,
2130903374,
2130903386,
2130903505};
2130903387,
2130903506};
// aapt resource value: 0
public const int FloatingActionButton_backgroundTint = 0;
......@@ -12574,7 +12593,7 @@ namespace SampleApp.Droid
2130903255,
2130903256};
// aapt resource value: { 0x1010532,0x1010533,0x101053F,0x101056F,0x1010570,0x7F0300D1,0x7F0300D9,0x7F0300DA,0x7F0300DB,0x7F0301D0 }
// aapt resource value: { 0x1010532,0x1010533,0x101053F,0x101056F,0x1010570,0x7F0300D1,0x7F0300D9,0x7F0300DA,0x7F0300DB,0x7F0301D1 }
public static int[] FontFamilyFont = new int[] {
16844082,
16844083,
......@@ -12585,7 +12604,7 @@ namespace SampleApp.Droid
2130903257,
2130903258,
2130903259,
2130903504};
2130903505};
// aapt resource value: 0
public const int FontFamilyFont_android_font = 0;
......@@ -12719,7 +12738,7 @@ namespace SampleApp.Droid
// aapt resource value: 0
public const int ItemsViewRendererTheme_collectionViewStyle = 0;
// aapt resource value: { 0x10100AF,0x10100C4,0x1010126,0x1010127,0x1010128,0x7F0300AB,0x7F0300AD,0x7F03012B,0x7F030159 }
// aapt resource value: { 0x10100AF,0x10100C4,0x1010126,0x1010127,0x1010128,0x7F0300AB,0x7F0300AD,0x7F03012B,0x7F03015A }
public static int[] LinearLayoutCompat = new int[] {
16842927,
16842948,
......@@ -12729,7 +12748,7 @@ namespace SampleApp.Droid
2130903211,
2130903213,
2130903339,
2130903385};
2130903386};
// aapt resource value: 2
public const int LinearLayoutCompat_android_baselineAligned = 2;
......@@ -12788,7 +12807,7 @@ namespace SampleApp.Droid
// aapt resource value: 1
public const int ListPopupWindow_android_dropDownVerticalOffset = 1;
// aapt resource value: { 0x10101B7,0x10101B8,0x10101B9,0x10101BA,0x7F030034,0x7F030035,0x7F0300A0,0x7F0300ED,0x7F0300EF,0x7F0300F0,0x7F0300F1,0x7F0300F3,0x7F0300F4,0x7F03014E,0x7F030170,0x7F030171 }
// aapt resource value: { 0x10101B7,0x10101B8,0x10101B9,0x10101BA,0x7F030034,0x7F030035,0x7F0300A0,0x7F0300ED,0x7F0300EF,0x7F0300F0,0x7F0300F1,0x7F0300F3,0x7F0300F4,0x7F03014E,0x7F030171,0x7F030172 }
public static int[] MaterialButton = new int[] {
16843191,
16843192,
......@@ -12804,8 +12823,8 @@ namespace SampleApp.Droid
2130903283,
2130903284,
2130903374,
2130903408,
2130903409};
2130903409,
2130903410};
// aapt resource value: 3
public const int MaterialButton_android_insetBottom = 3;
......@@ -12855,10 +12874,10 @@ namespace SampleApp.Droid
// aapt resource value: 15
public const int MaterialButton_strokeWidth = 15;
// aapt resource value: { 0x7F030170,0x7F030171 }
// aapt resource value: { 0x7F030171,0x7F030172 }
public static int[] MaterialCardView = new int[] {
2130903408,
2130903409};
2130903409,
2130903410};
// aapt resource value: 0
public const int MaterialCardView_strokeColor = 0;
......@@ -12866,7 +12885,7 @@ namespace SampleApp.Droid
// aapt resource value: 1
public const int MaterialCardView_strokeWidth = 1;
// aapt resource value: { 0x7F030041,0x7F030042,0x7F030068,0x7F030072,0x7F030076,0x7F030085,0x7F030086,0x7F03008C,0x7F03008D,0x7F03008E,0x7F0300B5,0x7F0300D0,0x7F030126,0x7F030127,0x7F030131,0x7F030150,0x7F030160,0x7F030193,0x7F030198,0x7F030199,0x7F03019A,0x7F03019B,0x7F03019C,0x7F03019D,0x7F03019E,0x7F03019F,0x7F0301A0,0x7F0301A1,0x7F0301A6,0x7F0301AB,0x7F0301AC,0x7F0301B0 }
// aapt resource value: { 0x7F030041,0x7F030042,0x7F030068,0x7F030072,0x7F030076,0x7F030085,0x7F030086,0x7F03008C,0x7F03008D,0x7F03008E,0x7F0300B5,0x7F0300D0,0x7F030126,0x7F030127,0x7F030131,0x7F030150,0x7F030161,0x7F030194,0x7F030199,0x7F03019A,0x7F03019B,0x7F03019C,0x7F03019D,0x7F03019E,0x7F03019F,0x7F0301A0,0x7F0301A1,0x7F0301A2,0x7F0301A7,0x7F0301AC,0x7F0301AD,0x7F0301B1 }
public static int[] MaterialComponentsTheme = new int[] {
2130903105,
2130903106,
......@@ -12884,9 +12903,8 @@ namespace SampleApp.Droid
2130903335,
2130903345,
2130903376,
2130903392,
2130903443,
2130903448,
2130903393,
2130903444,
2130903449,
2130903450,
2130903451,
......@@ -12896,10 +12914,11 @@ namespace SampleApp.Droid
2130903455,
2130903456,
2130903457,
2130903462,
2130903467,
2130903458,
2130903463,
2130903468,
2130903472};
2130903469,
2130903473};
// aapt resource value: 0
public const int MaterialComponentsTheme_bottomSheetDialogTheme = 0;
......@@ -13024,7 +13043,7 @@ namespace SampleApp.Droid
// aapt resource value: 2
public const int MenuGroup_android_visible = 2;
// aapt resource value: { 0x1010002,0x101000E,0x10100D0,0x1010106,0x1010194,0x10101DE,0x10101DF,0x10101E1,0x10101E2,0x10101E3,0x10101E4,0x10101E5,0x101026F,0x7F03000D,0x7F03001F,0x7F030020,0x7F030028,0x7F030091,0x7F0300F3,0x7F0300F4,0x7F030132,0x7F030158,0x7F0301CC }
// aapt resource value: { 0x1010002,0x101000E,0x10100D0,0x1010106,0x1010194,0x10101DE,0x10101DF,0x10101E1,0x10101E2,0x10101E3,0x10101E4,0x10101E5,0x101026F,0x7F03000D,0x7F03001F,0x7F030020,0x7F030028,0x7F030091,0x7F0300F3,0x7F0300F4,0x7F030132,0x7F030159,0x7F0301CD }
public static int[] MenuItem = new int[] {
16842754,
16842766,
......@@ -13047,8 +13066,8 @@ namespace SampleApp.Droid
2130903283,
2130903284,
2130903346,
2130903384,
2130903500};
2130903385,
2130903501};
// aapt resource value: 13
public const int MenuItem_actionLayout = 13;
......@@ -13119,7 +13138,7 @@ namespace SampleApp.Droid
// aapt resource value: 22
public const int MenuItem_tooltipText = 22;
// aapt resource value: { 0x10100AE,0x101012C,0x101012D,0x101012E,0x101012F,0x1010130,0x1010131,0x7F030143,0x7F030172 }
// aapt resource value: { 0x10100AE,0x101012C,0x101012D,0x101012E,0x101012F,0x1010130,0x1010131,0x7F030143,0x7F030173 }
public static int[] MenuView = new int[] {
16842926,
16843052,
......@@ -13129,7 +13148,7 @@ namespace SampleApp.Droid
16843056,
16843057,
2130903363,
2130903410};
2130903411};
// aapt resource value: 4
public const int MenuView_android_headerBackground = 4;
......@@ -13215,9 +13234,9 @@ namespace SampleApp.Droid
16843465,
2130903347};
// aapt resource value: { 0x7F030169 }
// aapt resource value: { 0x7F03016A }
public static int[] PopupWindowBackgroundState = new int[] {
2130903401};
2130903402};
// aapt resource value: 0
public const int PopupWindowBackgroundState_state_above_anchor = 0;
......@@ -13242,7 +13261,7 @@ namespace SampleApp.Droid
// aapt resource value: 1
public const int RecycleListView_paddingTopNoTitle = 1;
// aapt resource value: { 0x10100C4,0x10100F1,0x7F0300CA,0x7F0300CB,0x7F0300CC,0x7F0300CD,0x7F0300CE,0x7F03010B,0x7F03014D,0x7F030162,0x7F030168 }
// aapt resource value: { 0x10100C4,0x10100F1,0x7F0300CA,0x7F0300CB,0x7F0300CC,0x7F0300CD,0x7F0300CE,0x7F03010B,0x7F03014D,0x7F030163,0x7F030169 }
public static int[] RecyclerView = new int[] {
16842948,
16842993,
......@@ -13253,8 +13272,8 @@ namespace SampleApp.Droid
2130903246,
2130903307,
2130903373,
2130903394,
2130903400};
2130903395,
2130903401};
// aapt resource value: 1
public const int RecyclerView_android_descendantFocusability = 1;
......@@ -13303,7 +13322,14 @@ namespace SampleApp.Droid
// aapt resource value: 0
public const int ScrollingViewBehavior_Layout_behavior_overlapTop = 0;
// aapt resource value: { 0x10100DA,0x101011F,0x1010220,0x1010264,0x7F030077,0x7F030090,0x7F0300A6,0x7F0300DE,0x7F0300F5,0x7F03010A,0x7F030147,0x7F030148,0x7F030152,0x7F030153,0x7F030173,0x7F030178,0x7F0301D3 }
// aapt resource value: { 0x7F030152 }
public static int[] ScrollViewRendererTheme = new int[] {
2130903378};
// aapt resource value: 0
public const int ScrollViewRendererTheme_scrollViewStyle = 0;
// aapt resource value: { 0x10100DA,0x101011F,0x1010220,0x1010264,0x7F030077,0x7F030090,0x7F0300A6,0x7F0300DE,0x7F0300F5,0x7F03010A,0x7F030147,0x7F030148,0x7F030153,0x7F030154,0x7F030174,0x7F030179,0x7F0301D4 }
public static int[] SearchView = new int[] {
16842970,
16843039,
......@@ -13317,11 +13343,11 @@ namespace SampleApp.Droid
2130903306,
2130903367,
2130903368,
2130903378,
2130903379,
2130903411,
2130903416,
2130903507};
2130903380,
2130903412,
2130903417,
2130903508};
// aapt resource value: 0
public const int SearchView_android_focusable = 0;
......@@ -13374,10 +13400,10 @@ namespace SampleApp.Droid
// aapt resource value: 16
public const int SearchView_voiceIcon = 16;
// aapt resource value: { 0x7F030160,0x7F030161 }
// aapt resource value: { 0x7F030161,0x7F030162 }
public static int[] Snackbar = new int[] {
2130903392,
2130903393};
2130903393,
2130903394};
// aapt resource value: { 0x101011F,0x7F0300B6,0x7F030128 }
public static int[] SnackbarLayout = new int[] {
......@@ -13457,22 +13483,22 @@ namespace SampleApp.Droid
// aapt resource value: 1
public const int StateListDrawable_android_visible = 1;
// aapt resource value: { 0x1010124,0x1010125,0x1010142,0x7F03015B,0x7F030166,0x7F030179,0x7F03017A,0x7F03017C,0x7F0301B4,0x7F0301B5,0x7F0301B6,0x7F0301CD,0x7F0301CE,0x7F0301CF }
// aapt resource value: { 0x1010124,0x1010125,0x1010142,0x7F03015C,0x7F030167,0x7F03017A,0x7F03017B,0x7F03017D,0x7F0301B5,0x7F0301B6,0x7F0301B7,0x7F0301CE,0x7F0301CF,0x7F0301D0 }
public static int[] SwitchCompat = new int[] {
16843044,
16843045,
16843074,
2130903387,
2130903398,
2130903417,
2130903388,
2130903399,
2130903418,
2130903420,
2130903476,
2130903419,
2130903421,
2130903477,
2130903478,
2130903501,
2130903479,
2130903502,
2130903503};
2130903503,
2130903504};
// aapt resource value: 1
public const int SwitchCompat_android_textOff = 1;
......@@ -13531,9 +13557,8 @@ namespace SampleApp.Droid
// aapt resource value: 2
public const int TabItem_android_text = 2;
// aapt resource value: { 0x7F03017D,0x7F03017E,0x7F03017F,0x7F030180,0x7F030181,0x7F030182,0x7F030183,0x7F030184,0x7F030185,0x7F030186,0x7F030187,0x7F030188,0x7F030189,0x7F03018A,0x7F03018B,0x7F03018C,0x7F03018D,0x7F03018E,0x7F03018F,0x7F030190,0x7F030191,0x7F030192,0x7F030194,0x7F030195,0x7F030196 }
// aapt resource value: { 0x7F03017E,0x7F03017F,0x7F030180,0x7F030181,0x7F030182,0x7F030183,0x7F030184,0x7F030185,0x7F030186,0x7F030187,0x7F030188,0x7F030189,0x7F03018A,0x7F03018B,0x7F03018C,0x7F03018D,0x7F03018E,0x7F03018F,0x7F030190,0x7F030191,0x7F030192,0x7F030193,0x7F030195,0x7F030196,0x7F030197 }
public static int[] TabLayout = new int[] {
2130903421,
2130903422,
2130903423,
2130903424,
......@@ -13555,9 +13580,10 @@ namespace SampleApp.Droid
2130903440,
2130903441,
2130903442,
2130903444,
2130903443,
2130903445,
2130903446};
2130903446,
2130903447};
// aapt resource value: 0
public const int TabLayout_tabBackground = 0;
......@@ -13634,7 +13660,7 @@ namespace SampleApp.Droid
// aapt resource value: 24
public const int TabLayout_tabUnboundedRipple = 24;
// aapt resource value: { 0x1010095,0x1010096,0x1010097,0x1010098,0x101009A,0x101009B,0x1010161,0x1010162,0x1010163,0x1010164,0x10103AC,0x7F0300D2,0x7F030197 }
// aapt resource value: { 0x1010095,0x1010096,0x1010097,0x1010098,0x101009A,0x101009B,0x1010161,0x1010162,0x1010163,0x1010164,0x10103AC,0x7F0300D2,0x7F030198 }
public static int[] TextAppearance = new int[] {
16842901,
16842902,
......@@ -13648,7 +13674,7 @@ namespace SampleApp.Droid
16843108,
16843692,
2130903250,
2130903447};
2130903448};
// aapt resource value: 10
public const int TextAppearance_android_fontFamily = 10;
......@@ -13819,7 +13845,7 @@ namespace SampleApp.Droid
// aapt resource value: 2
public const int ThemeEnforcement_enforceTextAppearance = 2;
// aapt resource value: { 0x10100AF,0x1010140,0x7F030051,0x7F03007F,0x7F030080,0x7F030092,0x7F030093,0x7F030094,0x7F030095,0x7F030096,0x7F030097,0x7F030124,0x7F030125,0x7F030129,0x7F03012E,0x7F03012F,0x7F030141,0x7F030174,0x7F030175,0x7F030176,0x7F0301BC,0x7F0301BE,0x7F0301BF,0x7F0301C0,0x7F0301C1,0x7F0301C2,0x7F0301C3,0x7F0301C4,0x7F0301C5 }
// aapt resource value: { 0x10100AF,0x1010140,0x7F030051,0x7F03007F,0x7F030080,0x7F030092,0x7F030093,0x7F030094,0x7F030095,0x7F030096,0x7F030097,0x7F030124,0x7F030125,0x7F030129,0x7F03012E,0x7F03012F,0x7F030141,0x7F030175,0x7F030176,0x7F030177,0x7F0301BD,0x7F0301BF,0x7F0301C0,0x7F0301C1,0x7F0301C2,0x7F0301C3,0x7F0301C4,0x7F0301C5,0x7F0301C6 }
public static int[] Toolbar = new int[] {
16842927,
16843072,
......@@ -13838,18 +13864,18 @@ namespace SampleApp.Droid
2130903342,
2130903343,
2130903361,
2130903412,
2130903413,
2130903414,
2130903484,
2130903486,
2130903415,
2130903485,
2130903487,
2130903488,
2130903489,
2130903490,
2130903491,
2130903492,
2130903493};
2130903493,
2130903494};
// aapt resource value: 0
public const int Toolbar_android_gravity = 0;
......@@ -13938,13 +13964,13 @@ namespace SampleApp.Droid
// aapt resource value: 28
public const int Toolbar_titleTextColor = 28;
// aapt resource value: { 0x1010000,0x10100DA,0x7F030135,0x7F030136,0x7F0301B2 }
// aapt resource value: { 0x1010000,0x10100DA,0x7F030135,0x7F030136,0x7F0301B3 }
public static int[] View = new int[] {
16842752,
16842970,
2130903349,
2130903350,
2130903474};
2130903475};
// aapt resource value: { 0x10100D4,0x7F030034,0x7F030035 }
public static int[] ViewBackgroundHelper = new int[] {
......@@ -53,7 +53,7 @@
<Reference Include="System.Numerics.Vectors" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="4.7.0.968" />
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1451" />
<PackageReference Include="Xamarin.Essentials" Version="1.5.3.2" />
</ItemGroup>
<ItemGroup>
......
......@@ -128,7 +128,7 @@
<Reference Include="System.Numerics.Vectors" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="4.7.0.968" />
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1451" />
<PackageReference Include="Xamarin.Essentials" Version="1.5.3.2" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
......
......@@ -4,7 +4,6 @@ using Xamarin.Forms;
using SampleApp.iOS;
using Xamarin.Forms.Platform.iOS;
using SampleApp.Views;
using SampleApp.Models;
[assembly: ExportRenderer(typeof(IFocusEvents), typeof(iOSFocusEvents))]
namespace SampleApp.iOS
......
using System;
using System.Runtime.Remoting.Contexts;
using System.Threading;
using System.Threading.Tasks;
using System.Timers;
using SampleApp.CustomRenderers;
using SampleApp.iOS;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
using fun5.iOS;
using System.Threading.Tasks;
using SampleApp.DependencyServices;
[assembly: ExportRenderer(typeof(CustomLabel),typeof(iOSHasFocus))]
namespace SampleApp.iOS
[assembly: Dependency(typeof(iOSFocus))]
namespace fun5.iOS
{
public class iOSHasFocus : LabelRenderer
{
protected override void OnElementChanged(ElementChangedEventArgs<Label> e)
{
base.OnElementChanged(e);
if (Control != null)
{
SetNativeControl(new AccessibleLabel());
}
}
}
public class AccessibleLabel : UILabel
public class iOSFocus : IIsFocused
{
public AccessibleLabel() : base()
{
Console.WriteLine("ACCESSIBLE LABEL CREATED");
if (AccessibilityElementIsFocused())
public bool isFocused(View v)
{
this.Text = "focus";
Console.WriteLine("accessibilityelementisfocused");
return v.GetRenderer().NativeView.AccessibilityElementIsFocused();
}
else
{
this.Text = "NOTinfocus";
Console.WriteLine("accessibilityelementisNOTinfocus");
}
}
public override bool AccessibilityElementIsFocused()
{
if (base.AccessibilityElementIsFocused())
{
return true;
}
else
{
return false;
}
}
}
}
using System;
using Xamarin.Forms;
namespace SampleApp.DependencyServices
{
public interface IIsFocused
{
bool isFocused(View v);
}
}
......@@ -11,7 +11,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="4.7.0.968" />
<PackageReference Include="Xamarin.Forms" Version="4.8.0.1451" />
<PackageReference Include="Xamarin.Essentials" Version="1.5.3.2" />
</ItemGroup>
<ItemGroup>
......
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="SampleApp.Views.Functionality5">
<StackLayout x:Name="background"></StackLayout>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="SampleApp.Views.Functionality5" xmlns:local="clr-namespace:SampleApp;assembly=SampleApp">
<StackLayout x:Name="background">
<Image Source="{local:ImageResource SampleApp.images.bell.png}" x:Name="bellImage"></Image>
</StackLayout>
</ContentPage>
using System;
using System.Collections.Generic;
using SampleApp.CustomRenderers;
using System.Reflection;
using SampleApp.DependencyServices;
using Xamarin.Forms;
namespace SampleApp.Views
......@@ -8,25 +8,52 @@ namespace SampleApp.Views
public partial class Functionality5 : ContentPage
{
//label
Label label= new Label { Text = "Does the Bell's Image Have the Focus?", HorizontalOptions = LayoutOptions.CenterAndExpand };
Label labelYN = new Label { Text = "YES/ NO", HorizontalOptions = LayoutOptions.CenterAndExpand };
Label infoLabel = new Label { Text = "i: This view updates every 2 seconds", HorizontalOptions = LayoutOptions.CenterAndExpand, Margin = new Thickness(0, 200) };
IIsFocused dependency;
public Functionality5()
{
InitializeComponent();
dependency = DependencyService.Get<IIsFocused>();
CustomLabel label = new CustomLabel
{
Text = "Focus?",
HorizontalOptions = LayoutOptions.Center,
VerticalOptions = LayoutOptions.Center
};
background.Children.Add(label);
AutomationProperties.SetIsInAccessibleTree(label, true);
background.Children.Add(labelYN);
background.Children.Add(infoLabel);
AutomationProperties.SetIsInAccessibleTree(label, true);
AutomationProperties.SetIsInAccessibleTree(labelYN, true);
AutomationProperties.SetIsInAccessibleTree(bellImage, true);
AutomationProperties.SetHelpText(bellImage, "Bell Image");
// timer che si ripete ogni 2 secondi
Device.StartTimer(TimeSpan.FromMilliseconds(2000.0), () =>
{
Console.WriteLine("TIMER FIRED");
Device.BeginInvokeOnMainThread(() =>
{
if (dependency.isFocused(bellImage))
{
Console.WriteLine("is focused");
labelYN.TextColor = Color.Green;
labelYN.Text = "YES";
}
else
{
Console.WriteLine("is NOT focused");
labelYN.TextColor = Color.Red;
labelYN.Text = "NO";
}
});
return true; // runs again, or false to stop
});
}
}
}
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