List creation (AND-98)
This commit is contained in:
30
mastodon/src/main/res/layout/empty_with_arrow.xml
Normal file
30
mastodon/src/main/res/layout/empty_with_arrow.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<org.joinmastodon.android.ui.views.CurlyArrowEmptyView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="16dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/empty_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:textAppearance="@style/m3_title_large"
|
||||
android:fontFamily="sans-serif"
|
||||
android:textColor="?colorM3Outline"
|
||||
tools:text="@string/empty_list"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/empty_text_secondary"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
android:textAppearance="@style/m3_title_small"
|
||||
android:gravity="center_horizontal"
|
||||
android:textColor="?colorM3Outline"
|
||||
tools:text="Because there's nothing in it"/>
|
||||
|
||||
</org.joinmastodon.android.ui.views.CurlyArrowEmptyView>
|
||||
@@ -43,7 +43,7 @@
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:minWidth="145dp"
|
||||
style="@style/Widget.Mastodon.M3.Button.Filled"
|
||||
android:text="@string/next" />
|
||||
|
||||
@@ -650,4 +650,10 @@
|
||||
<item quantity="one">%,d post recently</item>
|
||||
<item quantity="other">%,d posts recently</item>
|
||||
</plurals>
|
||||
<string name="create_list">Create list</string>
|
||||
<string name="step_x_of_y">Step %1$d of %2$d</string>
|
||||
<string name="create">Create</string>
|
||||
<string name="manage_list_members">Manage list members</string>
|
||||
<string name="list_no_members">No members yet</string>
|
||||
<string name="list_find_users">Find users to add</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user