title: Changing android system UI status bar height default values
body: <p>I am trying to change the system UI status bar height by messing around with the SystemUI values. This is an embedded system and <em>NOT</em> a phone app. Therefore, I build the whole android OS (Nougat currently) and I am free to mess around with it.</p>
  
  <p>Yet, under the  SystemUI\res\values\internal.xml I found:</p>
  
  <pre><code>&lt;dimen name="status_bar_height"&gt;@*android:dimen/status_bar_height&lt;/dimen&gt;
  &lt;dimen name="navigation_bar_height"&gt;@*android:dimen/navigation_bar_height&lt;/dimen&gt;
  &lt;dimen name="navigation_bar_height_car_mode"&gt;@*android:dimen/navigation_bar_height_car_mode&lt;/dimen&gt;
  &lt;color name="screen_pinning_primary_text"&gt;@*android:color/primary_text_default_material_light&lt;/color&gt;
  </code></pre>
  
  <p>then tried this:</p>
  
  <pre><code>&lt;!-- this is an experiment --&gt;
  &lt;dimen name="status_bar_height"&gt;50dp&lt;/dimen&gt;
  &lt;dimen name="navigation_bar_height"&gt;@*android:dimen/navigation_bar_height&lt;/dimen&gt;
  &lt;dimen name="navigation_bar_height_car_mode"&gt;@*android:dimen/navigation_bar_height_car_mode&lt;/dimen&gt;
  &lt;color name="screen_pinning_primary_text"&gt;@*android:color/primary_text_default_material_light&lt;/color&gt;
  </code></pre>
  
  <p>By changing the value to a random 50dp, I got the status bar to be wider. Yet, the drawing area now overlaps the status bar.</p>
  
  <p>Does anyone now if I can safely change the drawing area with simple changes? I don't want to change too many things in the OS. I am hoping to find a centralized place when I can easily change.</p>
  
  <p>Does anyone know a way or a good keyword to search? The status bar always go under the drawing area as shown below:</p>
  
  <p><a href="https://i.stack.imgur.com/fyPVV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fyPVV.png" alt="enter image description here"></a></p>
  
  <p>thank you.</p>