沉浸式标题栏样式
2016-05-17 19:22
609 查看
values-v11下
//去标题
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
<!-- API 11 theme customizations can go here. -->
<item name="@style/qubiaoti">@style/qubiaoti</item>
</style>
//沉浸式标题栏样式
<style name="FullBleedTheme" parent="@android:Theme.Holo.Light.NoActionBar.TranslucentDecor">
<!-- API 19 theme customizations can go here. -->
<item name="@style/qubiaoti">@style/qubiaoti</item>
<item name="@style/AppBaseTheme">@style/AppBaseTheme</item>
</style>
//项目清单中 给类设置样式
android:theme="@style/FullBleedTheme"
//去标题
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
<!-- API 11 theme customizations can go here. -->
<item name="@style/qubiaoti">@style/qubiaoti</item>
</style>
//沉浸式标题栏样式
<style name="FullBleedTheme" parent="@android:Theme.Holo.Light.NoActionBar.TranslucentDecor">
<!-- API 19 theme customizations can go here. -->
<item name="@style/qubiaoti">@style/qubiaoti</item>
<item name="@style/AppBaseTheme">@style/AppBaseTheme</item>
</style>
//项目清单中 给类设置样式
android:theme="@style/FullBleedTheme"
相关文章推荐
- js获取非行间样式
- js去除所有标签行内样式
- CSS文件及样式命名规范
- 自定义toast样式和指定显示位置
- CSS学习之网格布局grid system - CSS: The Missing Manual
- css border
- CSS选择器
- 深入了解css的行高Line Height属性(图文并茂)
- CSS3京东图片动画
- <css3>2D动画
- <css3>font
- <css3>text
- <css3>background
- css3
- CSS学习之Position属性 - CSS: The Missing Manual
- CSS box-flex属性,然后弹性盒子模型简介
- css的常用操作示例
- css中的position用法
- css cursor属性
- 使用css使textbox输入内容自动变大写