找不到与给定名称匹配的资源:attr'android:windowTranslucentNavigation'

Lui*_*eri 2 android navigationbar android-4.4-kitkat

我正试图Navigation Bar在设备上使用4.4 进行透明化.但是,SDK找不到该资源.

这是res/values-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>
Run Code Online (Sandbox Code Playgroud)

这是包含已安装软件包的图像:

在此输入图像描述

在清单中我有:

 <uses-sdk
    android:minSdkVersion="16"
    android:targetSdkVersion="19" />
Run Code Online (Sandbox Code Playgroud)

我也尝试过多次清理和构建项目,但没有任何反应.

谢谢

mat*_*ash 6

您是否也将项目的构建目标更改为Android 4.4.2?

project.properties文件中,或:

在此输入图像描述