Как я могу положить MaterialDrawer меню выше ActionBar? Теперь, когда я открываю меню MaterialDrawer, мой ActionBar находится поверх него. Есть ли что-то вроде Z-индекса в CSS? : D Мой стиль Применение:место MaterialDrawer над панелью действий
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="AppTheme" parent="Theme.AppCompat.Light">
<item name="actionBarStyle">@style/ActionBar</item>
</style>
<style name="ActionBar" parent="Widget.AppCompat.Light.ActionBar">
<item name="background">@color/yellow_dark</item>
</style>
</resources>
Мой MaterialDrawer код инициализации:
DrawerBuilder().withActivity(activity).addDrawerItems(...).withSelectedItem(-1).withTranslucentStatusBar(false).withActionBarDrawerToggle(false).build()
час ttp: //www.androidhive.info/2015/04/android-getting-started-with-material-design/ – SANAT
Решение - заменяет ActionBar на [Панель инструментов] (https://developer.android.com/intl/ru /reference/android/widget/Toolbar.html) –