2
我創建了一個自定義Holo主題,我想在其中自定義Dialog外觀。 對話框的屬性是什麼?在Android中設置對話框主題爲父主題
<style name="MyHolo" parent="@android:style/Theme.Holo.Light">
<item name="android:actionBarStyle">@style/MyActionBar</item>
<item name="*********">@style/MyDialogStyle</item>
....
</style>
<style name="MyDialogStyle" parent="android:style/Theme.Dialog">
<item name="android:textColor">#223523</item>
...
</style>
和清單:
<activity android:theme="@style/MyHolo">
PS我在哪裏可以找到所有的屬性?我沒有看到他們所有的一個地方。
不能使用Theme.Holo.Light.Dialog.Alert作爲我的對話主題的父(alertDialogTheme) – jjalonso
移至https://github.com/android/platform_frameworks_base/blob/master/core/res/ RES /值/ themes_holo.xml –