定義主題,我試圖在清單在Android應用
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
,並添加風格
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:style/Theme.Holo.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>
不管我做什麼,我總是有黑色行動酒吧並沒有什麼變化?我想申請Holo Light主題...
任何建議?
已經嘗試過... <活動 機器人:名字= 「***」 機器人:標籤=「@字符串/ app_name「 android:theme =」@ android:style/Theme.Light「> –
您是否爲自己的活動定義了佈局? – kai