Adjust CardView styles

This commit is contained in:
arkon 2021-11-15 10:11:47 -05:00
parent ce8a759192
commit 9600675677
6 changed files with 5 additions and 8 deletions

View File

@ -7,8 +7,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:cardBackgroundColor="?android:attr/colorBackground" app:cardBackgroundColor="?android:attr/colorBackground"
app:cardElevation="0dp" app:cardElevation="0dp"
app:cardForegroundColor="@color/draggable_card_foreground" app:cardForegroundColor="@color/draggable_card_foreground">
app:strokeWidth="0dp">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -8,8 +8,7 @@
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
app:cardBackgroundColor="?android:attr/colorBackground" app:cardBackgroundColor="?android:attr/colorBackground"
app:cardElevation="0dp" app:cardElevation="0dp"
app:cardForegroundColor="@color/draggable_card_foreground" app:cardForegroundColor="@color/draggable_card_foreground">
app:strokeWidth="0dp">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -7,8 +7,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:cardBackgroundColor="?android:attr/colorBackground" app:cardBackgroundColor="?android:attr/colorBackground"
app:cardElevation="0dp" app:cardElevation="0dp"
app:cardForegroundColor="@color/draggable_card_foreground" app:cardForegroundColor="@color/draggable_card_foreground">
app:strokeWidth="0dp">
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -14,7 +14,6 @@
android:layout_height="48dp" android:layout_height="48dp"
app:cardBackgroundColor="#2E51A2" app:cardBackgroundColor="#2E51A2"
app:cardElevation="0dp" app:cardElevation="0dp"
app:strokeWidth="0dp"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.MaterialCardView.Tracker"> app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.MaterialCardView.Tracker">
<ImageView <ImageView

View File

@ -22,7 +22,6 @@
android:layout_height="48dp" android:layout_height="48dp"
app:cardBackgroundColor="#2E51A2" app:cardBackgroundColor="#2E51A2"
app:cardElevation="0dp" app:cardElevation="0dp"
app:strokeWidth="0dp"
app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.MaterialCardView.Tracker"> app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.MaterialCardView.Tracker">
<ImageView <ImageView
@ -79,6 +78,7 @@
<com.google.android.material.card.MaterialCardView <com.google.android.material.card.MaterialCardView
android:id="@+id/card" android:id="@+id/card"
style="@style/Widget.Material3.CardView.Outlined"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"

View File

@ -85,6 +85,7 @@
<item name="navigationRailStyle">@style/Widget.Tachiyomi.NavigationRailView</item> <item name="navigationRailStyle">@style/Widget.Tachiyomi.NavigationRailView</item>
<item name="switchStyle">@style/Widget.Tachiyomi.Switch</item> <item name="switchStyle">@style/Widget.Tachiyomi.Switch</item>
<item name="sliderStyle">@style/Widget.Tachiyomi.Slider</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="elevationOverlayEnabled">false</item>
<item name="lightSystemBarsOnPrimary">false</item> <item name="lightSystemBarsOnPrimary">false</item>