mirror of
				https://github.com/SimpleMobileTools/Simple-Gallery.git
				synced 2025-06-05 21:59:19 +02:00 
			
		
		
		
	add a couple more changes for better RTL support
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| <?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||||
| <ScrollView | <ScrollView | ||||||
|     android:id="@+id/settings_scrollview" |  | ||||||
|     xmlns:android="http://schemas.android.com/apk/res/android" |     xmlns:android="http://schemas.android.com/apk/res/android" | ||||||
|  |     android:id="@+id/settings_scrollview" | ||||||
|     android:layout_width="match_parent" |     android:layout_width="match_parent" | ||||||
|     android:layout_height="wrap_content"> |     android:layout_height="wrap_content"> | ||||||
|  |  | ||||||
| @@ -25,12 +25,14 @@ | |||||||
|                 android:layout_height="wrap_content" |                 android:layout_height="wrap_content" | ||||||
|                 android:layout_centerVertical="true" |                 android:layout_centerVertical="true" | ||||||
|                 android:paddingLeft="@dimen/settings_padding" |                 android:paddingLeft="@dimen/settings_padding" | ||||||
|  |                 android:paddingStart="@dimen/settings_padding" | ||||||
|                 android:text="@string/dark_theme"/> |                 android:text="@string/dark_theme"/> | ||||||
|  |  | ||||||
|             <android.support.v7.widget.SwitchCompat |             <android.support.v7.widget.SwitchCompat | ||||||
|                 android:id="@+id/settings_dark_theme" |                 android:id="@+id/settings_dark_theme" | ||||||
|                 android:layout_width="wrap_content" |                 android:layout_width="wrap_content" | ||||||
|                 android:layout_height="wrap_content" |                 android:layout_height="wrap_content" | ||||||
|  |                 android:layout_alignParentEnd="true" | ||||||
|                 android:layout_alignParentRight="true" |                 android:layout_alignParentRight="true" | ||||||
|                 android:background="@null" |                 android:background="@null" | ||||||
|                 android:clickable="false"/> |                 android:clickable="false"/> | ||||||
| @@ -51,12 +53,14 @@ | |||||||
|                 android:layout_height="wrap_content" |                 android:layout_height="wrap_content" | ||||||
|                 android:layout_centerVertical="true" |                 android:layout_centerVertical="true" | ||||||
|                 android:paddingLeft="@dimen/settings_padding" |                 android:paddingLeft="@dimen/settings_padding" | ||||||
|  |                 android:paddingStart="@dimen/settings_padding" | ||||||
|                 android:text="@string/same_sorting"/> |                 android:text="@string/same_sorting"/> | ||||||
|  |  | ||||||
|             <android.support.v7.widget.SwitchCompat |             <android.support.v7.widget.SwitchCompat | ||||||
|                 android:id="@+id/settings_same_sorting" |                 android:id="@+id/settings_same_sorting" | ||||||
|                 android:layout_width="wrap_content" |                 android:layout_width="wrap_content" | ||||||
|                 android:layout_height="wrap_content" |                 android:layout_height="wrap_content" | ||||||
|  |                 android:layout_alignParentEnd="true" | ||||||
|                 android:layout_alignParentRight="true" |                 android:layout_alignParentRight="true" | ||||||
|                 android:background="@null" |                 android:background="@null" | ||||||
|                 android:clickable="false"/> |                 android:clickable="false"/> | ||||||
|   | |||||||
| @@ -35,6 +35,7 @@ | |||||||
|             android:layout_height="match_parent" |             android:layout_height="match_parent" | ||||||
|             android:layout_alignBottom="@+id/video_seekbar" |             android:layout_alignBottom="@+id/video_seekbar" | ||||||
|             android:layout_alignParentLeft="true" |             android:layout_alignParentLeft="true" | ||||||
|  |             android:layout_alignParentStart="true" | ||||||
|             android:layout_alignTop="@+id/video_seekbar" |             android:layout_alignTop="@+id/video_seekbar" | ||||||
|             android:gravity="center_vertical" |             android:gravity="center_vertical" | ||||||
|             android:text="00:00" |             android:text="00:00" | ||||||
| @@ -46,8 +47,10 @@ | |||||||
|             android:layout_height="wrap_content" |             android:layout_height="wrap_content" | ||||||
|             android:layout_marginLeft="@dimen/activity_margin" |             android:layout_marginLeft="@dimen/activity_margin" | ||||||
|             android:layout_marginRight="@dimen/activity_margin" |             android:layout_marginRight="@dimen/activity_margin" | ||||||
|  |             android:layout_toEndOf="@+id/video_curr_time" | ||||||
|             android:layout_toLeftOf="@+id/video_duration" |             android:layout_toLeftOf="@+id/video_duration" | ||||||
|             android:layout_toRightOf="@+id/video_curr_time" |             android:layout_toRightOf="@+id/video_curr_time" | ||||||
|  |             android:layout_toStartOf="@+id/video_duration" | ||||||
|             android:paddingBottom="@dimen/activity_margin" |             android:paddingBottom="@dimen/activity_margin" | ||||||
|             android:paddingTop="@dimen/activity_margin"/> |             android:paddingTop="@dimen/activity_margin"/> | ||||||
|  |  | ||||||
| @@ -56,6 +59,7 @@ | |||||||
|             android:layout_width="wrap_content" |             android:layout_width="wrap_content" | ||||||
|             android:layout_height="wrap_content" |             android:layout_height="wrap_content" | ||||||
|             android:layout_alignBottom="@+id/video_seekbar" |             android:layout_alignBottom="@+id/video_seekbar" | ||||||
|  |             android:layout_alignParentEnd="true" | ||||||
|             android:layout_alignParentRight="true" |             android:layout_alignParentRight="true" | ||||||
|             android:layout_alignTop="@+id/video_seekbar" |             android:layout_alignTop="@+id/video_seekbar" | ||||||
|             android:gravity="center_vertical" |             android:gravity="center_vertical" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user