发觉很多人都在问一个问题,就是如何将android:theme="@android:style/Theme.Dialog"和android:theme="@android:style/Theme.Light"属性组合起来用来呢?

方法其实很简单,就是将Theme.Light设置为的application属性,而Theme.Dialog则设置为Activity的属性:


<application android:theme="@android:style/Theme.Light">
<activity android:theme="@android:style/Theme.Dialog">

更多相关文章

  1. android 常用布局公用属性
  2. Android Studio 自动更新失败解决方法
  3. Android:控件属性
  4. 跟大家分享下Android布局文件layout.xml的一些属性值。
  5. android 获取路径目录方法
  6. Android layout布局属性、标签属性总结大全

随机推荐

  1. Android 点击两次返回键退出程序
  2. Android 图片旋转(使用Matrix.setRotate方
  3. Android中当前时间的动态显示
  4. Android的简单图形和view刷新
  5. android 创建 删除桌面快捷方式
  6. Android语音识别的具体实现实例
  7. Android Wi-Fi Disable Roaming in wpa_s
  8. NFC相关知识与材料(一)
  9. 【Android(安卓)开发教程】保存状态等信
  10. Android根据电量变化为不同图片的方法【