aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorcmp <me@porterca.com>2022-10-08 06:07:51 +0000
committerGitHub <noreply@github.com>2022-10-08 06:07:51 +0000
commit40c61eb3827e53da3f57e2c8d1eca0992a88c5b8 (patch)
tree4be47e1a592631021da3b93a337829a2da03f65c /app/src/main
parent01071e2a526119c703e4a8b11e03949cfb115934 (diff)
downloadinfinity-for-reddit-40c61eb3827e53da3f57e2c8d1eca0992a88c5b8.tar
infinity-for-reddit-40c61eb3827e53da3f57e2c8d1eca0992a88c5b8.tar.gz
infinity-for-reddit-40c61eb3827e53da3f57e2c8d1eca0992a88c5b8.tar.bz2
infinity-for-reddit-40c61eb3827e53da3f57e2c8d1eca0992a88c5b8.tar.lz
infinity-for-reddit-40c61eb3827e53da3f57e2c8d1eca0992a88c5b8.tar.xz
infinity-for-reddit-40c61eb3827e53da3f57e2c8d1eca0992a88c5b8.tar.zst
infinity-for-reddit-40c61eb3827e53da3f57e2c8d1eca0992a88c5b8.zip
Ellipsize usernames if they don't fit on one line in a fully collapsed comment text area. (#1148)
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/item_comment_fully_collapsed.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/res/layout/item_comment_fully_collapsed.xml b/app/src/main/res/layout/item_comment_fully_collapsed.xml
index 4e0a0d32..22c53776 100644
--- a/app/src/main/res/layout/item_comment_fully_collapsed.xml
+++ b/app/src/main/res/layout/item_comment_fully_collapsed.xml
@@ -32,6 +32,7 @@
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:maxLines="1"
+ android:ellipsize="end"
android:fontFamily="?attr/font_family"
android:paddingStart="8dp"
android:paddingTop="12dp"