title: Unable to use 'android:windowTranslucentNavigation'
body: <p>There is <a href="https://stackoverflow.com/questions/24098834/no-resource-found-that-matches-the-given-name-attr-androidwindowtranslucentna">a post of the same question and it has received an answer</a>.  I suspect my case is different and it may indicate a general problem of the project configuration.
  windowTranslucentNavigation is for API 19.  I have set targetSdkVersion inn both build.gradle and manifests.
  In build.gradle:</p>
  <pre><code>defaultConfig {
  applicationId &quot;xxx&quot;
  minSdkVersion 9
  targetSdkVersion 21
  // Enabling multidex support.
  multiDexEnabled true
  </code></pre>
  <p>}</p>
  <p>In manifests:</p>
  <pre><code>&lt;uses-sdk
  android:minSdkVersion=&quot;9&quot;
  android:targetSdkVersion=&quot;21&quot; /&gt;
  </code></pre>
  <p>Android Studio clearly knows about windowTranslucentNavigation. The following warning shows this:
  <img src="https://i.stack.imgur.com/vzGMf.png" alt="windowTranslucentNavigation warning" /></p>
  <p>When the project is built, the following error is generated:</p>
  <p>Error:(7, 29) No resource found that matches the given name: attr 'windowTranslucentNavigation'.</p>
  <p>Here is the contents of themes.xml:</p>
  <pre><code>&lt;resources&gt;
  &lt;!-- the theme applied to the application or activity --&gt;
  &lt;style name=&quot;OverlayingActionBarTheme&quot;
      parent=&quot;@style/Theme.AppCompat&quot;&gt;
      &lt;item name=&quot;android:windowActionBarOverlay&quot;&gt;true&lt;/item&gt;
      &lt;item name=&quot;android:actionBarStyle&quot;&gt;@style/TransparentActionBar&lt;/item&gt;
      &lt;item name=&quot;android:windowTranslucentNavigation&quot;&gt;true&lt;/item&gt;
      &lt;!-- Support library compatibility --&gt;
      &lt;item name=&quot;windowActionBarOverlay&quot;&gt;true&lt;/item&gt;
      &lt;item name=&quot;actionBarStyle&quot;&gt;@style/TransparentActionBar&lt;/item&gt;
      &lt;item name=&quot;windowTranslucentNavigation&quot;&gt;true&lt;/item&gt;
  &lt;/style&gt;
  &lt;!-- ActionBar styles --&gt;
  &lt;style name=&quot;TransparentActionBar&quot;
      parent=&quot;@style/Widget.AppCompat.ActionBar&quot;&gt;
      &lt;item name=&quot;android:background&quot;&gt;@color/black_overlay&lt;/item&gt;
  
      &lt;!-- Support library compatibility --&gt;
      &lt;item name=&quot;background&quot;&gt;@color/black_overlay&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Could anyone offer a tip on how to fix this?</p>