From e4c4f099e5cbf0554d7dab09b2124f4a74e1e092 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Sat, 15 May 2021 12:47:22 +0900 Subject: [PATCH] Make location single line with ellipsis. Fixes austinhuang0131/barinsta#1212 --- app/src/main/res/layout/item_feed_top.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/res/layout/item_feed_top.xml b/app/src/main/res/layout/item_feed_top.xml index 7aac41b5..61b49c31 100755 --- a/app/src/main/res/layout/item_feed_top.xml +++ b/app/src/main/res/layout/item_feed_top.xml @@ -43,7 +43,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@+id/title" + android:ellipsize="end" android:gravity="center_vertical" + android:maxLines="1" android:textAppearance="@style/TextAppearance.AppCompat.Subhead" android:textSize="15sp" android:visibility="visible"