Show hint about how to import subscriptions when there are none
This commit is contained in:
parent
3103fd7302
commit
10977eaefa
5 changed files with 33 additions and 6 deletions
23
app/src/main/res/layout/list_empty_view_subscriptions.xml
Normal file
23
app/src/main/res/layout/list_empty_view_subscriptions.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?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:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:minHeight="128dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="¯\\_(ツ)_/¯"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="6dp"
|
||||
android:text="@string/import_subscriptions_hint" />
|
||||
</LinearLayout>
|
||||
|
|
@ -266,6 +266,7 @@
|
|||
<string name="description_tab_description">Description</string>
|
||||
<string name="search_no_results">No results</string>
|
||||
<string name="empty_list_subtitle">Nothing here but crickets</string>
|
||||
<string name="import_subscriptions_hint">Import or export subscriptions from the 3-dot menu</string>
|
||||
<string name="detail_drag_description">Drag to reorder</string>
|
||||
<string name="video">Video</string>
|
||||
<string name="audio">Audio</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue