mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Migrate ReaderPageSheet to Compose
This commit is contained in:
		@@ -137,4 +137,9 @@
 | 
			
		||||
        android:layout_height="match_parent"
 | 
			
		||||
        android:visibility="gone" />
 | 
			
		||||
 | 
			
		||||
    <androidx.compose.ui.platform.ComposeView
 | 
			
		||||
        android:id="@+id/dialog_root"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="match_parent" />
 | 
			
		||||
 | 
			
		||||
</FrameLayout>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,53 +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/set_as_cover"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="56dp"
 | 
			
		||||
        android:drawablePadding="32dp"
 | 
			
		||||
        android:gravity="center_vertical"
 | 
			
		||||
        android:clickable="true"
 | 
			
		||||
        android:focusable="true"
 | 
			
		||||
        android:paddingHorizontal="16dp"
 | 
			
		||||
        android:foreground="?attr/selectableItemBackground"
 | 
			
		||||
        android:text="@string/set_as_cover"
 | 
			
		||||
        android:textColor="?attr/colorOnBackground"
 | 
			
		||||
        app:drawableStartCompat="@drawable/ic_photo_24dp"
 | 
			
		||||
        app:drawableTint="?attr/colorOnBackground" />
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/share"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="56dp"
 | 
			
		||||
        android:drawablePadding="32dp"
 | 
			
		||||
        android:gravity="center_vertical"
 | 
			
		||||
        android:clickable="true"
 | 
			
		||||
        android:focusable="true"
 | 
			
		||||
        android:paddingHorizontal="16dp"
 | 
			
		||||
        android:foreground="?attr/selectableItemBackground"
 | 
			
		||||
        android:text="@string/action_share"
 | 
			
		||||
        android:textColor="?attr/colorOnBackground"
 | 
			
		||||
        app:drawableStartCompat="@drawable/ic_share_24dp"
 | 
			
		||||
        app:drawableTint="?attr/colorOnBackground" />
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/save"
 | 
			
		||||
        android:layout_width="match_parent"
 | 
			
		||||
        android:layout_height="56dp"
 | 
			
		||||
        android:drawablePadding="32dp"
 | 
			
		||||
        android:gravity="center_vertical"
 | 
			
		||||
        android:clickable="true"
 | 
			
		||||
        android:focusable="true"
 | 
			
		||||
        android:paddingHorizontal="16dp"
 | 
			
		||||
        android:foreground="?attr/selectableItemBackground"
 | 
			
		||||
        android:text="@string/action_save"
 | 
			
		||||
        android:textColor="?attr/colorOnBackground"
 | 
			
		||||
        app:drawableStartCompat="@drawable/ic_save_24dp"
 | 
			
		||||
        app:drawableTint="?attr/colorOnBackground" />
 | 
			
		||||
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
		Reference in New Issue
	
	Block a user