Apply a theme to an Activity or application
2015-06-26 13:21
369 查看
Apply a theme to an Activity or application
To set a theme for all the activities of your application, open theAndroidManifest.xmlfile andedit the
<application>tag to include the
android:themeattribute with the style name. For example:
<application android:theme="@style/CustomTheme">
If you want a theme applied to just one Activity in your application, then add the
android:themeattribute to the
<activity>tag instead.
http://developer.android.com/guide/topics/ui/themes.html#ApplyATheme
相关文章推荐
- android 开发点滴
- 使用ShareSDK无法微信分享的解决方法,sharesdk分享
- android 一个TextView中显示不同颜色的字体
- [教程] 关于如何解决Adb无法连接的解决方案
- 解决C++与object-c混合编译
- Objective-C(四、属性声明与功能,点语法)——iOS开发基础
- Android数据存储和访问
- 两款天气预报APP产品分析
- 为Apple立起死亡flag
- 苹果开发者账号注册&真机调试
- android-pull方式解析xml文件以及XML文件的序列化
- Android app开发中用户协议(使用条款)文字自动换行
- cocos2d-x3.6 连连看点击事件
- Android 获取屏幕高度、标题高度、状态栏高度详解
- Android monkey 初步
- Android M的App Links实现详解
- android不是内部或外部命令,也不是可运行的程序或批处理文件
- Android中的软件Watchdog
- android studio debug
- Android调用系统功能获取当前经纬度