From 6d6f6c72acdc15748509a5f611d6e50d88af6f22 Mon Sep 17 00:00:00 2001 From: Amine Bou Date: Sat, 31 Mar 2018 07:40:11 +0200 Subject: [PATCH] Fixes #187. --- app/build.gradle | 2 +- app/src/main/res/layout/list_item.xml | 22 ++++++---------------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 55c4afd..5869a47 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,7 +13,7 @@ ext { buildDate: new Date() ] // This will make me able to build multiple times a day. May break thinks. I may forget it. - todaysBuilds = "2" + todaysBuilds = "1" } def gitVersion() { diff --git a/app/src/main/res/layout/list_item.xml b/app/src/main/res/layout/list_item.xml index b3c5d5a..7326815 100644 --- a/app/src/main/res/layout/list_item.xml +++ b/app/src/main/res/layout/list_item.xml @@ -7,18 +7,11 @@ android:minHeight="88dp"> - - @@ -26,24 +19,21 @@ android:id="@+id/title" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginBottom="8dp" android:layout_marginEnd="16dp" android:layout_marginStart="16dp" - android:layout_marginTop="16dp" + android:layout_marginTop="8dp" + android:ellipsize="end" android:fontFamily="sans-serif" android:gravity="start" android:maxLines="3" - android:ellipsize="end" android:textAlignment="viewStart" android:textAllCaps="false" android:textSize="16sp" android:textStyle="bold" - app:layout_constraintBottom_toTopOf="@+id/sourceTitleAndDate" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintStart_toEndOf="@+id/itemImage" app:layout_constraintTop_toTopOf="parent" - app:layout_constraintVertical_bias="0.0" tools:text="Titre" />