mirror of
https://github.com/jrpie/Launcher.git
synced 2025-06-07 17:59:54 +02:00
change card background in light theme
This commit is contained in:
parent
a56cc772f7
commit
394f66dde9
3 changed files with 10 additions and 3 deletions
|
@ -12,8 +12,9 @@
|
|||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:backgroundTint="#00000000"
|
||||
app:cardElevation="0dp"
|
||||
app:cardBackgroundColor="?cardBackgroundColor"
|
||||
app:cardElevation="8dp"
|
||||
app:cardCornerRadius="12dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
@ -21,6 +22,7 @@
|
|||
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_margin="10dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:cardElevation="8dp"
|
||||
app:cardBackgroundColor="@color/cardview_dark_background"
|
||||
app:cardBackgroundColor="?cardBackgroundColor"
|
||||
app:cardCornerRadius="12dp"
|
||||
app:cardUseCompatPadding="true"
|
||||
app:layout_constraintTop_toBottomOf="@id/tutorial_setup_subtitle"
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
<item name="android:buttonStyle">@style/Widget.AppCompat.Button.Colored</item>
|
||||
<item name="colorButtonNormal">?colorAccent</item>
|
||||
<item name="cardBackgroundColor">@color/cardview_dark_background</item>
|
||||
|
||||
<!--<item name="android:popupMenuStyle">@style/PopupMenuCustom</item>-->
|
||||
|
||||
|
@ -32,6 +33,7 @@
|
|||
<item name="colorPrimaryDark">@color/darkTheme_background_color</item>
|
||||
<item name="colorAccent">@color/darkTheme_accent_color</item>
|
||||
<item name="android:colorBackground">@color/darkTheme_background_color</item>
|
||||
<item name="cardBackgroundColor">@color/cardview_dark_background</item>
|
||||
<item name="android:textColor">@color/darkTheme_text_color</item>
|
||||
</style>
|
||||
|
||||
|
@ -40,6 +42,7 @@
|
|||
<item name="colorPrimaryDark">@color/finnmglasTheme_background_color</item>
|
||||
<item name="colorAccent">@color/finnmglasTheme_accent_color</item>
|
||||
<item name="android:colorBackground">@color/finnmglasTheme_background_color</item>
|
||||
<item name="cardBackgroundColor">@color/cardview_dark_background</item>
|
||||
<item name="android:textColor">@color/finnmglasTheme_text_color</item>
|
||||
</style>
|
||||
|
||||
|
@ -48,6 +51,7 @@
|
|||
<item name="colorPrimaryDark">@color/lightTheme_background_color</item>
|
||||
<item name="colorAccent">@color/lightTheme_accent_color</item>
|
||||
<item name="android:colorBackground">@color/lightTheme_background_color</item>
|
||||
<item name="cardBackgroundColor">@color/cardview_light_background</item>
|
||||
<item name="android:textColor">@color/lightTheme_text_color</item>
|
||||
</style>
|
||||
|
||||
|
@ -57,6 +61,7 @@
|
|||
<item name="colorPrimaryDark">@color/material_dynamic_primary50</item>
|
||||
<item name="colorAccent">@color/material_dynamic_tertiary50</item>
|
||||
<item name="android:colorBackground">@color/material_dynamic_neutral10</item>
|
||||
<item name="cardBackgroundColor">@color/cardview_dark_background</item>
|
||||
<item name="android:textColor">@color/material_dynamic_neutral_variant90</item>
|
||||
</style>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue