Create a new Android Project target Android 3.0. Modify main.xml to add a DatePicker:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
<DatePicker
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
</LinearLayout>
- Compare with traditional look of DatePicker on Phone.
Next:
- Backward compatibility using Android Support Package
0 Response to "Honeycomb& tab look of DatePicker"
Post a Comment