mobile loginpage

This commit is contained in:
Aigio Liu
2021-04-06 12:14:40 +08:00
parent 8abcbc9508
commit ffe15dbe87
21 changed files with 220 additions and 194 deletions
+180 -172
View File
@@ -800,6 +800,7 @@ namespace System.Application.Launch
global::System.Application.Resource.Color.cardview_shadow_start_color = global::System.Application.Launch.Resource.Color.cardview_shadow_start_color;
global::System.Application.Resource.Color.checkbox_themeable_attribute_color = global::System.Application.Launch.Resource.Color.checkbox_themeable_attribute_color;
global::System.Application.Resource.Color.colorAccent = global::System.Application.Launch.Resource.Color.colorAccent;
global::System.Application.Resource.Color.colorControlHighlight = global::System.Application.Launch.Resource.Color.colorControlHighlight;
global::System.Application.Resource.Color.colorPrimary = global::System.Application.Launch.Resource.Color.colorPrimary;
global::System.Application.Resource.Color.design_bottom_navigation_shadow_color = global::System.Application.Launch.Resource.Color.design_bottom_navigation_shadow_color;
global::System.Application.Resource.Color.design_box_stroke_color = global::System.Application.Launch.Resource.Color.design_box_stroke_color;
@@ -1448,6 +1449,7 @@ namespace System.Application.Launch
global::System.Application.Resource.Drawable.splash_logo = global::System.Application.Launch.Resource.Drawable.splash_logo;
global::System.Application.Resource.Drawable.splash_screen = global::System.Application.Launch.Resource.Drawable.splash_screen;
global::System.Application.Resource.Drawable.test_custom_background = global::System.Application.Launch.Resource.Drawable.test_custom_background;
global::System.Application.Resource.Drawable.text_cursor = global::System.Application.Launch.Resource.Drawable.text_cursor;
global::System.Application.Resource.Drawable.tooltip_frame_dark = global::System.Application.Launch.Resource.Drawable.tooltip_frame_dark;
global::System.Application.Resource.Drawable.tooltip_frame_light = global::System.Application.Launch.Resource.Drawable.tooltip_frame_light;
global::System.Application.Resource.Drawable.xamarin_logo = global::System.Application.Launch.Resource.Drawable.xamarin_logo;
@@ -17172,481 +17174,484 @@ namespace System.Application.Launch
public const int colorAccent = 2131034162;
// aapt resource value: 0x7F050033
public const int colorPrimary = 2131034163;
public const int colorControlHighlight = 2131034163;
// aapt resource value: 0x7F050034
public const int design_bottom_navigation_shadow_color = 2131034164;
public const int colorPrimary = 2131034164;
// aapt resource value: 0x7F050035
public const int design_box_stroke_color = 2131034165;
public const int design_bottom_navigation_shadow_color = 2131034165;
// aapt resource value: 0x7F050036
public const int design_dark_default_color_background = 2131034166;
public const int design_box_stroke_color = 2131034166;
// aapt resource value: 0x7F050037
public const int design_dark_default_color_error = 2131034167;
public const int design_dark_default_color_background = 2131034167;
// aapt resource value: 0x7F050038
public const int design_dark_default_color_on_background = 2131034168;
public const int design_dark_default_color_error = 2131034168;
// aapt resource value: 0x7F050039
public const int design_dark_default_color_on_error = 2131034169;
public const int design_dark_default_color_on_background = 2131034169;
// aapt resource value: 0x7F05003A
public const int design_dark_default_color_on_primary = 2131034170;
public const int design_dark_default_color_on_error = 2131034170;
// aapt resource value: 0x7F05003B
public const int design_dark_default_color_on_secondary = 2131034171;
public const int design_dark_default_color_on_primary = 2131034171;
// aapt resource value: 0x7F05003C
public const int design_dark_default_color_on_surface = 2131034172;
public const int design_dark_default_color_on_secondary = 2131034172;
// aapt resource value: 0x7F05003D
public const int design_dark_default_color_primary = 2131034173;
public const int design_dark_default_color_on_surface = 2131034173;
// aapt resource value: 0x7F05003E
public const int design_dark_default_color_primary_dark = 2131034174;
public const int design_dark_default_color_primary = 2131034174;
// aapt resource value: 0x7F05003F
public const int design_dark_default_color_primary_variant = 2131034175;
public const int design_dark_default_color_primary_dark = 2131034175;
// aapt resource value: 0x7F050040
public const int design_dark_default_color_secondary = 2131034176;
public const int design_dark_default_color_primary_variant = 2131034176;
// aapt resource value: 0x7F050041
public const int design_dark_default_color_secondary_variant = 2131034177;
public const int design_dark_default_color_secondary = 2131034177;
// aapt resource value: 0x7F050042
public const int design_dark_default_color_surface = 2131034178;
public const int design_dark_default_color_secondary_variant = 2131034178;
// aapt resource value: 0x7F050043
public const int design_default_color_background = 2131034179;
public const int design_dark_default_color_surface = 2131034179;
// aapt resource value: 0x7F050044
public const int design_default_color_error = 2131034180;
public const int design_default_color_background = 2131034180;
// aapt resource value: 0x7F050045
public const int design_default_color_on_background = 2131034181;
public const int design_default_color_error = 2131034181;
// aapt resource value: 0x7F050046
public const int design_default_color_on_error = 2131034182;
public const int design_default_color_on_background = 2131034182;
// aapt resource value: 0x7F050047
public const int design_default_color_on_primary = 2131034183;
public const int design_default_color_on_error = 2131034183;
// aapt resource value: 0x7F050048
public const int design_default_color_on_secondary = 2131034184;
public const int design_default_color_on_primary = 2131034184;
// aapt resource value: 0x7F050049
public const int design_default_color_on_surface = 2131034185;
public const int design_default_color_on_secondary = 2131034185;
// aapt resource value: 0x7F05004A
public const int design_default_color_primary = 2131034186;
public const int design_default_color_on_surface = 2131034186;
// aapt resource value: 0x7F05004B
public const int design_default_color_primary_dark = 2131034187;
public const int design_default_color_primary = 2131034187;
// aapt resource value: 0x7F05004C
public const int design_default_color_primary_variant = 2131034188;
public const int design_default_color_primary_dark = 2131034188;
// aapt resource value: 0x7F05004D
public const int design_default_color_secondary = 2131034189;
public const int design_default_color_primary_variant = 2131034189;
// aapt resource value: 0x7F05004E
public const int design_default_color_secondary_variant = 2131034190;
public const int design_default_color_secondary = 2131034190;
// aapt resource value: 0x7F05004F
public const int design_default_color_surface = 2131034191;
public const int design_default_color_secondary_variant = 2131034191;
// aapt resource value: 0x7F050050
public const int design_error = 2131034192;
public const int design_default_color_surface = 2131034192;
// aapt resource value: 0x7F050051
public const int design_fab_shadow_end_color = 2131034193;
public const int design_error = 2131034193;
// aapt resource value: 0x7F050052
public const int design_fab_shadow_mid_color = 2131034194;
public const int design_fab_shadow_end_color = 2131034194;
// aapt resource value: 0x7F050053
public const int design_fab_shadow_start_color = 2131034195;
public const int design_fab_shadow_mid_color = 2131034195;
// aapt resource value: 0x7F050054
public const int design_fab_stroke_end_inner_color = 2131034196;
public const int design_fab_shadow_start_color = 2131034196;
// aapt resource value: 0x7F050055
public const int design_fab_stroke_end_outer_color = 2131034197;
public const int design_fab_stroke_end_inner_color = 2131034197;
// aapt resource value: 0x7F050056
public const int design_fab_stroke_top_inner_color = 2131034198;
public const int design_fab_stroke_end_outer_color = 2131034198;
// aapt resource value: 0x7F050057
public const int design_fab_stroke_top_outer_color = 2131034199;
public const int design_fab_stroke_top_inner_color = 2131034199;
// aapt resource value: 0x7F050058
public const int design_icon_tint = 2131034200;
public const int design_fab_stroke_top_outer_color = 2131034200;
// aapt resource value: 0x7F050059
public const int design_snackbar_background_color = 2131034201;
public const int design_icon_tint = 2131034201;
// aapt resource value: 0x7F05005A
public const int dim_foreground_disabled_material_dark = 2131034202;
public const int design_snackbar_background_color = 2131034202;
// aapt resource value: 0x7F05005B
public const int dim_foreground_disabled_material_light = 2131034203;
public const int dim_foreground_disabled_material_dark = 2131034203;
// aapt resource value: 0x7F05005C
public const int dim_foreground_material_dark = 2131034204;
public const int dim_foreground_disabled_material_light = 2131034204;
// aapt resource value: 0x7F05005D
public const int dim_foreground_material_light = 2131034205;
public const int dim_foreground_material_dark = 2131034205;
// aapt resource value: 0x7F05005E
public const int error_color_material_dark = 2131034206;
public const int dim_foreground_material_light = 2131034206;
// aapt resource value: 0x7F05005F
public const int error_color_material_light = 2131034207;
public const int error_color_material_dark = 2131034207;
// aapt resource value: 0x7F050060
public const int foreground_material_dark = 2131034208;
public const int error_color_material_light = 2131034208;
// aapt resource value: 0x7F050061
public const int foreground_material_light = 2131034209;
public const int foreground_material_dark = 2131034209;
// aapt resource value: 0x7F050062
public const int highlighted_text_material_dark = 2131034210;
public const int foreground_material_light = 2131034210;
// aapt resource value: 0x7F050063
public const int highlighted_text_material_light = 2131034211;
public const int highlighted_text_material_dark = 2131034211;
// aapt resource value: 0x7F050064
public const int ic_launcher_background = 2131034212;
public const int highlighted_text_material_light = 2131034212;
// aapt resource value: 0x7F050065
public const int material_blue_grey_800 = 2131034213;
public const int ic_launcher_background = 2131034213;
// aapt resource value: 0x7F050066
public const int material_blue_grey_900 = 2131034214;
public const int material_blue_grey_800 = 2131034214;
// aapt resource value: 0x7F050067
public const int material_blue_grey_950 = 2131034215;
public const int material_blue_grey_900 = 2131034215;
// aapt resource value: 0x7F050068
public const int material_deep_teal_200 = 2131034216;
public const int material_blue_grey_950 = 2131034216;
// aapt resource value: 0x7F050069
public const int material_deep_teal_500 = 2131034217;
public const int material_deep_teal_200 = 2131034217;
// aapt resource value: 0x7F05006A
public const int material_grey_100 = 2131034218;
public const int material_deep_teal_500 = 2131034218;
// aapt resource value: 0x7F05006B
public const int material_grey_300 = 2131034219;
public const int material_grey_100 = 2131034219;
// aapt resource value: 0x7F05006C
public const int material_grey_50 = 2131034220;
public const int material_grey_300 = 2131034220;
// aapt resource value: 0x7F05006D
public const int material_grey_600 = 2131034221;
public const int material_grey_50 = 2131034221;
// aapt resource value: 0x7F05006E
public const int material_grey_800 = 2131034222;
public const int material_grey_600 = 2131034222;
// aapt resource value: 0x7F05006F
public const int material_grey_850 = 2131034223;
public const int material_grey_800 = 2131034223;
// aapt resource value: 0x7F050070
public const int material_grey_900 = 2131034224;
public const int material_grey_850 = 2131034224;
// aapt resource value: 0x7F050071
public const int material_on_background_disabled = 2131034225;
public const int material_grey_900 = 2131034225;
// aapt resource value: 0x7F050072
public const int material_on_background_emphasis_high_type = 2131034226;
public const int material_on_background_disabled = 2131034226;
// aapt resource value: 0x7F050073
public const int material_on_background_emphasis_medium = 2131034227;
public const int material_on_background_emphasis_high_type = 2131034227;
// aapt resource value: 0x7F050074
public const int material_on_primary_disabled = 2131034228;
public const int material_on_background_emphasis_medium = 2131034228;
// aapt resource value: 0x7F050075
public const int material_on_primary_emphasis_high_type = 2131034229;
public const int material_on_primary_disabled = 2131034229;
// aapt resource value: 0x7F050076
public const int material_on_primary_emphasis_medium = 2131034230;
public const int material_on_primary_emphasis_high_type = 2131034230;
// aapt resource value: 0x7F050077
public const int material_on_surface_disabled = 2131034231;
public const int material_on_primary_emphasis_medium = 2131034231;
// aapt resource value: 0x7F050078
public const int material_on_surface_emphasis_high_type = 2131034232;
public const int material_on_surface_disabled = 2131034232;
// aapt resource value: 0x7F050079
public const int material_on_surface_emphasis_medium = 2131034233;
public const int material_on_surface_emphasis_high_type = 2131034233;
// aapt resource value: 0x7F05007A
public const int material_on_surface_stroke = 2131034234;
public const int material_on_surface_emphasis_medium = 2131034234;
// aapt resource value: 0x7F05007B
public const int material_slider_active_tick_marks_color = 2131034235;
public const int material_on_surface_stroke = 2131034235;
// aapt resource value: 0x7F05007C
public const int material_slider_active_track_color = 2131034236;
public const int material_slider_active_tick_marks_color = 2131034236;
// aapt resource value: 0x7F05007D
public const int material_slider_halo_color = 2131034237;
public const int material_slider_active_track_color = 2131034237;
// aapt resource value: 0x7F05007E
public const int material_slider_inactive_tick_marks_color = 2131034238;
public const int material_slider_halo_color = 2131034238;
// aapt resource value: 0x7F05007F
public const int material_slider_inactive_track_color = 2131034239;
public const int material_slider_inactive_tick_marks_color = 2131034239;
// aapt resource value: 0x7F050080
public const int material_slider_thumb_color = 2131034240;
public const int material_slider_inactive_track_color = 2131034240;
// aapt resource value: 0x7F050081
public const int mtrl_bottom_nav_colored_item_tint = 2131034241;
public const int material_slider_thumb_color = 2131034241;
// aapt resource value: 0x7F050082
public const int mtrl_bottom_nav_colored_ripple_color = 2131034242;
public const int mtrl_bottom_nav_colored_item_tint = 2131034242;
// aapt resource value: 0x7F050083
public const int mtrl_bottom_nav_item_tint = 2131034243;
public const int mtrl_bottom_nav_colored_ripple_color = 2131034243;
// aapt resource value: 0x7F050084
public const int mtrl_bottom_nav_ripple_color = 2131034244;
public const int mtrl_bottom_nav_item_tint = 2131034244;
// aapt resource value: 0x7F050085
public const int mtrl_btn_bg_color_selector = 2131034245;
public const int mtrl_bottom_nav_ripple_color = 2131034245;
// aapt resource value: 0x7F050086
public const int mtrl_btn_ripple_color = 2131034246;
public const int mtrl_btn_bg_color_selector = 2131034246;
// aapt resource value: 0x7F050087
public const int mtrl_btn_stroke_color_selector = 2131034247;
public const int mtrl_btn_ripple_color = 2131034247;
// aapt resource value: 0x7F050088
public const int mtrl_btn_text_btn_bg_color_selector = 2131034248;
public const int mtrl_btn_stroke_color_selector = 2131034248;
// aapt resource value: 0x7F050089
public const int mtrl_btn_text_btn_ripple_color = 2131034249;
public const int mtrl_btn_text_btn_bg_color_selector = 2131034249;
// aapt resource value: 0x7F05008A
public const int mtrl_btn_text_color_disabled = 2131034250;
public const int mtrl_btn_text_btn_ripple_color = 2131034250;
// aapt resource value: 0x7F05008B
public const int mtrl_btn_text_color_selector = 2131034251;
public const int mtrl_btn_text_color_disabled = 2131034251;
// aapt resource value: 0x7F05008C
public const int mtrl_btn_transparent_bg_color = 2131034252;
public const int mtrl_btn_text_color_selector = 2131034252;
// aapt resource value: 0x7F05008D
public const int mtrl_calendar_item_stroke_color = 2131034253;
public const int mtrl_btn_transparent_bg_color = 2131034253;
// aapt resource value: 0x7F05008E
public const int mtrl_calendar_selected_range = 2131034254;
public const int mtrl_calendar_item_stroke_color = 2131034254;
// aapt resource value: 0x7F05008F
public const int mtrl_card_view_foreground = 2131034255;
public const int mtrl_calendar_selected_range = 2131034255;
// aapt resource value: 0x7F050090
public const int mtrl_card_view_ripple = 2131034256;
public const int mtrl_card_view_foreground = 2131034256;
// aapt resource value: 0x7F050091
public const int mtrl_chip_background_color = 2131034257;
public const int mtrl_card_view_ripple = 2131034257;
// aapt resource value: 0x7F050092
public const int mtrl_chip_close_icon_tint = 2131034258;
public const int mtrl_chip_background_color = 2131034258;
// aapt resource value: 0x7F050093
public const int mtrl_chip_ripple_color = 2131034259;
public const int mtrl_chip_close_icon_tint = 2131034259;
// aapt resource value: 0x7F050094
public const int mtrl_chip_surface_color = 2131034260;
public const int mtrl_chip_ripple_color = 2131034260;
// aapt resource value: 0x7F050095
public const int mtrl_chip_text_color = 2131034261;
public const int mtrl_chip_surface_color = 2131034261;
// aapt resource value: 0x7F050096
public const int mtrl_choice_chip_background_color = 2131034262;
public const int mtrl_chip_text_color = 2131034262;
// aapt resource value: 0x7F050097
public const int mtrl_choice_chip_ripple_color = 2131034263;
public const int mtrl_choice_chip_background_color = 2131034263;
// aapt resource value: 0x7F050098
public const int mtrl_choice_chip_text_color = 2131034264;
public const int mtrl_choice_chip_ripple_color = 2131034264;
// aapt resource value: 0x7F050099
public const int mtrl_error = 2131034265;
public const int mtrl_choice_chip_text_color = 2131034265;
// aapt resource value: 0x7F05009A
public const int mtrl_fab_bg_color_selector = 2131034266;
public const int mtrl_error = 2131034266;
// aapt resource value: 0x7F05009B
public const int mtrl_fab_icon_text_color_selector = 2131034267;
public const int mtrl_fab_bg_color_selector = 2131034267;
// aapt resource value: 0x7F05009C
public const int mtrl_fab_ripple_color = 2131034268;
public const int mtrl_fab_icon_text_color_selector = 2131034268;
// aapt resource value: 0x7F05009D
public const int mtrl_filled_background_color = 2131034269;
public const int mtrl_fab_ripple_color = 2131034269;
// aapt resource value: 0x7F05009E
public const int mtrl_filled_icon_tint = 2131034270;
public const int mtrl_filled_background_color = 2131034270;
// aapt resource value: 0x7F05009F
public const int mtrl_filled_stroke_color = 2131034271;
public const int mtrl_filled_icon_tint = 2131034271;
// aapt resource value: 0x7F0500A0
public const int mtrl_indicator_text_color = 2131034272;
public const int mtrl_filled_stroke_color = 2131034272;
// aapt resource value: 0x7F0500A1
public const int mtrl_navigation_item_background_color = 2131034273;
public const int mtrl_indicator_text_color = 2131034273;
// aapt resource value: 0x7F0500A2
public const int mtrl_navigation_item_icon_tint = 2131034274;
public const int mtrl_navigation_item_background_color = 2131034274;
// aapt resource value: 0x7F0500A3
public const int mtrl_navigation_item_text_color = 2131034275;
public const int mtrl_navigation_item_icon_tint = 2131034275;
// aapt resource value: 0x7F0500A4
public const int mtrl_on_primary_text_btn_text_color_selector = 2131034276;
public const int mtrl_navigation_item_text_color = 2131034276;
// aapt resource value: 0x7F0500A5
public const int mtrl_outlined_icon_tint = 2131034277;
public const int mtrl_on_primary_text_btn_text_color_selector = 2131034277;
// aapt resource value: 0x7F0500A6
public const int mtrl_outlined_stroke_color = 2131034278;
public const int mtrl_outlined_icon_tint = 2131034278;
// aapt resource value: 0x7F0500A7
public const int mtrl_popupmenu_overlay_color = 2131034279;
public const int mtrl_outlined_stroke_color = 2131034279;
// aapt resource value: 0x7F0500A8
public const int mtrl_scrim_color = 2131034280;
public const int mtrl_popupmenu_overlay_color = 2131034280;
// aapt resource value: 0x7F0500A9
public const int mtrl_tabs_colored_ripple_color = 2131034281;
public const int mtrl_scrim_color = 2131034281;
// aapt resource value: 0x7F0500AA
public const int mtrl_tabs_icon_color_selector = 2131034282;
public const int mtrl_tabs_colored_ripple_color = 2131034282;
// aapt resource value: 0x7F0500AB
public const int mtrl_tabs_icon_color_selector_colored = 2131034283;
public const int mtrl_tabs_icon_color_selector = 2131034283;
// aapt resource value: 0x7F0500AC
public const int mtrl_tabs_legacy_text_color_selector = 2131034284;
public const int mtrl_tabs_icon_color_selector_colored = 2131034284;
// aapt resource value: 0x7F0500AD
public const int mtrl_tabs_ripple_color = 2131034285;
// aapt resource value: 0x7F0500AF
public const int mtrl_textinput_default_box_stroke_color = 2131034287;
// aapt resource value: 0x7F0500B0
public const int mtrl_textinput_disabled_color = 2131034288;
// aapt resource value: 0x7F0500B1
public const int mtrl_textinput_filled_box_default_background_color = 2131034289;
// aapt resource value: 0x7F0500B2
public const int mtrl_textinput_focused_box_stroke_color = 2131034290;
// aapt resource value: 0x7F0500B3
public const int mtrl_textinput_hovered_box_stroke_color = 2131034291;
public const int mtrl_tabs_legacy_text_color_selector = 2131034285;
// aapt resource value: 0x7F0500AE
public const int mtrl_text_btn_text_color_selector = 2131034286;
public const int mtrl_tabs_ripple_color = 2131034286;
// aapt resource value: 0x7F0500B0
public const int mtrl_textinput_default_box_stroke_color = 2131034288;
// aapt resource value: 0x7F0500B1
public const int mtrl_textinput_disabled_color = 2131034289;
// aapt resource value: 0x7F0500B2
public const int mtrl_textinput_filled_box_default_background_color = 2131034290;
// aapt resource value: 0x7F0500B3
public const int mtrl_textinput_focused_box_stroke_color = 2131034291;
// aapt resource value: 0x7F0500B4
public const int notification_action_color_filter = 2131034292;
public const int mtrl_textinput_hovered_box_stroke_color = 2131034292;
// aapt resource value: 0x7F0500AF
public const int mtrl_text_btn_text_color_selector = 2131034287;
// aapt resource value: 0x7F0500B5
public const int notification_icon_bg_color = 2131034293;
public const int notification_action_color_filter = 2131034293;
// aapt resource value: 0x7F0500B6
public const int notification_material_background_media_default_color = 2131034294;
public const int notification_icon_bg_color = 2131034294;
// aapt resource value: 0x7F0500B7
public const int primary_dark_material_dark = 2131034295;
public const int notification_material_background_media_default_color = 2131034295;
// aapt resource value: 0x7F0500B8
public const int primary_dark_material_light = 2131034296;
public const int primary_dark_material_dark = 2131034296;
// aapt resource value: 0x7F0500B9
public const int primary_material_dark = 2131034297;
public const int primary_dark_material_light = 2131034297;
// aapt resource value: 0x7F0500BA
public const int primary_material_light = 2131034298;
public const int primary_material_dark = 2131034298;
// aapt resource value: 0x7F0500BB
public const int primary_text_default_material_dark = 2131034299;
public const int primary_material_light = 2131034299;
// aapt resource value: 0x7F0500BC
public const int primary_text_default_material_light = 2131034300;
public const int primary_text_default_material_dark = 2131034300;
// aapt resource value: 0x7F0500BD
public const int primary_text_disabled_material_dark = 2131034301;
public const int primary_text_default_material_light = 2131034301;
// aapt resource value: 0x7F0500BE
public const int primary_text_disabled_material_light = 2131034302;
public const int primary_text_disabled_material_dark = 2131034302;
// aapt resource value: 0x7F0500BF
public const int radiobutton_themeable_attribute_color = 2131034303;
public const int primary_text_disabled_material_light = 2131034303;
// aapt resource value: 0x7F0500C0
public const int ripple_material_dark = 2131034304;
public const int radiobutton_themeable_attribute_color = 2131034304;
// aapt resource value: 0x7F0500C1
public const int ripple_material_light = 2131034305;
public const int ripple_material_dark = 2131034305;
// aapt resource value: 0x7F0500C2
public const int secondary_text_default_material_dark = 2131034306;
public const int ripple_material_light = 2131034306;
// aapt resource value: 0x7F0500C3
public const int secondary_text_default_material_light = 2131034307;
public const int secondary_text_default_material_dark = 2131034307;
// aapt resource value: 0x7F0500C4
public const int secondary_text_disabled_material_dark = 2131034308;
public const int secondary_text_default_material_light = 2131034308;
// aapt resource value: 0x7F0500C5
public const int secondary_text_disabled_material_light = 2131034309;
public const int secondary_text_disabled_material_dark = 2131034309;
// aapt resource value: 0x7F0500C6
public const int splash_background = 2131034310;
public const int secondary_text_disabled_material_light = 2131034310;
// aapt resource value: 0x7F0500C7
public const int switch_thumb_disabled_material_dark = 2131034311;
public const int splash_background = 2131034311;
// aapt resource value: 0x7F0500C8
public const int switch_thumb_disabled_material_light = 2131034312;
public const int switch_thumb_disabled_material_dark = 2131034312;
// aapt resource value: 0x7F0500C9
public const int switch_thumb_material_dark = 2131034313;
public const int switch_thumb_disabled_material_light = 2131034313;
// aapt resource value: 0x7F0500CA
public const int switch_thumb_material_light = 2131034314;
public const int switch_thumb_material_dark = 2131034314;
// aapt resource value: 0x7F0500CB
public const int switch_thumb_normal_material_dark = 2131034315;
public const int switch_thumb_material_light = 2131034315;
// aapt resource value: 0x7F0500CC
public const int switch_thumb_normal_material_light = 2131034316;
public const int switch_thumb_normal_material_dark = 2131034316;
// aapt resource value: 0x7F0500CD
public const int test_mtrl_calendar_day = 2131034317;
public const int switch_thumb_normal_material_light = 2131034317;
// aapt resource value: 0x7F0500CE
public const int test_mtrl_calendar_day_selected = 2131034318;
public const int test_mtrl_calendar_day = 2131034318;
// aapt resource value: 0x7F0500CF
public const int tooltip_background_dark = 2131034319;
public const int test_mtrl_calendar_day_selected = 2131034319;
// aapt resource value: 0x7F0500D0
public const int tooltip_background_light = 2131034320;
public const int tooltip_background_dark = 2131034320;
// aapt resource value: 0x7F0500D1
public const int white_disabled_material = 2131034321;
public const int tooltip_background_light = 2131034321;
// aapt resource value: 0x7F0500D2
public const int white_disabled_material = 2131034322;
static Color()
{
@@ -19142,13 +19147,16 @@ namespace System.Application.Launch
public const int test_custom_background = 2131165331;
// aapt resource value: 0x7F070094
public const int tooltip_frame_dark = 2131165332;
public const int text_cursor = 2131165332;
// aapt resource value: 0x7F070095
public const int tooltip_frame_light = 2131165333;
public const int tooltip_frame_dark = 2131165333;
// aapt resource value: 0x7F070096
public const int xamarin_logo = 2131165334;
public const int tooltip_frame_light = 2131165334;
// aapt resource value: 0x7F070097
public const int xamarin_logo = 2131165335;
static Drawable()
{
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<size android:width="1dp" />
<solid android:color="@color/colorPrimary" />
</shape>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="splash_background">#222222</color>
</resources>
</resources>
@@ -2,6 +2,7 @@
<resources>
<color name="colorPrimary">#2196F3</color>
<color name="colorAccent">#4CAF50</color>
<color name="colorControlHighlight">#332196F3</color>
<color name="splash_background">#fcfcfc</color>
<color name="ic_launcher_background">#fcfcfc</color>
</resources>
@@ -15,6 +15,7 @@
<!--<item name="colorAccent">#FF4081</item>-->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="colorControlHighlight">@color/colorControlHighlight</item>
</style>
<style name="MainTheme.Splash.Base" parent ="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">@drawable/splash_screen</item>
@@ -121,8 +121,4 @@
<ItemGroup Condition="'$(Configuration)'=='Release' And Exists('$(MSBuildProjectDirectory)\..\..\rsa-public-key-release.pfx')">
<EmbeddedResource Include="..\..\rsa-public-key-release.pfx" LinkBase="Resources" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\layout\" />
</ItemGroup>
</Project>
@@ -1,4 +1,5 @@
using Android.Content;
using Android.Graphics.Drawables;
using System.Application.UI.Views.Controls;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
@@ -12,5 +13,14 @@ namespace System.Application.UI.Views.Controls
: base(context)
{
}
protected override FormsEditText CreateNativeControl()
{
var editText = base.CreateNativeControl();
editText.Background = null;
editText.TextSelectHandle = new ColorDrawable(Android.Graphics.Color.Transparent);
editText.SetTextCursorDrawable(Resource.Drawable.text_cursor);
return editText;
}
}
}
@@ -17,11 +17,9 @@ namespace System.Application.UI.Views.Controls
protected override AppCompatButton CreateNativeControl()
{
#pragma warning disable CS8603 // 可能的 null 引用返回。
#pragma warning disable CS8602 // 解引用可能出现空引用。
return LayoutInflater.From(Context).Inflate(Resource.Layout.controls_btntext, null).JavaCast<AppCompatButton>();
#pragma warning restore CS8602 // 解引用可能出现空引用。
#pragma warning restore CS8603 // 可能的 null 引用返回。
var view = LayoutInflater.From(Context).Inflate(Resource.Layout.controls_btntext, null).JavaCast<AppCompatButton>();
//view.Background = null;
return view;
}
}
}
@@ -6,5 +6,6 @@ namespace System.Application.UI.Views.Controls
{
public class TextBox : Xamarin.Forms.Entry
{
}
}
+14 -11
View File
@@ -12,35 +12,38 @@
Shell.NavBarIsVisible="False">
<ContentPage.Content>
<ScrollView>
<Grid Margin="16">
<Grid Margin="22,42">
<Grid.RowDefinitions>
<RowDefinition Height="192"/>
<RowDefinition Height="58"/>
<RowDefinition Height="58"/>
<RowDefinition Height="58"/>
<RowDefinition Height="56"/>
<RowDefinition Height="56"/>
<RowDefinition Height="56"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="96"/>
</Grid.ColumnDefinitions>
<Image Source="splash_logo.png" Margin="0,0,0,10" Grid.ColumnSpan="2"/>
<controls:TextBox Margin="0,0,0,10" Placeholder="请输入手机号码" Keyboard="Telephone" MaxLength="11" Grid.Row="1" Grid.ColumnSpan="2"/>
<controls:TextBox Margin="0,0,0,10" Placeholder="请输入短信验证码" MaxLength="6" Keyboard="Numeric" Grid.Row="2"/>
<controls:TextButton Margin="0,0,0,8" Text="获取验证码" Grid.Row="2" Grid.Column="1"/>
<Button Margin="0,0,0,10" Text="登录 / 注册" Command="{Binding LoginCommand}" Grid.Row="3" Grid.ColumnSpan="2"/>
<Image Scale="2" Source="splash_logo.png" Grid.ColumnSpan="2"/>
<controls:TextBox x:Name="TbPhoneNumber" ReturnType="Next" Margin="0,0,0,10" Placeholder="请输入手机号码" Keyboard="Telephone" MaxLength="11" Grid.Row="1" Grid.ColumnSpan="2"/>
<controls:TextBox x:Name="TbSmsCode" ReturnType="Done" Margin="0,0,0,10" Placeholder="请输入短信验证码" MaxLength="6" Keyboard="Numeric" Grid.Row="2" Grid.ColumnSpan="2"/>
<controls:TextButton Margin="0,0,0,8" Text="获取验证码" Grid.Row="2" Grid.Column="1" Command="{Binding LoginCommand}"/>
<Button Margin="0,0,0,12" Text="登录 / 注册" Command="{Binding LoginCommand}" Grid.Row="3" Grid.ColumnSpan="2"/>
<Label Margin="0,0,0,32" HorizontalOptions="Center" Grid.Row="4" Grid.ColumnSpan="2">
<Label.FormattedText>
<FormattedString>
<FormattedString.Spans>
<Span Text="登录或注册即代表您已阅读并同意 "/>
<Span Text="登录或注册即代表您已阅读并同意"/>
<Span Text=" "/>
<Span Text="用户协议" Style="{DynamicResource LinkText}">
<Span.GestureRecognizers>
<TapGestureRecognizer Command="{Binding LoginCommand}"
CommandParameter="https://docs.microsoft.com/xamarin/"/>
</Span.GestureRecognizers>
</Span>
<Span Text=" 和 "/>
<Span Text=" "/>
<Span Text="和"/>
<Span Text=" "/>
<Span Text="隐私政策" Style="{DynamicResource LinkText}">
<Span.GestureRecognizers>
<TapGestureRecognizer Command="{Binding LoginCommand}"
@@ -10,7 +10,9 @@ namespace System.Application.UI.Views
public LoginPage()
{
InitializeComponent();
this.BindingContext = new LoginViewModel();
BindingContext = new LoginViewModel();
TbPhoneNumber.ReturnCommand = new Command(() => TbSmsCode.Focus());
TbSmsCode.ReturnCommand = new Command(() => ((LoginViewModel)BindingContext).LoginCommand.Execute(null));
}
}
}