add tooltips

This commit is contained in:
sk 2023-10-08 16:36:56 +02:00
parent 139a7d7c98
commit 58e0ce3970
1 changed files with 8 additions and 4 deletions

View File

@ -23,6 +23,7 @@
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingTop="12dp" android:paddingTop="12dp"
android:paddingBottom="16dp" android:paddingBottom="16dp"
android:tooltipText="@string/sk_tab_home"
android:orientation="vertical"> android:orientation="vertical">
<FrameLayout <FrameLayout
@ -30,7 +31,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="32dp" android:layout_height="32dp"
android:background="@drawable/bg_tabbar_tab" android:background="@drawable/bg_tabbar_tab"
android:contentDescription="@string/home_timeline"> android:contentDescription="@string/sk_tab_home">
<ImageView <ImageView
android:layout_width="24dp" android:layout_width="24dp"
@ -64,6 +65,7 @@
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingTop="12dp" android:paddingTop="12dp"
android:paddingBottom="16dp" android:paddingBottom="16dp"
android:tooltipText="@string/sk_tab_search"
android:orientation="vertical"> android:orientation="vertical">
<FrameLayout <FrameLayout
@ -71,7 +73,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="32dp" android:layout_height="32dp"
android:background="@drawable/bg_tabbar_tab" android:background="@drawable/bg_tabbar_tab"
android:contentDescription="@string/search_hint"> android:contentDescription="@string/sk_tab_search">
<ImageView <ImageView
android:layout_width="24dp" android:layout_width="24dp"
@ -105,6 +107,7 @@
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingTop="12dp" android:paddingTop="12dp"
android:paddingBottom="16dp" android:paddingBottom="16dp"
android:tooltipText="@string/sk_tab_notifications"
android:orientation="vertical"> android:orientation="vertical">
<RelativeLayout <RelativeLayout
@ -112,7 +115,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="32dp" android:layout_height="32dp"
android:background="@drawable/bg_tabbar_tab" android:background="@drawable/bg_tabbar_tab"
android:contentDescription="@string/notifications"> android:contentDescription="@string/sk_tab_notifications">
<ImageView <ImageView
android:id="@+id/notifications_icon" android:id="@+id/notifications_icon"
@ -164,6 +167,7 @@
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingTop="12dp" android:paddingTop="12dp"
android:paddingBottom="16dp" android:paddingBottom="16dp"
android:tooltipText="@string/sk_tab_profile"
android:orientation="vertical"> android:orientation="vertical">
<FrameLayout <FrameLayout
@ -171,7 +175,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="32dp" android:layout_height="32dp"
android:background="@drawable/bg_tabbar_tab" android:background="@drawable/bg_tabbar_tab"
android:contentDescription="@string/my_profile"> android:contentDescription="@string/sk_tab_profile">
<ImageView <ImageView
android:id="@+id/tab_profile_ava" android:id="@+id/tab_profile_ava"
android:layout_width="24dp" android:layout_width="24dp"