Truncate long names in the navigation header

This commit is contained in:
Balazs Toldi 2023-08-24 23:11:34 +02:00
parent 1ed86c138e
commit d7c4e3d5bc
No known key found for this signature in database
GPG Key ID: 6C7D440036F99D58

View File

@ -28,6 +28,8 @@
android:layout_marginTop="@dimen/nav_header_vertical_spacing"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:maxLines="1"
android:ellipsize="end"
android:layout_alignParentStart="true"
android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family"
@ -40,6 +42,8 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:maxLines="1"
android:ellipsize="end"
android:layout_alignParentStart="true"
android:layout_below="@id/name_text_view_nav_header_main"
android:layout_toStartOf="@id/account_switcher_image_view_nav_header_main"