From 34b0516a03817b52ef5fb43a79c4633ec2ece189 Mon Sep 17 00:00:00 2001 From: "Don E. Llopis" Date: Sat, 26 Mar 2022 00:10:42 -0400 Subject: [PATCH] adjust card height and show max of two lines of title text --- .idea/misc.xml | 2 +- app/src/main/res/layout/list_item_apod.xml | 32 ++++++++++++---------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 7a8ca9b..01e48ac 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -11,7 +11,7 @@ - + diff --git a/app/src/main/res/layout/list_item_apod.xml b/app/src/main/res/layout/list_item_apod.xml index 7cc2ae2..96aa1ff 100644 --- a/app/src/main/res/layout/list_item_apod.xml +++ b/app/src/main/res/layout/list_item_apod.xml @@ -46,28 +46,30 @@ + android:ellipsize="end" + android:maxLines="2" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" + android:layout_marginTop="12dp" + android:layout_marginBottom="8dp" + tools:text="TITLE GOES HERE TITLE GOES HERE TITLE GOES HERE TITLE GOES HERE TITLE GOES HERE TITLE GOES HERE TITLE GOES HERE" />