mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Remove unused tabbed sheet layouts/classes
This commit is contained in:
		| @@ -1,50 +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" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="wrap_content" | ||||
|     android:orientation="vertical"> | ||||
|  | ||||
|     <androidx.constraintlayout.widget.ConstraintLayout | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:background="@drawable/transparent_tabs_background"> | ||||
|  | ||||
|         <!-- Remove background color so rounded sheet corners work --> | ||||
|         <com.google.android.material.tabs.TabLayout | ||||
|             android:id="@+id/tabs" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="@android:color/transparent" | ||||
|             app:layout_constraintBottom_toBottomOf="parent" | ||||
|             app:layout_constraintEnd_toStartOf="@+id/menu" | ||||
|             app:layout_constraintStart_toStartOf="parent" | ||||
|             app:layout_constraintTop_toTopOf="parent" | ||||
|             app:tabGravity="fill" | ||||
|             app:tabMode="fixed" /> | ||||
|  | ||||
|         <ImageButton | ||||
|             android:id="@+id/menu" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/selectableItemBackgroundBorderless" | ||||
|             android:contentDescription="@string/action_menu" | ||||
|             android:paddingStart="10dp" | ||||
|             android:paddingEnd="10dp" | ||||
|             android:visibility="gone" | ||||
|             app:layout_constraintBottom_toBottomOf="parent" | ||||
|             app:layout_constraintEnd_toEndOf="parent" | ||||
|             app:layout_constraintTop_toTopOf="parent" | ||||
|             app:srcCompat="@drawable/ic_overflow_24dp" | ||||
|             app:tint="?attr/colorOnSurface" | ||||
|             tools:visibility="visible" /> | ||||
|  | ||||
|     </androidx.constraintlayout.widget.ConstraintLayout> | ||||
|  | ||||
|     <eu.kanade.tachiyomi.widget.sheet.BottomSheetViewPager | ||||
|         android:id="@+id/pager" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" /> | ||||
|  | ||||
| </LinearLayout> | ||||
| @@ -1,5 +1,3 @@ | ||||
| <resources> | ||||
|     <dimen name="bottom_sheet_width">480dp</dimen> | ||||
|  | ||||
|     <dimen name="screen_edge_margin">24dp</dimen> | ||||
| </resources> | ||||
|   | ||||
| @@ -1,6 +1,4 @@ | ||||
| <resources> | ||||
|     <dimen name="bottom_sheet_width">0dp</dimen> | ||||
|  | ||||
|     <dimen name="dialog_radius">8dp</dimen> | ||||
|  | ||||
|     <dimen name="screen_edge_margin">16dp</dimen> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user