summaryrefslogtreecommitdiffstats
path: root/tests/BiDiTests
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-06-01 14:52:00 -0700
committerRomain Guy <romainguy@google.com>2011-06-01 14:55:42 -0700
commit726aeba80ffc6778a9bc3e0ee957b8d644183505 (patch)
tree2a270831f12cfa6dd69a07e9068c76c3b737754e /tests/BiDiTests
parentf09ef51889f75289b041f9e9f949b7b82ed5b686 (diff)
downloadframeworks_base-726aeba80ffc6778a9bc3e0ee957b8d644183505.zip
frameworks_base-726aeba80ffc6778a9bc3e0ee957b8d644183505.tar.gz
frameworks_base-726aeba80ffc6778a9bc3e0ee957b8d644183505.tar.bz2
Add support to OpenGLRendere to draw BiDi text.
Bug #4350336 Change-Id: I1cf31693f7ca9653fa3a41b5b91c27ef288d680f
Diffstat (limited to 'tests/BiDiTests')
-rw-r--r--tests/BiDiTests/AndroidManifest.xml2
-rw-r--r--tests/BiDiTests/res/layout/basic.xml15
2 files changed, 8 insertions, 9 deletions
diff --git a/tests/BiDiTests/AndroidManifest.xml b/tests/BiDiTests/AndroidManifest.xml
index 8a77519..e54194c 100644
--- a/tests/BiDiTests/AndroidManifest.xml
+++ b/tests/BiDiTests/AndroidManifest.xml
@@ -19,7 +19,7 @@
android:versionCode="1"
android:versionName="1.0">
- <application android:label="BiDiTests">
+ <application android:label="BiDiTests" android:hardwareAccelerated="true">
<activity android:name=".BiDiTestActivity"
android:windowSoftInputMode="stateAlwaysHidden">
diff --git a/tests/BiDiTests/res/layout/basic.xml b/tests/BiDiTests/res/layout/basic.xml
index c4807ff..f254e3c 100644
--- a/tests/BiDiTests/res/layout/basic.xml
+++ b/tests/BiDiTests/res/layout/basic.xml
@@ -27,22 +27,21 @@
<Button android:id="@+id/button"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
- android:onClick="onButtonClick"
android:text="@string/button_text"
android:textSize="32dip"
/>
<TextView android:id="@+id/textview"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:textSize="32dip"
- android:text="@string/textview_text"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:textSize="32dip"
+ android:text="@string/textview_text"
/>
<EditText android:id="@+id/edittext"
- android:layout_height="wrap_content"
- android:layout_width="match_parent"
- android:textSize="32dip"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:textSize="32dip"
/>
</LinearLayout>