没有资源的发现,给定的名称匹配:ATTR'机器人:windowTranslucentNavigation“ [英] No resource found that matches the given name: attr 'android:windowTranslucentNavigation'

查看:204
本文介绍了没有资源的发现,给定的名称匹配:ATTR'机器人:windowTranslucentNavigation“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我努力让自己在设备上的导航栏透明的4.4。但是,SDK没有找到资源。

I'm trying to make the Navigation Bar transparent on devices with 4.4. However, the SDK does not find the resource.

下面是 RES /值-V19 / styles.xml 文件:

<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <style name="Theme.Myactionbar" parent="@android:style/Theme.Holo.Light">
       <item name="android:windowTranslucentStatus">true</item>
       <item name="android:windowTranslucentNavigation">true</item>
    </style>

</resources>

下面是与已安装的软件包的映像:

Here is an image with the installed packages:

在清单我有:

 <uses-sdk
    android:minSdkVersion="16"
    android:targetSdkVersion="19" />

我也试图清理并生成项目好几次,但没有任何反应。

I also have tried to Clean and Build the project several times, but nothing happens.

感谢

推荐答案

你也改变了项目的构建目标以是Android 4.4.2?

Did you also change the project's build target to Android 4.4.2?

project.properties 文件或

这篇关于没有资源的发现,给定的名称匹配:ATTR'机器人:windowTranslucentNavigation“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆