feat: Increase the amount of information in link previews (#275)

Show up to two lines of the link's title and three lines of the link's
description in link preview cards. This provides additional useful
context to the user, especially when many links bury the important
information at the end of the title.
This commit is contained in:
Nik Clayton 2023-11-21 20:06:29 +01:00 committed by GitHub
parent 123c251fc9
commit 4992aa9c52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@
android:layout_marginBottom="4dp" android:layout_marginBottom="4dp"
android:ellipsize="end" android:ellipsize="end"
android:fontFamily="sans-serif-medium" android:fontFamily="sans-serif-medium"
android:lines="1" android:maxLines="2"
android:textColor="?android:textColorSecondary" android:textColor="?android:textColorSecondary"
android:textSize="?attr/status_text_medium" android:textSize="?attr/status_text_medium"
tools:ignore="SelectableText" /> tools:ignore="SelectableText" />
@ -65,7 +65,7 @@
android:layout_marginBottom="4dp" android:layout_marginBottom="4dp"
android:ellipsize="end" android:ellipsize="end"
android:lineSpacingMultiplier="1.1" android:lineSpacingMultiplier="1.1"
android:maxLines="2" android:maxLines="3"
android:textColor="?android:textColorSecondary" android:textColor="?android:textColorSecondary"
android:textSize="?attr/status_text_medium" android:textSize="?attr/status_text_medium"
tools:ignore="SelectableText" /> tools:ignore="SelectableText" />