mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Add 32-bit color mode to reader settings (#1941)
* add ARGB_8888 mode to reader settings * Only show option on Oreo or later. Only show option in settings screen.
This commit is contained in:
		| @@ -105,6 +105,17 @@ | ||||
|         android:textColor="?android:attr/textColorSecondary" | ||||
|         app:layout_constraintTop_toBottomOf="@id/background_color" /> | ||||
|  | ||||
|     <android.support.v7.widget.SwitchCompat | ||||
|         android:id="@+id/true_color" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_marginTop="16dp" | ||||
|         android:text="@string/pref_true_color" | ||||
|         android:textColor="?android:attr/textColorSecondary" | ||||
|         android:visibility="gone" | ||||
|         tools:visibility="visible" | ||||
|         app:layout_constraintTop_toBottomOf="@id/show_page_number" /> | ||||
|  | ||||
|     <android.support.v7.widget.SwitchCompat | ||||
|         android:id="@+id/fullscreen" | ||||
|         android:layout_width="match_parent" | ||||
| @@ -112,7 +123,7 @@ | ||||
|         android:layout_marginTop="16dp" | ||||
|         android:text="@string/pref_fullscreen" | ||||
|         android:textColor="?android:attr/textColorSecondary" | ||||
|         app:layout_constraintTop_toBottomOf="@id/show_page_number" /> | ||||
|         app:layout_constraintTop_toBottomOf="@id/true_color" /> | ||||
|  | ||||
|     <android.support.v7.widget.SwitchCompat | ||||
|         android:id="@+id/keepscreen" | ||||
|   | ||||
| @@ -173,6 +173,7 @@ | ||||
|     <string name="pref_page_transitions">Page transitions</string> | ||||
|     <string name="pref_double_tap_anim_speed">Double tap animation speed</string> | ||||
|     <string name="pref_show_page_number">Show page number</string> | ||||
|     <string name="pref_true_color">32-bit color</string> | ||||
|     <string name="pref_crop_borders">Crop borders</string> | ||||
|     <string name="pref_custom_brightness">Use custom brightness</string> | ||||
|     <string name="pref_custom_color_filter">Use custom color filter</string> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user