Luis Lavieri
Luis Lavieri

Reputation: 4129

No resource found that matches the given name: attr 'android:windowTranslucentNavigation'

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

Here is res/values-v19/styles.xml file:

<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:

enter image description here

In the Manifest I have:

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

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

Thanks

Upvotes: 2

Views: 3768

Answers (1)

matiash
matiash

Reputation: 55360

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

In project.properties file, or:

enter image description here

Upvotes: 6

Related Questions