我想覆蓋progressBarStyle。在我的應用程序的默認主題是覆蓋ProgressBarStyle
<style name="AppBaseTheme" parent="android:Theme.Light.NoTitleBar">
,但我需要改變只有一個進度條樣式
android:Theme.NoTitleBar
我已經嘗試定製風格:
<style name="DarkTheme" parent="android:Theme.NoTitleBar">
<item name="android:progressBarStyle">@style/progressBarStyle</item>
</style>
,但得到
error: Error: No resource found that matches the given name (at 'android:progressBarStyle' with value '@style/progressBarStyle')
我必須使用系統默認的進度條,在
Theme.NoTitleBar
也許這將幫助,如果你告訴* *什麼錯誤你知道的。 – Geobits
'出錯了.'。更具體一點不會傷害 – njzk2