[英]action bar does not show After applying theme
這是我的風格頁面:
<resources>
<color name="for_custom">#ff4db0e8</color>
<style name="CustomTheme" parent="android:Theme.Light">
<item name="android:windowBackground">@color/for_custom</item>
<item name="android:actionBarTheme">@color/for_custom</item>
<item name="android:displayOptions">homeAsUp</item>
</style>
</resources>
這是我的清單:
<application android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:theme="@style/CustomTheme">
應用主題后,操作欄不顯示。為什么? 我怎么了
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.