mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 16:18:55 +01:00 
			
		
		
		
	Add "Rotate wide pages to fit" setting for paged reader
Originally authored in #7983 Co-authored-by: timothyng-164 <timothyng-164@users.noreply.github.com>
This commit is contained in:
		@@ -91,10 +91,30 @@
 | 
			
		||||
        android:visibility="gone"
 | 
			
		||||
        tools:visibility="visible" />
 | 
			
		||||
 | 
			
		||||
    <com.google.android.material.materialswitch.MaterialSwitch
 | 
			
		||||
        android:id="@+id/dual_page_rotate_to_fit"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:paddingHorizontal="16dp"
 | 
			
		||||
        android:paddingVertical="16dp"
 | 
			
		||||
        android:text="@string/pref_page_rotate"
 | 
			
		||||
        android:textColor="?android:attr/textColorSecondary" />
 | 
			
		||||
 | 
			
		||||
    <com.google.android.material.materialswitch.MaterialSwitch
 | 
			
		||||
        android:id="@+id/dual_page_rotate_to_fit_invert"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:paddingHorizontal="16dp"
 | 
			
		||||
        android:paddingVertical="16dp"
 | 
			
		||||
        android:text="@string/pref_page_rotate_invert"
 | 
			
		||||
        android:textColor="?android:attr/textColorSecondary"
 | 
			
		||||
        android:visibility="gone"
 | 
			
		||||
        tools:visibility="visible" />
 | 
			
		||||
 | 
			
		||||
    <androidx.constraintlayout.widget.Group
 | 
			
		||||
        android:id="@+id/tapping_prefs_group"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        app:constraint_referenced_ids="pager_nav,tapping_inverted,dual_page_split,dual_page_invert" />
 | 
			
		||||
        app:constraint_referenced_ids="pager_nav,tapping_inverted,dual_page_split,dual_page_invert,dual_page_rotate_to_fit,dual_page_rotate_to_fit_invert" />
 | 
			
		||||
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user