title: How can I check the status bar colour in Android?
body: <p>How can I check the status bar colour in Android?  </p>
  
  <p>Why do I need to check this?  I have created my status bar icons as per <a href="http://developer.android.com/guide/practices/ui_guidelines/icon_design_status_bar.html" rel="nofollow">the design guidelines</a> however on some devices (Samsung Galaxy S) the status bar is black and it is running Android 2.1.</p>
  
  <p>The recommendations for the status bar icons look great on Android 2.3 (Nexus S) and within the emulator (earlier Android 2.1) with the default light grey status bar.  However the black icons that are recommended for pre-2.3 don't look clear on the Samsung Galaxy S.</p>
  
  <p>I would like to provide a white icon if the Android is running 2.1 or 2.2 with a black status bar.</p>
  
  <p>Basically the problem is that the Android design guidelines don't really cover the phones that changed the UI like the Samsung Galaxy S. For example the Samsung Galaxy S running Android 2.1 should have a light grey status bar but it has a black one.  This doesn't fit in well with Google's provided design guidelines.</p>