mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Adjust CardView styles
This commit is contained in:
		| @@ -7,8 +7,7 @@ | ||||
|     android:layout_height="wrap_content" | ||||
|     app:cardBackgroundColor="?android:attr/colorBackground" | ||||
|     app:cardElevation="0dp" | ||||
|     app:cardForegroundColor="@color/draggable_card_foreground" | ||||
|     app:strokeWidth="0dp"> | ||||
|     app:cardForegroundColor="@color/draggable_card_foreground"> | ||||
|  | ||||
|     <LinearLayout | ||||
|         android:layout_width="match_parent" | ||||
|   | ||||
| @@ -8,8 +8,7 @@ | ||||
|     android:layout_marginTop="8dp" | ||||
|     app:cardBackgroundColor="?android:attr/colorBackground" | ||||
|     app:cardElevation="0dp" | ||||
|     app:cardForegroundColor="@color/draggable_card_foreground" | ||||
|     app:strokeWidth="0dp"> | ||||
|     app:cardForegroundColor="@color/draggable_card_foreground"> | ||||
|  | ||||
|     <LinearLayout | ||||
|         android:layout_width="match_parent" | ||||
|   | ||||
| @@ -7,8 +7,7 @@ | ||||
|     android:layout_height="wrap_content" | ||||
|     app:cardBackgroundColor="?android:attr/colorBackground" | ||||
|     app:cardElevation="0dp" | ||||
|     app:cardForegroundColor="@color/draggable_card_foreground" | ||||
|     app:strokeWidth="0dp"> | ||||
|     app:cardForegroundColor="@color/draggable_card_foreground"> | ||||
|  | ||||
|     <androidx.constraintlayout.widget.ConstraintLayout | ||||
|         android:layout_width="match_parent" | ||||
|   | ||||
| @@ -14,7 +14,6 @@ | ||||
|         android:layout_height="48dp" | ||||
|         app:cardBackgroundColor="#2E51A2" | ||||
|         app:cardElevation="0dp" | ||||
|         app:strokeWidth="0dp" | ||||
|         app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.MaterialCardView.Tracker"> | ||||
|  | ||||
|         <ImageView | ||||
|   | ||||
| @@ -22,7 +22,6 @@ | ||||
|             android:layout_height="48dp" | ||||
|             app:cardBackgroundColor="#2E51A2" | ||||
|             app:cardElevation="0dp" | ||||
|             app:strokeWidth="0dp" | ||||
|             app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.MaterialCardView.Tracker"> | ||||
|  | ||||
|             <ImageView | ||||
| @@ -79,6 +78,7 @@ | ||||
|  | ||||
|     <com.google.android.material.card.MaterialCardView | ||||
|         android:id="@+id/card" | ||||
|         style="@style/Widget.Material3.CardView.Outlined" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_marginTop="8dp" | ||||
|   | ||||
| @@ -85,6 +85,7 @@ | ||||
|         <item name="navigationRailStyle">@style/Widget.Tachiyomi.NavigationRailView</item> | ||||
|         <item name="switchStyle">@style/Widget.Tachiyomi.Switch</item> | ||||
|         <item name="sliderStyle">@style/Widget.Tachiyomi.Slider</item> | ||||
|         <item name="materialCardViewStyle">@style/Widget.Material3.CardView.Elevated</item> | ||||
|         <item name="elevationOverlayEnabled">false</item> | ||||
|         <item name="lightSystemBarsOnPrimary">false</item> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user