From 1d0686d82d99ade677d264b09d81b2da104ba45d Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Sat, 1 Apr 2023 11:11:57 +0200 Subject: [PATCH] Properly ellipsize autocompletion headers For example for long emote/sticker pack names Change-Id: I7f1bd44ad6b70dfdd25825b1156d40bcee2e3df8 --- vector/src/main/res/layout/item_autocomplete_header_item.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/vector/src/main/res/layout/item_autocomplete_header_item.xml b/vector/src/main/res/layout/item_autocomplete_header_item.xml index f842129e0c..6ef8ce21fc 100644 --- a/vector/src/main/res/layout/item_autocomplete_header_item.xml +++ b/vector/src/main/res/layout/item_autocomplete_header_item.xml @@ -16,6 +16,7 @@ android:layout_gravity="center_vertical" android:maxLines="1" android:textColor="?vctr_content_secondary" + android:ellipsize="end" tools:text="Users" />