title: how to remove seconds from android digital clock
body: <pre><code>&lt;DigitalClock  
   android:id="@+id/digitalClock1"
   android:layout_width="wrap_content" 
   android:layout_height="wrap_content"
   android:layout_centerHorizontal="true" 
   android:layout_marginTop="10dp"
   android:textSize="20dp"
   android:text="DigitalClock"  
   android:textColor="#646464"/&gt;
  </code></pre>
  
  <p>that is the code for my digital clock and it appears on xml when i run my app like this. 16:39:51. 16 being hours 39 being mins and 51 being seconds. Is there a way i code it in xml or java so when my app is running the clock appears like this format instead 16:39 with 16 being the hours and 39 being the minuites?</p>