Small new user improvements (#1143)

- Changed empty library string
- Added empty view for Categories
This commit is contained in:
Bram van de Kerkhof
2018-01-01 14:57:20 +01:00
committed by GitHub
parent 0eae817aa6
commit bdcc6e52e6
8 changed files with 33 additions and 10 deletions

View File

@@ -19,4 +19,11 @@
app:srcCompat="@drawable/ic_add_white_24dp"
style="@style/Theme.Widget.FAB"/>
<eu.kanade.tachiyomi.widget.EmptyView
android:id="@+id/empty_view"
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_gravity="center"
android:layout_height="wrap_content" />
</FrameLayout>

View File

@@ -13,10 +13,12 @@
<TextView
android:id="@+id/text_label"
android:layout_margin="16dp"
style="@style/TextAppearance.Medium.Body2.Hint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/image_view"
android:gravity="center"
android:layout_centerHorizontal="true"/>
</RelativeLayout>

View File

@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">