summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorTony Mantler <nicoya@google.com>2014-09-08 15:51:05 -0700
committerTony Mantler <nicoya@google.com>2014-09-08 15:51:05 -0700
commite5ac64a1037d62d5cf8815f835fbcd38ad199e8d (patch)
tree7620c84bf4c7440b7841dcc8b41b33a46382d59b /res/layout
parentc845295ffb23f45f4e6f2fb633b16b6d045c483e (diff)
downloadandroid_packages_apps_Email-e5ac64a1037d62d5cf8815f835fbcd38ad199e8d.tar.gz
android_packages_apps_Email-e5ac64a1037d62d5cf8815f835fbcd38ad199e8d.tar.bz2
android_packages_apps_Email-e5ac64a1037d62d5cf8815f835fbcd38ad199e8d.zip
Fix spinners layout mangling
Setting the gravity to center_vertical seems to make them behave. Not asking. Also clean up the layout file in general. b/17380851 Change-Id: I45ac202825295c577dd1a13a3176ac685bd9b9d8
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/account_setup_options_fragment.xml25
1 files changed, 10 insertions, 15 deletions
diff --git a/res/layout/account_setup_options_fragment.xml b/res/layout/account_setup_options_fragment.xml
index d5c6c8dd6..8dd44d61c 100644
--- a/res/layout/account_setup_options_fragment.xml
+++ b/res/layout/account_setup_options_fragment.xml
@@ -28,23 +28,18 @@
android:id="@+id/account_check_frequency"
android:layout_height="wrap_content"
android:layout_width="match_parent" />
- <LinearLayout
- android:id="@+id/account_sync_window_row"
+ <TextView
+ android:id="@+id/account_sync_window_label"
+ android:layout_height="wrap_content"
android:layout_width="match_parent"
+ android:text="@string/account_setup_options_mail_window_label"
+ android:visibility="gone"
+ style="@style/account_setup_label_text" />
+ <Spinner
+ android:id="@+id/account_sync_window"
android:layout_height="wrap_content"
- android:orientation="vertical"
- android:visibility="gone" >
- <TextView
- android:id="@+id/account_sync_window_label"
- android:text="@string/account_setup_options_mail_window_label"
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- style="@style/account_setup_label_text" />
- <Spinner
- android:id="@+id/account_sync_window"
- android:layout_height="wrap_content"
- android:layout_width="match_parent" />
- </LinearLayout>
+ android:layout_width="match_parent"
+ android:visibility="gone" />
<CheckBox
android:id="@+id/account_notify"
style="@style/account_setup_checkbox"