mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Center reader transition text properly (fixes #3819)
This commit is contained in:
		| @@ -19,6 +19,7 @@ class ReaderTransitionView @JvmOverloads constructor(context: Context, attrs: At | ||||
|  | ||||
|     init { | ||||
|         inflate(context, R.layout.reader_transition_view, this) | ||||
|         layoutParams = LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT) | ||||
|     } | ||||
|  | ||||
|     fun bind(transition: ChapterTransition) { | ||||
|   | ||||
| @@ -2,9 +2,9 @@ | ||||
| <LinearLayout 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_width="wrap_content" | ||||
|     android:layout_height="wrap_content" | ||||
|     android:gravity="center" | ||||
|     android:layout_gravity="center" | ||||
|     android:orientation="vertical"> | ||||
|  | ||||
|     <TextView | ||||
|   | ||||
		Reference in New Issue
	
	Block a user