我经常在布局文件中看到Toolbar的声明:
<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>
为什么有两个属性与主题相关:主题和popupTheme?
它们每一个的目的是什么?
https://stackoverflow.com/questions/34061815
复制相似问题