
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.
43 lines
1.4 KiB
XML
43 lines
1.4 KiB
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" >
|
|
|
|
<LinearLayout
|
|
android:id="@+id/reposcanprogresslayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:paddingTop="8sp" >
|
|
|
|
<ProgressBar
|
|
android:id="@+id/reposcaningspinner"
|
|
style="?android:attr/progressBarStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_marginEnd="5dp"
|
|
android:indeterminate="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/reposcaninglabel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_horizontal"
|
|
android:padding="8sp"
|
|
android:text="@string/local_repos_scanning"
|
|
android:textSize="15sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ListView
|
|
android:id="@+id/reposcanlist"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/reposcanprogresslayout"
|
|
android:padding="8sp"
|
|
/>
|
|
|
|
</RelativeLayout> |