您如何在android中获得黑色主题对话框,如android指南http://developer.android.com/guide/topics/ui/dialogs.html上所示
我截屏了。每当我使用“警报对话框”时,都会在左侧显示该对话框,而在右侧则需要一个对话框。
res / values / styles.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="default_activity_theme" parent="@android:style/Theme.Holo"/>
</resources>
AndroidManifest.xml
<activity android:name=".ActivityMain"
android:theme="@style/default_activity_theme"/>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句