I have defined a xml layout with the DatePicker widget as follows:
<DatePicker
android:id="@+id/SelectDate"
android:layout_marginTop="10dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center|center_horizontal|center_vertical">
</DatePicker>
and it is being displayed in mm/dd/yyyy
format, as below:
but how can I display the DatePicker widget in (dd/mm/yyyy) format,
as below?