Android UI ActionBar功能-启动ActionBar
2016-12-01 00:00
351 查看
官方帮助文档: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属性,分别为:
----------------------------------------------------------------------------------------------------------------
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
- Android UI ActionBar功能-启动ActionBar
- Android UI ActionBar功能-ActionBarSherlock 的使用
- Android UI ActionBar功能-自定义Tab功能
- Android UI ActionBar功能-ActionBarProvider的使用
- Android UI ActionBar功能-在 Action Bar 上添加按钮
- Android UI ActionBar功能-在 Action Bar 上添加按钮
- Android UI ActionBar功能-自动隐藏 Action Bar
- Android UI ActionBar功能-在 Action Bar 上添加按钮
- Android UI ActionBar功能-ActionBarSherlock 的使用
- Android UI ActionBar功能-Action Bar 左上角的向上或返回按钮
- Android UI ActionBar功能-自定义 Action Bar 样式
- Android UI ActionBar功能-自定义 Action Bar 样式
- Android UI ActionBar功能-Action Bar 左上角的向上或返回按钮
- Android UI ActionBar功能-自定义 Action Bar 样式
- Android UI ActionBar功能-Action Bar 左上角的向上或返回按钮
- Android UI ActionBar功能-ActionBarSherlock 的使用
- Android UI ActionBar功能-自动隐藏 Action Bar
- Android UI ActionBar功能-ActionBarProvider的使用
- Android UI ActionBar功能-ActionBarProvider的使用