问题很简单:我在哪里可以找到AlertDialog
标题布局的名称,以便在我的应用程序布局中重复使用它?谷歌搜索对我帮助不大,所以我只希望有人能提供一个快速的答案。谢谢你。
问问题
657 次
1 回答
1
你的意思是你想要样式或布局>@android:layout/alert_dialog_holo<
<>/android-sdk/platforms/android-15/data/res/values/styles.xml
<!-- Dialog styles -->
<style name="AlertDialog.Holo" parent="AlertDialog">
<item name="fullDark">@android:drawable/dialog_full_holo_dark</item>
<item name="topDark">@android:drawable/dialog_top_holo_dark</item>
<item name="centerDark">@android:drawable/dialog_middle_holo_dark</item>
<item name="bottomDark">@android:drawable/dialog_bottom_holo_dark</item>
<item name="fullBright">@android:drawable/dialog_full_holo_dark</item>
<item name="topBright">@android:drawable/dialog_top_holo_dark</item>
<item name="centerBright">@android:drawable/dialog_middle_holo_dark</item>
<item name="bottomBright">@android:drawable/dialog_bottom_holo_dark</item>
<item name="bottomMedium">@android:drawable/dialog_bottom_holo_dark</item>
<item name="centerMedium">@android:drawable/dialog_middle_holo_dark</item>
<item name="layout">@android:layout/alert_dialog_holo</item>
<item name="listLayout">@android:layout/select_dialog_holo</item>
<item name="progressLayout">@android:layout/progress_dialog_holo</item>
<item name="horizontalProgressLayout">@android:layout/alert_dialog_progress_holo</item>
<item name="listItemLayout">@android:layout/select_dialog_item_holo</item>
<item name="multiChoiceItemLayout">@android:layout/select_dialog_multichoice_holo</item>
<item name="singleChoiceItemLayout">@android:layout/select_dialog_singlechoice_holo</item>
</style>
于 2012-11-12T13:04:59.103 回答