title: Android - Making activity full screen with status bar on top of it
body: <p>I want to make my activity full screen with status bar on top of it  like this picture:</p>
  
  <p><a href="https://i.stack.imgur.com/AXEifl.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/AXEifl.jpg" alt="enter image description here"></a></p>
  
  <p>I have used this code in <code>manifest</code> inside <code>activity</code> tag:</p>
  
  <pre><code>'android:theme="@style/Theme.AppCompat.Light.NoActionBar"'
  </code></pre>
  
  <p>But my view doesn't start from the status bar &amp; it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/mK5kRl.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/mK5kRl.jpg" alt="enter image description here"></a></p>
  
  <p>How can I make my <code>activity</code> look like the first one?</p>