Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
ellipsize tab bar labels
Browse files Browse the repository at this point in the history
  • Loading branch information
sk22 committed Oct 13, 2023
1 parent f638a53 commit 8378617
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mastodon/src/main/res/layout/tab_bar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
android:layout_marginTop="4dp"
android:textColor="@color/m3_on_surface_selector"
android:tag="label"
android:ellipsize="end"
android:maxLines="1"
android:text="@string/sk_tab_home" />

</LinearLayout>
Expand Down Expand Up @@ -95,6 +97,8 @@
android:layout_gravity="center_horizontal"
android:layout_marginTop="4dp"
android:tag="label"
android:ellipsize="end"
android:maxLines="1"
android:text="@string/sk_tab_search" />

</LinearLayout>
Expand Down Expand Up @@ -155,6 +159,8 @@
android:layout_marginTop="4dp"
android:textColor="@color/m3_on_surface_selector"
android:tag="label"
android:ellipsize="end"
android:maxLines="1"
android:text="@string/sk_tab_notifications" />

</LinearLayout>
Expand Down Expand Up @@ -203,6 +209,8 @@
android:layout_marginTop="4dp"
android:textColor="@color/m3_on_surface_selector"
android:tag="label"
android:ellipsize="end"
android:maxLines="1"
android:text="@string/sk_tab_profile" />

</LinearLayout>
Expand Down

0 comments on commit 8378617

Please sign in to comment.