diff options
| author | Fred Quintana <fredq@google.com> | 2012-01-12 16:57:38 -0800 |
|---|---|---|
| committer | Fred Quintana <fredq@google.com> | 2012-01-12 16:57:38 -0800 |
| commit | 70c13b1957d12541f015547ca807d18471393aee (patch) | |
| tree | 4ac82b4ff6a474b609fdb73dfff2523d436d5667 /apps/Development | |
| parent | 112bc5e57e206ec3e0bc5a335b62eae2eb8892e8 (diff) | |
| download | android_development-70c13b1957d12541f015547ca807d18471393aee.tar.gz android_development-70c13b1957d12541f015547ca807d18471393aee.tar.bz2 android_development-70c13b1957d12541f015547ca807d18471393aee.zip | |
fix the layout oddness that occurrs in portrait mode
Change-Id: I42bb7479671c99220215cfc63d56d926baece10f
Diffstat (limited to 'apps/Development')
| -rw-r--r-- | apps/Development/res/layout/accounts_tester.xml | 162 |
1 files changed, 74 insertions, 88 deletions
diff --git a/apps/Development/res/layout/accounts_tester.xml b/apps/Development/res/layout/accounts_tester.xml index 28f1b4e2e..3bf408eac 100644 --- a/apps/Development/res/layout/accounts_tester.xml +++ b/apps/Development/res/layout/accounts_tester.xml @@ -20,95 +20,72 @@ android:layout_height="match_parent"> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView android:id="@+id/accounts_tester_account_types_spinner_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/accounts_tester_select_account_type"/> + + <Spinner android:id="@+id/accounts_tester_account_types_spinner" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + </LinearLayout> + + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <Button + android:id="@+id/accounts_tester_get_accounts_by_type" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/accounts_tester_get_accounts_by_type"/> + + <Button + android:id="@+id/accounts_tester_get_all_accounts" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/accounts_tester_get_all_accounts"/> + + <Button android:id="@+id/accounts_tester_get_auth_token_by_type_and_feature" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/accounts_tester_get_auth_token_by_type_and_feature"/> + + </LinearLayout> + + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <Button android:id="@+id/accounts_tester_add_account" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/accounts_tester_add_account"/> + + <Button android:id="@+id/accounts_tester_edit_properties" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/accounts_tester_edit_properties"/> + </LinearLayout> + + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content"> - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="horizontal" - android:layout_width="match_parent" - android:layout_height="wrap_content"> - - <TextView android:id="@+id/accounts_tester_account_types_spinner_label" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/accounts_tester_select_account_type"/> - - <Spinner android:id="@+id/accounts_tester_account_types_spinner" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - </LinearLayout> - - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="wrap_content"> - - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="horizontal" - android:layout_width="match_parent" - android:layout_height="wrap_content"> - <Button - android:id="@+id/accounts_tester_get_accounts_by_type" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/accounts_tester_get_accounts_by_type"/> - - <Button - android:id="@+id/accounts_tester_get_all_accounts" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/accounts_tester_get_all_accounts"/> - - <Button android:id="@+id/accounts_tester_add_account" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/accounts_tester_add_account"/> - - <Button android:id="@+id/accounts_tester_edit_properties" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/accounts_tester_edit_properties"/> - - <Button android:id="@+id/accounts_tester_get_auth_token_by_type_and_feature" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/accounts_tester_get_auth_token_by_type_and_feature"/> - - </LinearLayout> - - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="horizontal" - android:layout_width="match_parent" - android:layout_height="wrap_content"> - - <TextView android:id="@+id/accounts_tester_desiredFeatures" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/accounts_tester_desired_features_label"/> - - <EditText android:id="@+id/accounts_tester_desired_features" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:minEms="15"/> - </LinearLayout> - - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="horizontal" - android:layout_width="match_parent" - android:layout_height="wrap_content"> - - <TextView android:id="@+id/accounts_tester_desiredFeatures" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/accounts_tester_desired_authtokentype_label"/> - - <EditText android:id="@+id/accounts_tester_desired_authtokentype" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:minEms="15"/> - </LinearLayout> - </LinearLayout> + <TextView android:id="@+id/accounts_tester_desiredFeatures" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/accounts_tester_desired_features_label"/> + + <EditText android:id="@+id/accounts_tester_desired_features" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:minEms="15"/> </LinearLayout> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" @@ -116,9 +93,18 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - <ListView android:id="@+id/accounts_tester_accounts_list" - android:layout_width="match_parent" android:layout_height="match_parent"/> + <TextView android:id="@+id/accounts_tester_desiredFeatures" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/accounts_tester_desired_authtokentype_label"/> + <EditText android:id="@+id/accounts_tester_desired_authtokentype" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:minEms="15"/> </LinearLayout> + <ListView android:id="@+id/accounts_tester_accounts_list" + android:layout_width="match_parent" android:layout_height="match_parent"/> + </LinearLayout> |
