
Following the Android 4.2 changes, which explain how to add native support for RTL, I've replaced Right for End and Left for Start. Enabling RTL to see the results.
22 lines
643 B
XML
22 lines
643 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:paddingStart="2dp"
|
|
android:paddingEnd="2dp"
|
|
android:baselineAligned="false"
|
|
android:orientation="vertical">
|
|
|
|
<TextView android:id="@+id/description"
|
|
android:singleLine="false"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="4dp"
|
|
android:gravity="center" />
|
|
|
|
<ListView android:id="@android:id/list"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent" />
|
|
|
|
</LinearLayout>
|