2015-08-14 44 views
2

我一直在努力做出API級別爲16的按鈕樣式(API級別22像魅力一樣工作)。我解決了它與buttonStyle爲什麼我需要使用buttonStyle而不是android:buttonStyle API level 16?

<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> 
    <!-- <item name="android:buttonStyle">@style/button</item> --> 
    <item name="buttonStyle">@style/button</item> 
</style> 

現在,它可工作在API層面更換android:buttonStyle,但現在我的問題是: 這究竟是爲什麼?

+0

真的嗎?主席先生,你可以擊中文件,生活會很好 – Elltz

+1

@Elltz我實際上做過,也許我不得不僱用更多時間。 – Michael

+0

:-)猜如此...... – Elltz

回答

相關問題