diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2011-07-13 19:38:17 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2011-07-14 15:24:35 -0700 |
commit | d2b5d1cf4aaa5ce95803a837f563292763184302 (patch) | |
tree | d1aaf51fdff164ab452ac7148da064371691081d /tests | |
parent | c1df573aedd20e9ac862765d068cc4e8fcdda953 (diff) | |
download | frameworks_base-d2b5d1cf4aaa5ce95803a837f563292763184302.zip frameworks_base-d2b5d1cf4aaa5ce95803a837f563292763184302.tar.gz frameworks_base-d2b5d1cf4aaa5ce95803a837f563292763184302.tar.bz2 |
Some code refactoring
- make Layout.Alignment.ALIGN_LEFT as the default case
- update unit tests for reproducing bug #5002512
Change-Id: Id7ec17abd115bcda7f3434e6d64dbbba6915f108
Diffstat (limited to 'tests')
-rw-r--r-- | tests/BiDiTests/res/layout/basic.xml | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/tests/BiDiTests/res/layout/basic.xml b/tests/BiDiTests/res/layout/basic.xml index d438b2c..c1ebd20 100644 --- a/tests/BiDiTests/res/layout/basic.xml +++ b/tests/BiDiTests/res/layout/basic.xml @@ -40,7 +40,7 @@ android:textSize="32dip" android:text="@string/textview_text" /> - + <EditText android:id="@+id/edittext" android:layout_height="wrap_content" android:layout_width="match_parent" @@ -51,4 +51,32 @@ </LinearLayout> + <LinearLayout + android:layout_width="600dip" + android:layout_height="128dip" + android:layout_gravity="center_vertical" + android:orientation="horizontal" + style="@android:style/Widget.Holo.Spinner" + > + <LinearLayout + android:layout_width="0dip" + android:layout_weight="1" + android:layout_height="match_parent" + android:layout_gravity="center_vertical" + android:orientation="vertical" + > + <TextView + android:id="@+id/spinner_line_1" + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1" + android:textSize="16dip" + android:singleLine="true" + android:ellipsize="end" + android:gravity="left|center_vertical" + android:text="@string/button_text" + /> + </LinearLayout> + </LinearLayout> + </FrameLayout>
\ No newline at end of file |