Empty states for home timeline popup submenus (AND-99)

This commit is contained in:
Grishka
2023-10-17 03:22:23 +03:00
parent 1f7155a932
commit d3dc774492
5 changed files with 78 additions and 1 deletions

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="8dp"
android:paddingBottom="12dp"
android:paddingHorizontal="12dp"
android:gravity="center_horizontal">
<ImageView
android:id="@+id/icon"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginBottom="12dp"
android:background="@drawable/white_circle"
android:backgroundTint="?colorM3SecondaryContainer"
android:tint="?colorM3OnSecondaryContainer"
android:scaleType="center"
android:importantForAccessibility="no"
tools:src="@drawable/ic_list_alt_24px"/>
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="?colorM3Outline"
android:textAppearance="@style/m3_body_large"
android:gravity="center"
android:alpha="0.7"
tools:text="Title"/>
<TextView
android:id="@+id/subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="?colorM3Outline"
android:textAppearance="@style/m3_body_small"
android:gravity="center"
android:alpha="0.7"
tools:text="Subtitle"/>
</LinearLayout>

View File

@@ -641,6 +641,10 @@
<string name="manage_user_lists">Manage the lists %s appears on</string>
<string name="remove_from_list">Remove from list</string>
<string name="confirm_remove_list_member">Remove member?</string>
<string name="no_followed_hashtags_title">Keep up with interests by following hashtags</string>
<string name="no_followed_hashtags_subtitle">Follows will appear here</string>
<string name="no_lists_title">Organize your home feed with Lists</string>
<string name="no_lists_subtitle">Yours will appear here</string>
<plurals name="x_posts_recently">
<item quantity="one">%,d post recently</item>
<item quantity="other">%,d posts recently</item>