mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Move all pager/webtoon reader setting to Compose sheet
This commit is contained in:
		| @@ -1,46 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="wrap_content" | ||||
|     android:orientation="vertical"> | ||||
|  | ||||
|     <TextView | ||||
|         android:id="@+id/pager_prefs" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_marginBottom="8dp" | ||||
|         android:paddingStart="16dp" | ||||
|         android:paddingEnd="16dp" | ||||
|         android:text="@string/pager_viewer" | ||||
|         android:textAppearance="@style/TextAppearance.Tachiyomi.SectionHeader" /> | ||||
|  | ||||
|     <eu.kanade.tachiyomi.widget.MaterialSpinnerView | ||||
|         android:id="@+id/pager_nav" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:entries="@array/pager_nav" | ||||
|         app:title="@string/pref_viewer_nav" /> | ||||
|  | ||||
|     <eu.kanade.tachiyomi.widget.MaterialSpinnerView | ||||
|         android:id="@+id/tapping_inverted" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:entries="@array/invert_tapping_mode" | ||||
|         app:title="@string/pref_read_with_tapping_inverted" /> | ||||
|  | ||||
|     <eu.kanade.tachiyomi.widget.MaterialSpinnerView | ||||
|         android:id="@+id/scale_type" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:entries="@array/image_scale_type" | ||||
|         app:title="@string/pref_image_scale_type" /> | ||||
|  | ||||
|     <eu.kanade.tachiyomi.widget.MaterialSpinnerView | ||||
|         android:id="@+id/zoom_start" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:entries="@array/zoom_start" | ||||
|         app:title="@string/pref_zoom_start" /> | ||||
|  | ||||
| </LinearLayout> | ||||
| @@ -1,7 +1,6 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="wrap_content"> | ||||
|  | ||||
| @@ -10,17 +9,6 @@ | ||||
|         android:layout_height="wrap_content" | ||||
|         android:orientation="vertical"> | ||||
|  | ||||
|         <TextView | ||||
|             android:id="@+id/for_this_series_prefs" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_marginTop="16dp" | ||||
|             android:layout_marginBottom="8dp" | ||||
|             android:paddingStart="16dp" | ||||
|             android:paddingEnd="16dp" | ||||
|             android:text="@string/pref_category_for_this_series" | ||||
|             android:textAppearance="@style/TextAppearance.Tachiyomi.SectionHeader" /> | ||||
|  | ||||
|         <eu.kanade.tachiyomi.widget.MaterialSpinnerView | ||||
|             android:id="@+id/viewer" | ||||
|             android:layout_width="match_parent" | ||||
| @@ -36,21 +24,6 @@ | ||||
|             android:entries="@array/rotation_type" | ||||
|             app:title="@string/rotation_type" /> | ||||
|  | ||||
|         <include | ||||
|             android:id="@+id/pager_prefs_group" | ||||
|             layout="@layout/reader_pager_settings" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:visibility="gone" | ||||
|             tools:visibility="visible" /> | ||||
|  | ||||
|         <include | ||||
|             android:id="@+id/webtoon_prefs_group" | ||||
|             layout="@layout/reader_webtoon_settings" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:visibility="gone" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
|  | ||||
| </androidx.core.widget.NestedScrollView> | ||||
|   | ||||
| @@ -1,32 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="wrap_content" | ||||
|     android:orientation="vertical"> | ||||
|  | ||||
|     <TextView | ||||
|         android:id="@+id/webtoon_prefs" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:paddingStart="16dp" | ||||
|         android:paddingEnd="16dp" | ||||
|         android:layout_marginBottom="8dp" | ||||
|         android:text="@string/webtoon_viewer" | ||||
|         android:textAppearance="@style/TextAppearance.Tachiyomi.SectionHeader" /> | ||||
|  | ||||
|     <eu.kanade.tachiyomi.widget.MaterialSpinnerView | ||||
|         android:id="@+id/webtoon_nav" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:entries="@array/webtoon_nav" | ||||
|         app:title="@string/pref_viewer_nav" /> | ||||
|  | ||||
|     <eu.kanade.tachiyomi.widget.MaterialSpinnerView | ||||
|         android:id="@+id/tapping_inverted" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:entries="@array/invert_tapping_mode" | ||||
|         app:title="@string/pref_read_with_tapping_inverted" /> | ||||
|  | ||||
| </LinearLayout> | ||||
| @@ -9,22 +9,6 @@ | ||||
|         <item>@string/vertical_plus_viewer</item> | ||||
|     </string-array> | ||||
|  | ||||
|     <string-array name="image_scale_type"> | ||||
|         <item>@string/scale_type_fit_screen</item> | ||||
|         <item>@string/scale_type_stretch</item> | ||||
|         <item>@string/scale_type_fit_width</item> | ||||
|         <item>@string/scale_type_fit_height</item> | ||||
|         <item>@string/scale_type_original_size</item> | ||||
|         <item>@string/scale_type_smart_fit</item> | ||||
|     </string-array> | ||||
|  | ||||
|     <string-array name="zoom_start"> | ||||
|         <item>@string/zoom_start_automatic</item> | ||||
|         <item>@string/zoom_start_left</item> | ||||
|         <item>@string/zoom_start_right</item> | ||||
|         <item>@string/zoom_start_center</item> | ||||
|     </string-array> | ||||
|  | ||||
|     <string-array name="rotation_type"> | ||||
|         <item>@string/label_default</item> | ||||
|         <item>@string/rotation_free</item> | ||||
| @@ -34,29 +18,4 @@ | ||||
|         <item>@string/rotation_force_landscape</item> | ||||
|         <item>@string/rotation_reverse_portrait</item> | ||||
|     </string-array> | ||||
|  | ||||
|     <string-array name="invert_tapping_mode"> | ||||
|         <item>@string/tapping_inverted_none</item> | ||||
|         <item>@string/tapping_inverted_horizontal</item> | ||||
|         <item>@string/tapping_inverted_vertical</item> | ||||
|         <item>@string/tapping_inverted_both</item> | ||||
|     </string-array> | ||||
|  | ||||
|     <string-array name="pager_nav"> | ||||
|         <item>@string/label_default</item> | ||||
|         <item>@string/l_nav</item> | ||||
|         <item>@string/kindlish_nav</item> | ||||
|         <item>@string/edge_nav</item> | ||||
|         <item>@string/right_and_left_nav</item> | ||||
|         <item>@string/disabled_nav</item> | ||||
|     </string-array> | ||||
|  | ||||
|     <string-array name="webtoon_nav"> | ||||
|         <item>@string/label_default</item> | ||||
|         <item>@string/l_nav</item> | ||||
|         <item>@string/kindlish_nav</item> | ||||
|         <item>@string/edge_nav</item> | ||||
|         <item>@string/right_and_left_nav</item> | ||||
|         <item>@string/disabled_nav</item> | ||||
|     </string-array> | ||||
| </resources> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user