From a42e9b09fe70826bb57c5e02c08566adf5e633b5 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 8 Oct 2016 15:43:38 +0200 Subject: [PATCH] add a couple more changes for better RTL support --- app/src/main/res/layout/activity_settings.xml | 6 +++++- app/src/main/res/layout/pager_video_item.xml | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index 1a1a761c3..7d10a0eb1 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -1,7 +1,7 @@ @@ -25,12 +25,14 @@ android:layout_height="wrap_content" android:layout_centerVertical="true" android:paddingLeft="@dimen/settings_padding" + android:paddingStart="@dimen/settings_padding" android:text="@string/dark_theme"/> @@ -51,12 +53,14 @@ android:layout_height="wrap_content" android:layout_centerVertical="true" android:paddingLeft="@dimen/settings_padding" + android:paddingStart="@dimen/settings_padding" android:text="@string/same_sorting"/> diff --git a/app/src/main/res/layout/pager_video_item.xml b/app/src/main/res/layout/pager_video_item.xml index 28bd6fecd..6365fe408 100644 --- a/app/src/main/res/layout/pager_video_item.xml +++ b/app/src/main/res/layout/pager_video_item.xml @@ -35,6 +35,7 @@ android:layout_height="match_parent" android:layout_alignBottom="@+id/video_seekbar" android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" android:layout_alignTop="@+id/video_seekbar" android:gravity="center_vertical" android:text="00:00" @@ -46,8 +47,10 @@ android:layout_height="wrap_content" android:layout_marginLeft="@dimen/activity_margin" android:layout_marginRight="@dimen/activity_margin" + android:layout_toEndOf="@+id/video_curr_time" android:layout_toLeftOf="@+id/video_duration" android:layout_toRightOf="@+id/video_curr_time" + android:layout_toStartOf="@+id/video_duration" android:paddingBottom="@dimen/activity_margin" android:paddingTop="@dimen/activity_margin"/> @@ -56,6 +59,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@+id/video_seekbar" + android:layout_alignParentEnd="true" android:layout_alignParentRight="true" android:layout_alignTop="@+id/video_seekbar" android:gravity="center_vertical"