Removed fixed colors from adapters

This commit is contained in:
CappielloAntonio 2022-01-10 12:37:56 +01:00
parent 5cb63eb827
commit ce4c1631bd
18 changed files with 39 additions and 103 deletions

View file

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingEnd="12dp"
android:paddingBottom="8dp">
<androidx.cardview.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
<androidx.cardview.widget.CardView
android:id="@+id/card_view"
android:layout_width="172dp"
android:layout_height="72dp"
android:layout_gravity="center"
android:backgroundTint="@color/cardColor"
card_view:cardCornerRadius="4dp"
card_view:cardElevation="2dp"
card_view:cardPreventCornerOverlap="false"
@ -25,7 +25,7 @@
<View
android:layout_width="6dp"
android:layout_height="match_parent"
android:background="@color/colorAccent" />
android:background="?attr/colorPrimary"/>
<TextView
android:id="@+id/year_label"