1
我很努力地將菜單項的文本顏色設置爲白色,但沒有獲得太多成功。在Smartface上設置菜單項的文本顏色(Android)
我已經試過:
this.actionBar.itemTextColor = "#ffffff"; //this is not working on Android
任何想法?我使用Smartface 4.3.0
我很努力地將菜單項的文本顏色設置爲白色,但沒有獲得太多成功。在Smartface上設置菜單項的文本顏色(Android)
我已經試過:
this.actionBar.itemTextColor = "#ffffff"; //this is not working on Android
任何想法?我使用Smartface 4.3.0
您可以使用文本顏色改變此代碼爲菜單項
<style
name="myCustomMenuTextApearance"parent="@android:style/TextAppearance.Widget.IconMenu.Item">
<item name="android:textColor">@android:color/primary_text_dark</item>
</style>
下面給出的鏈接給你全面的解決方案:: 訪問http://計算器。 COM /問題/ 3519277 /如何對變化的文字,顏色的菜單項功能於安卓 – JDK