mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Half fixed landscape view
This commit is contained in:
		| @@ -1,28 +1,36 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <androidx.constraintlayout.widget.ConstraintLayout | ||||
| <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" | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" | ||||
|     android:layout_height="match_parent"> | ||||
|     android:orientation="vertical" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="match_parent" | ||||
|     tools:context=".ui.browse.source.browse.BrowseSourceController"> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/manga_cover" | ||||
|         android:layout_width="0dp" | ||||
|         android:layout_height="0dp" | ||||
|         android:layout_margin="16dp" | ||||
|         android:background="@drawable/rounded_rectangle" | ||||
|         android:contentDescription="@string/description_cover" | ||||
|         app:layout_constraintBottom_toBottomOf="parent" | ||||
|         app:layout_constraintDimensionRatio="h,3:2" | ||||
|         app:layout_constraintStart_toStartOf="parent" | ||||
|         app:layout_constraintTop_toTopOf="parent" | ||||
|         app:layout_constraintVertical_bias="0.0" /> | ||||
|     <androidx.constraintlayout.widget.ConstraintLayout | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="match_parent"> | ||||
|  | ||||
|         <ImageView | ||||
|             android:id="@+id/manga_cover" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="0dp" | ||||
|             android:layout_margin="16dp" | ||||
|             android:background="@drawable/rounded_rectangle" | ||||
|             android:contentDescription="@string/description_cover" | ||||
|             app:layout_constraintBottom_toBottomOf="parent" | ||||
|             app:layout_constraintDimensionRatio="h,3:2" | ||||
|             app:layout_constraintStart_toStartOf="parent" | ||||
|             app:layout_constraintTop_toTopOf="parent" | ||||
|             app:layout_constraintVertical_bias="0.0" /> | ||||
|  | ||||
|         <androidx.constraintlayout.widget.ConstraintLayout | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="match_parent" | ||||
|             android:padding="16dp" | ||||
|             app:layout_constraintStart_toEndOf="parent"> | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             app:layout_constraintEnd_toEndOf="parent" | ||||
|             app:layout_constraintStart_toEndOf="@+id/manga_cover" | ||||
|             app:layout_constraintTop_toTopOf="parent" | ||||
|             android:padding="16dp"> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/manga_full_title" | ||||
| @@ -184,7 +192,7 @@ | ||||
|                 android:requiresFadingEdge="horizontal" | ||||
|                 app:layout_constraintEnd_toEndOf="parent" | ||||
|                 app:layout_constraintStart_toStartOf="parent" | ||||
|                 app:layout_constraintTop_toBottomOf="@id/manga_source" > | ||||
|                 app:layout_constraintTop_toBottomOf="@id/manga_source"> | ||||
|  | ||||
|                 <LinearLayout | ||||
|                     android:id="@+id/actions_bar" | ||||
| @@ -213,8 +221,8 @@ | ||||
|                         android:layout_marginStart="8dp" | ||||
|                         android:text="@string/track" | ||||
|                         android:visibility="gone" | ||||
|                         tools:visibility="visible" | ||||
|                         app:icon="@drawable/ic_cloud_off_24dp" /> | ||||
|                         app:icon="@drawable/ic_cloud_off_24dp" | ||||
|                         tools:visibility="visible" /> | ||||
|  | ||||
|                     <com.google.android.material.button.MaterialButton | ||||
|                         android:id="@+id/btn_categories" | ||||
| @@ -376,6 +384,9 @@ | ||||
|                 app:layout_constraintTop_toBottomOf="@+id/manga_info_toggle" | ||||
|                 tools:layout_constraintTop_toBottomOf="@+id/merge_btn" | ||||
|                 tools:visibility="visible" /> | ||||
|  | ||||
|         </androidx.constraintlayout.widget.ConstraintLayout> | ||||
|  | ||||
| </androidx.constraintlayout.widget.ConstraintLayout> | ||||
|     </androidx.constraintlayout.widget.ConstraintLayout> | ||||
|  | ||||
| </LinearLayout> | ||||
		Reference in New Issue
	
	Block a user