ActionBar
来源:互联网 发布:nginx整合php 编辑:程序博客网 时间:2024/06/10 21:21
ActionBar位于Activity的顶部,可用来显示activity的标题、Icon、Actions和一些用于交互的View。它也可被用于应用的导航。
标题栏,经常要对标题栏进行操作。
ActionBar actionBar=getSupportActionBar();
1.隐藏标题栏
actionBar.hide();
2.显示标题栏
actionBar.show();
3.设置图标旁边的文字
actionBar.setSubtitle("mytest"); actionBar.setTitle("vogella.com");
0 0
- ActionBar
- ActionBar
- ActionBar
- Actionbar
- ActionBar
- actionbar
- actionBar
- actionbar
- ActionBar
- ActionBar
- ActionBar
- ActionBar
- ActionBar
- ActionBar
- actionbar
- ActionBar()
- actionbar
- ActionBar
- Linux进程关系
- opencv第四课----smooth函数使用(提出几个课后作业,希望完成)
- android中gravity和layout_gravity的区别
- 指针与引用
- SQL Server 2008 parseJSON函数将JSON解析成Table
- ActionBar
- js的闭包解决百度地图的信息窗口问题
- 跨域技术JSONP
- 狗狗们来袭!分享一个独立小游戏,狗狗后院!
- 指针
- 使用 ViewStub 延迟加载布局
- leetcode 120 Triangle
- mysql安装
- SQL Server 2008 clearhtml函数清除字段中的HTML标记