Hook Toolbar to code

develop
LEdoian 3 years ago
parent a5b244b50a
commit 93658787a5

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

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

Loading…
Cancel
Save