2013-10-28 24 views
0

這是我有的XML。我無法訪問actionbarstyle 在android爲我的應用程序創建自定義主題時,我無法訪問android:actionbarstyle?

<!-- 
    Base application theme for API 14+. This theme completely replaces 
    AppBaseTheme from BOTH res/values/styles.xml and 
    res/values-v11/styles.xml on API 14+ devices. 
-->`[<resources xmlns:android="http://schemas.android.com/apk/res/android"> 

<!-- 
    Base application theme for API 14+. This theme completely replaces 
    AppBaseTheme from BOTH res/values/styles.xml and 
    res/values-v11/styles.xml on API 14+ devices. 
--> 
<style name="AppBaseTheme" parent="android:Theme.Holo.Light"> 
    <item name="android:textColor">#ffa500</item> 

    <item name="android:actionbarstyle" 
</style> 

它不承認我的actionbarstyle.when我嘗試使用內容幫助它不顯示了actionbarstyle選項

我有我的清單文件

任何人都可以解釋如何定製我的應用程序的動作欄屬性?

一個小問題。 ACTIONBAR和ACTIONBARSHERLOCK有什麼區別?

回答

0

區別是Actionbar是一個原生的android小部件,而'ActionbarSherlok'是一個屬於同名第三方庫的小部件。請參閱Styling the Action Bar以瞭解如何自定義android Actionbar並參考此帖以瞭解如何自定義Sherlock Actionbar customizing action bar sherlock

相關問題