layout - Customize DatePicker. Android -
is there way customize datepicker? layout-code.
<?xml version="1.0" encoding="utf-8"?> <scrollview xmlns:android="http://schemas.android.com/apk/res/android"      android:layout_width="fill_parent"     android:layout_height="wrap_content">     <linearlayout         android:layout_width="wrap_content"          android:layout_height="wrap_content"         android:gravity="center_horizontal"          android:orientation="vertical">         <datepicker              android:id="@+id/ad_date_picker"             android:layout_height="wrap_content"             android:layout_width="wrap_content"             android:layout_margin="5dp"/>         <timepicker                      android:id="@+id/ad_time_picker"             android:layout_width="wrap_content"             android:layout_height="wrap_content"              android:layout_margin="5dp"/>     </linearlayout> </scrollview>   in case date format of datepicker mm-dd-yyyy , i'd have in dd-mm-yyyy, , if it's possible i'd have month's shortname instead of number.
i've tried find, how it, without success.
thank you,
mur
you can't customize default one.
from user interface page:
android provides set of implemented widgets, buttons, checkboxes, , text-entry fields, can build ui. widgets provided android more complex, date picker, clock, , zoom controls. you're not limited kinds of widgets provided android platform. if you'd more customized , create own actionable elements, can, defining own view object or extending , combining existing widgets.
read more in building custom components.
Comments
Post a Comment