【发布时间】:2016-10-22 22:42:50
【问题描述】:
我有一个导航抽屉模板。我已经修改了操作栏,所以我看不到标题。而且我知道如何改变颜色,但我不知道如何获得这种效果:
这是我目前的状态:
这是我的styles.xml(我正在使用什么主题):
<resources>
<!-- 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.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
【问题讨论】:
标签: android android-actionbar themes transparent android-theme