Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- material design actionbar & toolbar -->
- <android.support.design.widget.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/AppTheme.AppBarOverlay">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:minHeight="?attr/actionBarSize"
- android:theme="@style/AppTheme.AppBarOverlay"
- app:popupTheme="@style/AppTheme.PopupOverlay"
- />
- </android.support.design.widget.AppBarLayout>
- android:theme="@style/AppTheme.AppBarOverlay"
- android:theme="@style/AppTheme.AppBarOverlay"
- app:popupTheme="@style/AppTheme.PopupOverlay"
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.v7.widget.Toolbar
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- app:popupTheme="@style/AppTheme.PopupOverlay"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/AppTheme.AppBarOverlay"
- app:popupTheme="@style/AppTheme.PopupOverlay"
- />
- <include layout="@layout/toolbar" android:id="@+id/toolbar">
- <!-- Base application theme. -->
- <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
- <!-- Customize your theme here. -->
- <item name="colorPrimary">@color/colorPrimary</item>
- <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
- <item name="colorAccent">@color/colorAccent</item>
- </style>
- <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
- <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
Add Comment
Please, Sign In to add comment