Implement DateTimeSetings for Setup Wizard XL.

Make the orientation "behind", as XL would require landscape.

TODO:
- Automatic Time Zone should be available.
- Layout is immature: need to have better theme and layout xml.

Change-Id: Iafe141223a227643ca774f4df5e5b7fde9520d31
This commit is contained in:
Daisuke Miyakawa
2010-09-09 11:51:16 -07:00
parent 0f4f2f3a81
commit 71cc548f7e
7 changed files with 330 additions and 86 deletions

View File

@@ -15,30 +15,24 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:orientation="vertical">
<LinearLayout
android:orientation="vertical"
android:layout_height="0dip"
android:layout_width="match_parent"
android:layout_weight="1"
android:gravity="left">
<ListView android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:drawSelectorOnTop="false"
android:paddingTop="2dip"
/>
<LinearLayout android:layout_height="0px"
android:layout_weight="1"
android:layout_width="fill_parent"
android:orientation="vertical">
<fragment android:id="@+id/date_time_settings_fragment"
class="com.android.settings.DateTimeSettings"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
<RelativeLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:background="@android:drawable/bottom_bar">
<RelativeLayout android:layout_height="wrap_content"
android:layout_weight="0"
android:layout_width="fill_parent"
android:background="@android:drawable/bottom_bar">
<Button android:id="@+id/next_button"
android:layout_width="150dip"