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

Commit

Permalink
add tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
sk22 committed Oct 8, 2023
1 parent 139a7d7 commit 58e0ce3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions mastodon/src/main/res/layout/tab_bar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@
android:layout_marginEnd="8dp"
android:paddingTop="12dp"
android:paddingBottom="16dp"
android:tooltipText="@string/sk_tab_home"
android:orientation="vertical">

<FrameLayout
android:id="@+id/tab_home_pill"
android:layout_width="match_parent"
android:layout_height="32dp"
android:background="@drawable/bg_tabbar_tab"
android:contentDescription="@string/home_timeline">
android:contentDescription="@string/sk_tab_home">

<ImageView
android:layout_width="24dp"
Expand Down Expand Up @@ -64,14 +65,15 @@
android:layout_marginEnd="8dp"
android:paddingTop="12dp"
android:paddingBottom="16dp"
android:tooltipText="@string/sk_tab_search"
android:orientation="vertical">

<FrameLayout
android:id="@+id/tab_search_pill"
android:layout_width="match_parent"
android:layout_height="32dp"
android:background="@drawable/bg_tabbar_tab"
android:contentDescription="@string/search_hint">
android:contentDescription="@string/sk_tab_search">

<ImageView
android:layout_width="24dp"
Expand Down Expand Up @@ -105,14 +107,15 @@
android:layout_marginEnd="8dp"
android:paddingTop="12dp"
android:paddingBottom="16dp"
android:tooltipText="@string/sk_tab_notifications"
android:orientation="vertical">

<RelativeLayout
android:id="@+id/tab_notifications_pill"
android:layout_width="match_parent"
android:layout_height="32dp"
android:background="@drawable/bg_tabbar_tab"
android:contentDescription="@string/notifications">
android:contentDescription="@string/sk_tab_notifications">

<ImageView
android:id="@+id/notifications_icon"
Expand Down Expand Up @@ -164,14 +167,15 @@
android:layout_marginEnd="8dp"
android:paddingTop="12dp"
android:paddingBottom="16dp"
android:tooltipText="@string/sk_tab_profile"
android:orientation="vertical">

<FrameLayout
android:id="@+id/tab_profile_pill"
android:layout_width="match_parent"
android:layout_height="32dp"
android:background="@drawable/bg_tabbar_tab"
android:contentDescription="@string/my_profile">
android:contentDescription="@string/sk_tab_profile">
<ImageView
android:id="@+id/tab_profile_ava"
android:layout_width="24dp"
Expand Down

0 comments on commit 58e0ce3

Please sign in to comment.