title: Disabling the title bar in landscape mode
body: <p>Noob here, having an issue with the action bar in landscape mode (want to keep it in portrait mode).</p>
  
  <p>I post a sample of my manifest xml file having tried the info in other threads.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;application
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:roundIcon="@mipmap/ic_launcher_round"
      android:supportsRtl="true"
      android:theme="@style/AppTheme"&gt;
      &lt;activity
          android:name=".MainActivity"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>my styles.xml</p>
  
  <pre><code>&lt;resources&gt;
  &lt;!-- Base application theme. --&gt;
  &lt;style name="AppTheme" parent="Theme.AppCompat.Light"&gt;
      &lt;!-- Primary theme color of the app (sets background color of app bar) --&gt;
      &lt;item name="colorPrimary"&gt;#ffcfcf&lt;/item&gt;
      &lt;!-- Background color of buttons in the app --&gt;
      &lt;item name="colorButtonNormal"&gt;#ff8383&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="AppThemeNoActionBar" parent="AppTheme"&gt;
      &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
      &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>a snippet from my land\activity_main.xml</p>
  
  <pre><code>&lt;RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:style="@style/AppThemeNoActionBar"&gt;
  
  &lt;ImageView
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:src="@drawable/love3"
      android:scaleType="centerCrop"/&gt;
  </code></pre>
  
  <p>...</p>
  
  <p>I have tried changing the parent in styles.xml from AppTheme to Theme.AppCompat.Light to no avail.</p>
  
  <p>portrait layout xml does not have android:style="@style/AppThemeNoActionBar"</p>
  
  <p>Any pointers would be great!</p>