title: Date and time picker dialog
body: <p>I want to create a dialog which can select the <strong>time</strong> and the <strong>date at the same time</strong>.<br>
  I know that <a href="https://stackoverflow.com/a/2056819/833219">there is not a default widget that can do that on Android</a>. I also know that there are <a href="http://code.google.com/p/datetimepicker/" rel="nofollow noreferrer">open source projects</a> on how do similar staff. The problem in this project is that in the dialog we have two buttons: <em>datePicker</em> and <em>timePicker</em>.</p>
  
  <p><img src="https://i.stack.imgur.com/uAgNo.png" alt="enter image description here"></p>
  
  <p>And that's not what I want to do - I want that the date and time picker appear at the same time.<br>
  So I think the two main problem will be:</p>
  
  <ol>
  <li>First make the time and date picker appear in the same dialog.</li>
  <li>And the second problem will be to change the appearance of time and date picker (the orange color).</li>
  </ol>
  
  <p>The first problem was resolved by Bhavesh. Here is what I get:</p>
  
  <p><img src="https://i.stack.imgur.com/1QJ89.png" alt="enter image description here"></p>
  
  <p>The problem now is that I want to change all <em>blue bar color</em> to <em>orange color</em>.<br>
  I added <code>android:calendarViewShown="false"</code> to remove the calendar in the right :) Thanks Bhavesh and I changed the theme to <em>HOLO</em><br>
  Here is what I get:</p>
  
  <h2><img src="https://i.stack.imgur.com/KXpiM.png" alt="enter image description here"></h2>
  
  <p>You can download the code (that's the best I can do). You can download from <a href="http://www.filefactory.com/file/6mf3bl0alkhf/n/DateTimePicker_zip" rel="nofollow noreferrer">here</a>.</p>