Hook Toolbar to code

develop
LEdoian 4 years ago
parent a5b244b50a
commit 93658787a5

@ -41,7 +41,7 @@ namespace QuickPlay
// UI Toolbar initialization // UI Toolbar initialization
var toolbar = FindViewById<Toolbar>(Resource.Id.toolbar); var toolbar = FindViewById<Toolbar>(Resource.Id.toolbar);
SetSupportActionBar(toolbar); SetSupportActionBar(toolbar);
toolbar.Title = "My Toolbar"; SupportActionBar.Title = "My Toolbar";
} }
List<PlayerConfiguration> acquirePlayerConfigs() List<PlayerConfiguration> acquirePlayerConfigs()

@ -23,6 +23,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
> >
<!-- <LinearLayout <!-- <LinearLayout
android:orientation="vertical" android:orientation="vertical"

Loading…
Cancel
Save