fix npe when launching datetime settings for phone setup wizard

also slightly "modernized" the UI while I was in there by removing
the button bar and button icon

bug: 5517928
Change-Id: I502d56780d7c3bd474fc5120a0b306def3c04dd4
This commit is contained in:
Freeman Ng
2011-11-15 15:59:45 -08:00
parent b08c110287
commit fd2945f3b1

View File

@@ -15,6 +15,7 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout_root"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:orientation="vertical">
@@ -31,16 +32,13 @@
<RelativeLayout android:layout_height="wrap_content"
android:layout_weight="0"
android:layout_width="fill_parent"
android:background="@android:drawable/bottom_bar">
android:padding="10dip"
android:layout_width="fill_parent">
<Button android:id="@+id/next_button"
android:layout_width="150dip"
android:layout_height="wrap_content"
android:layout_margin="5dip"
android:layout_alignParentRight="true"
android:drawableRight="@drawable/ic_btn_next"
android:drawablePadding="10dip"
android:text="@string/next_label"
/>