
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.
28 lines
956 B
XML
28 lines
956 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
|
|
<TextView
|
|
android:id="@+id/reposcanitemname"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:maxLines="1"
|
|
android:paddingStart="8sp"
|
|
android:text="Discovered Repo Name"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/reposcanitemaddress"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/reposcanitemname"
|
|
android:layout_marginTop="2dp"
|
|
android:paddingStart="8sp"
|
|
android:maxLines="1"
|
|
android:text="Repo Address"
|
|
android:textSize="14sp" />
|
|
|
|
</RelativeLayout>
|