您的位置:首页 > 移动开发 > Android开发

Android 导航栏颜色修改

2016-12-12 11:28 246 查看
安卓4.4中

在res/values-v19文件夹下添加styles.xml文件内容如下

<style name="AppTheme" parent="AppBaseTheme">

<item name="android:windowTranslucentStatus">true</item>

</style>

之后在AndroidManifest.xml 中添加属性

android:background="@android:color/holo_blue_bright"


android:fitsSystemWindows="true"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: