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 –