Android UI ActionBar功能-启动ActionBar
2015-10-04 21:58
573 查看
官方帮助文档:http://wear.techbrood.com/training/basics/actionbar/index.html
----------------------------------------------------------------------------------------------------------------
ActionBar在官方文档中注明在Android3.0以后的版本(3.0以前的版本需要引入android.support.v7 的Library 详细说明请看官方文档:http://wear.techbrood.com/training/basics/actionbar/setting-up.html)中自带了ActionBar功能,并且配置备了三种主题:
分别从上往下是:
Theme.Holo.Light
Theme.Holo.Light.DarkActionBar
只要在应用程序的AndroidManifest.xml中设置其主题即可:
AndroidManifest.xml的Application 节点中的 android:theme属性,分别为:
android:theme="@android:style/Theme.Holo"
----------------------------------------------------------------------------------------------------------------
ActionBar在官方文档中注明在Android3.0以后的版本(3.0以前的版本需要引入android.support.v7 的Library 详细说明请看官方文档:http://wear.techbrood.com/training/basics/actionbar/setting-up.html)中自带了ActionBar功能,并且配置备了三种主题:
分别从上往下是:
Theme.Holo
Theme.Holo.Light
Theme.Holo.Light.DarkActionBar
只要在应用程序的AndroidManifest.xml中设置其主题即可:
AndroidManifest.xml的Application 节点中的 android:theme属性,分别为:
android:theme="@android:style/Theme.Holo"
android:theme="@android:style/Theme.Holo.Light"
android:theme="@android:style/Theme.Holo.Light.DarkActionBar"
相关文章推荐
- Android UI ActionBar功能-启动ActionBar
- iOS编程-------UIView
- 我写了一个高并发的BlockingQueue,有兴趣的可以看看
- mysql query cache用法与性能详细介绍
- FreeSWITCH安装报错“You must install libyuv-dev to build mod_fsv”的解决方案
- UI课程14 标签视图控制器 UITabBarController
- iOS编程------UILabel
- hdoj 5496 Beauty of Sequence 【求序列所有子序列(去重后)的和】【好题】
- valueOf intValue parsetInt区别
- Handler、Message、MessageQueue、Looper关系及源码分析
- UI课程12 模态viewController,单例及单例模式
- iOS常用UI控件熟悉
- KVO(Key-Value-Observer)键值观察者
- UITableViewCell加载图片
- Servlet的学习之Request请求对象(2)
- ios-UI常见问题之TableView异步加载图片错乱显示
- The JSP specification requires that an attribute name is preceded by whitespace
- SPOJ 1771 NQUEEN (DLX解n皇后问题)
- POST和GET、NSMutableURLRequest和NSURLRequest两组分别的区别
- ZOJ2587 Unique Attack(判定最小割唯一性)