diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 3b195fac..2873ea14 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -54,6 +54,7 @@
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
+ android:supportsRtl="true"
android:theme="@style/Theme.AppCompat"
android:usesCleartextTraffic="true">
@@ -192,7 +193,7 @@
+ android:uiOptions="splitActionBarWhenNarrow" />
+ android:visibility="gone" />
@@ -54,7 +54,7 @@
android:inputType="textCapCharacters"
android:maxLength="7"
android:singleLine="true"
- android:visibility="gone">
+ android:visibility="gone" />
@@ -40,13 +41,14 @@
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:gravity="right"
+ android:gravity="end"
android:singleLine="true"
android:text="@string/status_maxspeed_novalue" />
@@ -174,6 +176,7 @@
@@ -184,13 +187,14 @@
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:gravity="right"
+ android:gravity="end"
android:singleLine="true"
android:text="@string/status_maxspeed_novalue" />
diff --git a/app/src/main/res/layout/fragment_details_header.xml b/app/src/main/res/layout/fragment_details_header.xml
index bf95110e..8021f283 100644
--- a/app/src/main/res/layout/fragment_details_header.xml
+++ b/app/src/main/res/layout/fragment_details_header.xml
@@ -32,6 +32,7 @@
android:id="@+id/dateadded_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
+ android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half"
android:layout_weight="0.5"
android:textIsSelectable="false" />
@@ -41,9 +42,10 @@
style="@style/LabelTextView"
android:layout_width="0dp"
android:layout_height="wrap_content"
+ android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half"
android:layout_weight="0.5"
- android:gravity="right"
+ android:gravity="end"
android:textIsSelectable="true"
android:visibility="invisible" />
@@ -64,8 +66,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/date_label_wrapper"
+ android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half"
android:layout_marginTop="@dimen/margin_half"
+ android:layout_toEndOf="@id/separator"
android:layout_toRightOf="@id/separator"
android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright"
@@ -77,7 +81,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/uploaded_text"
+ android:layout_marginStart="4dip"
android:layout_marginLeft="4dip"
+ android:layout_toEndOf="@id/uploaded_text"
android:layout_toRightOf="@id/uploaded_text"
android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright"
@@ -88,7 +94,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/uploaded_text"
+ android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half"
+ android:layout_toEndOf="@id/separator"
android:layout_toRightOf="@id/separator"
android:textIsSelectable="false"
android:textSize="@dimen/text_small" />
@@ -98,8 +106,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/ratio_text"
+ android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half"
android:layout_marginBottom="4dip"
+ android:layout_toEndOf="@id/separator"
android:layout_toRightOf="@id/separator"
android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright"
@@ -111,7 +121,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/upspeed_text"
+ android:layout_marginStart="@dimen/margin_half"
android:layout_marginLeft="@dimen/margin_half"
+ android:layout_toEndOf="@id/separator"
android:layout_toRightOf="@id/separator"
android:textIsSelectable="false"
android:textSize="@dimen/text_small" />
@@ -121,7 +133,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/uploadedunit_text"
+ android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half"
+ android:layout_toStartOf="@id/separator"
android:layout_toLeftOf="@id/separator"
android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright"
@@ -132,7 +146,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/uploadedunit_text"
+ android:layout_marginEnd="4dip"
android:layout_marginRight="4dip"
+ android:layout_toStartOf="@id/downloadedunit_text"
android:layout_toLeftOf="@id/downloadedunit_text"
android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright"
@@ -144,7 +160,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/ratio_text"
+ android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half"
+ android:layout_toStartOf="@id/separator"
android:layout_toLeftOf="@id/separator"
android:textIsSelectable="false"
android:textSize="@dimen/text_small" />
@@ -154,7 +172,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/upspeed_text"
+ android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half"
+ android:layout_toStartOf="@id/separator"
android:layout_toLeftOf="@id/separator"
android:fontFamily="sans-serif-light"
android:textColor="?attr/text_bright"
@@ -166,7 +186,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/leechers_text"
+ android:layout_marginEnd="@dimen/margin_half"
android:layout_marginRight="@dimen/margin_half"
+ android:layout_toStartOf="@id/separator"
android:layout_toLeftOf="@id/separator"
android:textIsSelectable="false"
android:textSize="@dimen/text_small" />
diff --git a/app/src/main/res/layout/list_item_torrent.xml b/app/src/main/res/layout/list_item_torrent.xml
index 22de5626..2b1de10a 100644
--- a/app/src/main/res/layout/list_item_torrent.xml
+++ b/app/src/main/res/layout/list_item_torrent.xml
@@ -82,6 +82,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/ratio_text"
+ android:layout_marginStart="@dimen/margin_torrentlistleft"
android:layout_marginLeft="@dimen/margin_torrentlistleft"
android:layout_marginTop="@dimen/margin_half" />
diff --git a/app/src/main/res/layout/list_item_widget.xml b/app/src/main/res/layout/list_item_widget.xml
index 5b986d2b..68b5d76a 100644
--- a/app/src/main/res/layout/list_item_widget.xml
+++ b/app/src/main/res/layout/list_item_widget.xml
@@ -19,6 +19,7 @@
android:layout_width="fill_parent"
android:layout_height="@dimen/widget_list_item_height"
android:background="?android:attr/selectableItemBackground"
+ android:paddingEnd="@dimen/widget_list_item_padding"
android:paddingRight="@dimen/widget_list_item_padding">
@@ -89,6 +91,7 @@
android:id="@+id/upcount_sign"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:fontFamily="sans-serif-light"
android:paddingTop="@dimen/ui_serverstatus_signmargin"
@@ -100,6 +103,7 @@
android:id="@+id/upcount_text"
android:layout_width="@dimen/ui_serverstatus_width"
android:layout_height="wrap_content"
+ android:layout_toStartOf="@id/upcount_sign"
android:layout_toLeftOf="@id/upcount_sign"
android:fontFamily="sans-serif-light"
android:gravity="end"
@@ -109,6 +113,7 @@
android:id="@+id/downcount_sign"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_toStartOf="@id/upcount_text"
android:layout_toLeftOf="@id/upcount_text"
android:fontFamily="sans-serif-light"
android:paddingTop="@dimen/ui_serverstatus_signmargin"
@@ -120,6 +125,7 @@
android:id="@+id/downcount_text"
android:layout_width="@dimen/ui_serverstatus_width"
android:layout_height="wrap_content"
+ android:layout_toStartOf="@id/downcount_sign"
android:layout_toLeftOf="@id/downcount_sign"
android:fontFamily="sans-serif-light"
android:gravity="end"
@@ -130,7 +136,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/upcount_text"
+ android:layout_alignStart="@id/upcount_text"
android:layout_alignLeft="@id/upcount_text"
+ android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_marginTop="-4dip"
android:fontFamily="sans-serif-light"
@@ -142,7 +150,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/downcount_text"
+ android:layout_alignStart="@id/downcount_text"
android:layout_alignLeft="@id/downcount_text"
+ android:layout_alignEnd="@id/downcount_sign"
android:layout_alignRight="@id/downcount_sign"
android:layout_marginTop="-4dip"
android:fontFamily="sans-serif-light"