summaryrefslogtreecommitdiffstats
path: root/tests/BiDiTests
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2011-06-13 12:16:51 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2011-06-14 16:16:39 -0700
commitc0053223bedf33581b0830fb87be32c1f26e5372 (patch)
tree2ad4905ec68202ba4331f49c0efdb30d966cceeb /tests/BiDiTests
parentf0b517d9d287e86e6e57a372ddcb070cec1fe1c0 (diff)
downloadframeworks_base-c0053223bedf33581b0830fb87be32c1f26e5372.zip
frameworks_base-c0053223bedf33581b0830fb87be32c1f26e5372.tar.gz
frameworks_base-c0053223bedf33581b0830fb87be32c1f26e5372.tar.bz2
Add View.getResolvedLayoutDirection()
- update Callback2 interface - update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic by changing "boolean isRtl" parameter to "int layoutDirection" - fix BiDiTests for RTL FrameLayout Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
Diffstat (limited to 'tests/BiDiTests')
-rw-r--r--tests/BiDiTests/res/layout/frame_layout_rtl.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/BiDiTests/res/layout/frame_layout_rtl.xml b/tests/BiDiTests/res/layout/frame_layout_rtl.xml
index 258d44a..a84904c 100644
--- a/tests/BiDiTests/res/layout/frame_layout_rtl.xml
+++ b/tests/BiDiTests/res/layout/frame_layout_rtl.xml
@@ -21,7 +21,7 @@
<FrameLayout android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layoutDirection="ltr"
+ android:layoutDirection="rtl"
android:background="#FF000000">
<FrameLayout