Often I see this toolbar declaration in layout files:
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" app:popupTheme="@style/ThemeOverlay.AppCompat.Light"> </android.support.v7.widget.Toolbar>
Why are there two attributes associated with the theme: theme and popupTheme?
What are the goals of each of them?
android android-support-library appcompat android-toolbar
Vitaly Zinchenko Dec 03 '15 at 9:09 2015-12-03 09:09
source share