diff --git a/QuickPlay/MainActivity.cs b/QuickPlay/MainActivity.cs index f61e704..bfa3de0 100644 --- a/QuickPlay/MainActivity.cs +++ b/QuickPlay/MainActivity.cs @@ -39,9 +39,9 @@ namespace QuickPlay SetContentView(Resource.Layout.activity_main); // UI Toolbar initialization - // var toolbar = FindViewById(Resource.Id.toolbar); - // SetSupportActionBar(toolbar); - // ActionBar.Title = "My Toolbar"; + var toolbar = FindViewById(Resource.Id.toolbar); + SetSupportActionBar(toolbar); + toolbar.Title = "My Toolbar"; } List acquirePlayerConfigs() diff --git a/QuickPlay/Resources/Resource.designer.cs b/QuickPlay/Resources/Resource.designer.cs index 2c6ac07..2677b4f 100644 --- a/QuickPlay/Resources/Resource.designer.cs +++ b/QuickPlay/Resources/Resource.designer.cs @@ -1911,17 +1911,17 @@ namespace QuickPlay // aapt resource value: 0x7f0b0043 public const int action_bar_title = 2131427395; - // aapt resource value: 0x7f0b0077 - public const int action_container = 2131427447; + // aapt resource value: 0x7f0b0078 + public const int action_container = 2131427448; // aapt resource value: 0x7f0b0068 public const int action_context_bar = 2131427432; - // aapt resource value: 0x7f0b0082 - public const int action_divider = 2131427458; + // aapt resource value: 0x7f0b0083 + public const int action_divider = 2131427459; - // aapt resource value: 0x7f0b0078 - public const int action_image = 2131427448; + // aapt resource value: 0x7f0b0079 + public const int action_image = 2131427449; // aapt resource value: 0x7f0b0002 public const int action_menu_divider = 2131427330; @@ -1938,14 +1938,14 @@ namespace QuickPlay // aapt resource value: 0x7f0b0045 public const int action_mode_close_button = 2131427397; - // aapt resource value: 0x7f0b0085 - public const int action_settings = 2131427461; + // aapt resource value: 0x7f0b0086 + public const int action_settings = 2131427462; - // aapt resource value: 0x7f0b0079 - public const int action_text = 2131427449; + // aapt resource value: 0x7f0b007a + public const int action_text = 2131427450; - // aapt resource value: 0x7f0b0083 - public const int actions = 2131427459; + // aapt resource value: 0x7f0b0084 + public const int actions = 2131427460; // aapt resource value: 0x7f0b0046 public const int activity_chooser_view_content = 2131427398; @@ -1989,8 +1989,8 @@ namespace QuickPlay // aapt resource value: 0x7f0b0060 public const int checkbox = 2131427424; - // aapt resource value: 0x7f0b0081 - public const int chronometer = 2131427457; + // aapt resource value: 0x7f0b0082 + public const int chronometer = 2131427458; // aapt resource value: 0x7f0b0036 public const int clip_horizontal = 2131427382; @@ -2058,8 +2058,8 @@ namespace QuickPlay // aapt resource value: 0x7f0b004b public const int icon = 2131427403; - // aapt resource value: 0x7f0b0084 - public const int icon_group = 2131427460; + // aapt resource value: 0x7f0b0085 + public const int icon_group = 2131427461; // aapt resource value: 0x7f0b002e public const int ifRoom = 2131427374; @@ -2067,8 +2067,8 @@ namespace QuickPlay // aapt resource value: 0x7f0b0048 public const int image = 2131427400; - // aapt resource value: 0x7f0b007d - public const int info = 2131427453; + // aapt resource value: 0x7f0b007e + public const int info = 2131427454; // aapt resource value: 0x7f0b0042 public const int italic = 2131427394; @@ -2106,14 +2106,14 @@ namespace QuickPlay // aapt resource value: 0x7f0b0012 public const int normal = 2131427346; - // aapt resource value: 0x7f0b007f - public const int notification_background = 2131427455; + // aapt resource value: 0x7f0b0080 + public const int notification_background = 2131427456; - // aapt resource value: 0x7f0b007b - public const int notification_main_column = 2131427451; + // aapt resource value: 0x7f0b007c + public const int notification_main_column = 2131427452; - // aapt resource value: 0x7f0b007a - public const int notification_main_column_container = 2131427450; + // aapt resource value: 0x7f0b007b + public const int notification_main_column_container = 2131427451; // aapt resource value: 0x7f0b004e public const int parentPanel = 2131427406; @@ -2130,11 +2130,11 @@ namespace QuickPlay // aapt resource value: 0x7f0b003c public const int right = 2131427388; - // aapt resource value: 0x7f0b007e - public const int right_icon = 2131427454; + // aapt resource value: 0x7f0b007f + public const int right_icon = 2131427455; - // aapt resource value: 0x7f0b007c - public const int right_side = 2131427452; + // aapt resource value: 0x7f0b007d + public const int right_side = 2131427453; // aapt resource value: 0x7f0b001d public const int screen = 2131427357; @@ -2241,8 +2241,8 @@ namespace QuickPlay // aapt resource value: 0x7f0b0052 public const int textSpacerNoTitle = 2131427410; - // aapt resource value: 0x7f0b0080 - public const int time = 2131427456; + // aapt resource value: 0x7f0b0081 + public const int time = 2131427457; // aapt resource value: 0x7f0b0010 public const int title = 2131427344; @@ -2253,6 +2253,9 @@ namespace QuickPlay // aapt resource value: 0x7f0b0058 public const int title_template = 2131427416; + // aapt resource value: 0x7f0b0077 + public const int toolbar = 2131427447; + // aapt resource value: 0x7f0b0032 public const int top = 2131427378; diff --git a/QuickPlay/Resources/layout/activity_main.xml b/QuickPlay/Resources/layout/activity_main.xml index 7daca4d..7a09dd6 100644 --- a/QuickPlay/Resources/layout/activity_main.xml +++ b/QuickPlay/Resources/layout/activity_main.xml @@ -19,12 +19,12 @@ android:layout_height="fill_parent" android:layout_width="fill_parent" > - + diff --git a/QuickPlay/Resources/values/styles.xml b/QuickPlay/Resources/values/styles.xml index 545b9c6..c712d3d 100644 --- a/QuickPlay/Resources/values/styles.xml +++ b/QuickPlay/Resources/values/styles.xml @@ -6,6 +6,8 @@ @color/colorPrimary @color/colorPrimaryDark @color/colorAccent + false + true