From 4a7fb22d6ae79bfef335fde10d1aa8f9ef00eef2 Mon Sep 17 00:00:00 2001 From: "Don E. Llopis" Date: Sat, 26 Mar 2022 11:59:03 -0400 Subject: [PATCH] switch to support library autosizetext --- app/src/main/res/layout/list_item_apod.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/list_item_apod.xml b/app/src/main/res/layout/list_item_apod.xml index 4b450a4..5b9de24 100644 --- a/app/src/main/res/layout/list_item_apod.xml +++ b/app/src/main/res/layout/list_item_apod.xml @@ -1,7 +1,7 @@ @@ -14,7 +14,7 @@ android:checkable="false" android:id="@+id/apod" android:layout_margin="8dp" - card_view:cardCornerRadius="16dp"> + app:cardCornerRadius="16dp"> @@ -51,9 +51,9 @@ android:textAppearance="?attr/textAppearanceHeadline5" android:ellipsize="end" android:maxLines="2" - android:autoSizeTextType="uniform" - card_view:autoSizeMinTextSize="12sp" - card_view:autoSizeMaxTextSize="24sp" + app:autoSizeTextType="uniform" + app:autoSizeMinTextSize="12sp" + app:autoSizeMaxTextSize="24sp" android:layout_marginStart="16dp" android:layout_marginEnd="16dp" android:layout_marginTop="12dp" @@ -66,8 +66,8 @@ android:layout_height="wrap_content" android:gravity="start" android:textAppearance="?attr/textAppearanceSubtitle1" - card_view:autoSizeTextType="uniform" - card_view:autoSizeMaxTextSize="16sp" + app:autoSizeTextType="uniform" + app:autoSizeMaxTextSize="16sp" android:ellipsize="end" android:maxLines="1" android:layout_marginStart="16dp"