diff options
author | Freeman Ng <tenorslowworm@google.com> | 2011-11-15 15:59:45 -0800 |
---|---|---|
committer | Freeman Ng <tenorslowworm@google.com> | 2011-11-15 17:15:55 -0800 |
commit | fd2945f3b11e5dedf191c20a8ab582f75fd58296 (patch) | |
tree | 0f1342596b66e205899c502f70c495958ed3959d /res | |
parent | b08c11028776bab44e2b919edc3a7bbc8f9308e6 (diff) | |
download | packages_apps_Settings-fd2945f3b11e5dedf191c20a8ab582f75fd58296.tar.gz packages_apps_Settings-fd2945f3b11e5dedf191c20a8ab582f75fd58296.tar.bz2 packages_apps_Settings-fd2945f3b11e5dedf191c20a8ab582f75fd58296.zip |
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
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/date_time_settings_setupwizard.xml | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/res/layout/date_time_settings_setupwizard.xml b/res/layout/date_time_settings_setupwizard.xml index 283a28ee7..95402cb0e 100644 --- a/res/layout/date_time_settings_setupwizard.xml +++ b/res/layout/date_time_settings_setupwizard.xml @@ -4,9 +4,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -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,19 +32,16 @@ <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" /> - + </RelativeLayout> - + </LinearLayout> |