alertDialog设立主题theme的方法
2014-09-25 10:19
288 查看
alertDialog设置主题theme的方法
resources中定义
AlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(this, R.style.AlertDialogCustom));
resources中定义
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="AlertDialogCustom" parent="@android:style/AlertDialog"> <item name="android:textColor">#00FF00</item> <item name="android:typeface">monospace</item> <item name="android:textSize">10sp</item> </style> </resources>
相关文章推荐
- 【Android开发基础】应用界面主题Theme使用方法
- Android开发基础:应用界面主题Theme使用方法
- Eclipse: Eclipse Color Theme插件导入教程及”文本编辑区“字体、Eclipse-UI-Theme(用户界面主题)的调整方法
- 【Android开发基础】应用界面主题Theme使用方法
- Yii2创建多界面主题(Theme)的方法
- struts的ui标签,theme(主题)(如何去掉fielderror actionerror actionmessage前的小点,让其按自己要求显示的5种方法)
- 【Android开发基础】应用界面主题Theme使用方法
- 【Android开发基础】应用界面主题Theme使用方法
- 【Android开发基础】应用界面主题Theme使用方法
- 自定义 AlertDialog 主题的方法
- 应用界面主题Theme使用方法
- 应用界面主题Theme使用方法
- 应用界面主题Theme使用方法
- android应用界面主题Theme使用方法
- 应用界面主题Theme使用方法
- 【Android开发基础】应用界面主题Theme使用方法
- Android中应用界面主题Theme使用方法和页面定时跳转
- Android UI:界面主题Theme使用方法
- 【Android开发基础】应用界面主题Theme使用方法
- Eclipse: Eclipse Color Theme插件导入教程及”文本编辑区“字体、Eclipse-UI-Theme(用户界面主题)的调整方法