title: How does one remove the separator line / shadow between status bar and main screen?
body: <p>In my application, I'd like to keep status bar but make its background be the same as the main screen.</p>
  <p>So I created a custom theme to set application background:</p>
  <pre><code>&lt;resources&gt;
    &lt;style name=&quot;Theme.Shelves&quot; parent=&quot;android:Theme&quot;&gt;
      &lt;item name=&quot;android:windowBackground&quot;&gt;@drawable/background_shelf&lt;/item&gt;
      &lt;item name=&quot;android:windowNoTitle&quot;&gt;true&lt;/item&gt;
    &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  <p>Then put it in manifest:</p>
  <pre><code> &lt;application android:icon=&quot;@drawable/icon&quot; 
                android:theme=&quot;@style/Theme.Shelves&quot;
                android:label=&quot;@string/app_name&quot;&gt;
  
      &lt;activity android:name=&quot;.HelloWorld&quot;
                android:label=&quot;@string/app_name&quot;&gt;
  </code></pre>
  <p>And get this one:</p>
  <p><a href="http://i1178.photobucket.com/albums/x370/BinhNguyen84/device.png" rel="nofollow noreferrer">Screen shot 2 http://i1178.photobucket.com/albums/x370/BinhNguyen84/device.png</a></p>
  <p>Everything is okay except the separator line between status bar and main screen. I thought that it's because of text view padding, so I set it to zero but nothing changed.</p>
  <pre><code>public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      
      TextView tv = new TextView(this);
      tv.setText(&quot;Hello World&quot;);
      setContentView(tv);
      tv.setPadding(0,0,0,0);
  }
  </code></pre>