问题很简单:我在哪里可以找到AlertDialog
标题布局的名称,以便我可以在我的应用程序布局中重复使用它?谷歌搜索并没有帮助我,所以我希望有人可以提供快速的答案。谢谢。
答案 0 :(得分: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>