title: Orientation changing padding on activity
body: <p>My app allows orientation change, it also allows for app continuation when orientation is changed by changing the activity line in AndroidManifest to this: </p>
  
  <pre><code>&lt;activity android:name="com.cynetstudios.frequencyselector.main" android:configChanges="orientation|screenSize"&gt;
  </code></pre>
  
  <p><strong>Problem:</strong></p>
  
  <p>However, starting my app can be done in 2 states:</p>
  
  <ul>
  <li><p><strong>Vertical</strong></p>
  
  <p>Application acts normally, default padding, no issue. <a href="http://imgur.com/eOUOjmo" rel="nofollow">Vertical Start</a>, <a href="http://imgur.com/OHbmXlw" rel="nofollow">Change to Horizontal</a> </p></li>
  <li><p><strong>Horizontal</strong></p>
  
  <p>Application has large padding on sides, thus being carried over onto the Vertical layout. <a href="http://imgur.com/eOUOjmo" rel="nofollow">Horizontal Start</a>, <a href="http://imgur.com/eOUOjmo" rel="nofollow">Change to Vertical</a></p></li>
  </ul>
  
  <p>I have done some research:</p>
  
  <p>It is mentioned to add the <code>configChange="Orientation"</code> which I have done, but also to add into my main class: </p>
  
  <pre><code>@Override
  public void onConfigurationChanged(Configuration newConfig) {
      super.onConfigurationChanged(newConfig);
      this.recreate();
  }
  </code></pre>
  
  <p>This does solve the problem but recreates the old issue of the application itself is recreated/relaunched, this any current tasks/threads is killed.</p>
  
  <p>Any suggestions for this padding issue?</p>