explicitly set text colors in LicenseCard (#1910)

This commit is contained in:
Konrad Pozniak 2020-08-26 18:46:44 +02:00 committed by GitHub
parent e729677a67
commit 94ae219a97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 7 deletions

View File

@ -1,30 +1,35 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android" <merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
tools:parentTag="androidx.cardview.widget.CardView" tools:layout_height="wrap_content"
tools:layout_width="match_parent" tools:layout_width="match_parent"
tools:layout_height="wrap_content"> tools:parentTag="com.google.android.material.card.MaterialCardView">
<LinearLayout <LinearLayout
android:padding="8dp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/selectableItemBackgroundBorderless" android:background="?attr/selectableItemBackgroundBorderless"
android:orientation="vertical"> android:orientation="vertical"
android:padding="8dp">
<TextView <TextView
android:id="@+id/licenseCardName" android:id="@+id/licenseCardName"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:fontFamily="sans-serif-medium"/> android:fontFamily="sans-serif-medium"
android:textColor="?android:attr/textColorSecondary" />
<TextView <TextView
android:id="@+id/licenseCardLicense" android:id="@+id/licenseCardLicense"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"
android:textColor="?android:attr/textColorTertiary" />
<TextView <TextView
android:id="@+id/licenseCardLink" android:id="@+id/licenseCardLink"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textColor="@color/tusky_blue"/> android:textColor="@color/tusky_blue" />
</LinearLayout> </LinearLayout>
</merge> </merge>