title: Android: DigitalClock remove seconds
body: <p>I used this code for adding a clock to my app:</p>
  
  <pre><code>  &lt;DigitalClock 
  android:id="@+id/digitalclock"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:layout_alignParentLeft="true"
  android:textSize = "30sp"
  /&gt;
  </code></pre>
  
  <p>The problem is that it shows also seconds..there is a simple and fast way for hide those? I need just hours and minutes in hh:mm format instead of hh:mm:ss! any suggestions? Thanks!</p>