mirror of https://github.com/readrops/Readrops.git
Simplify empty list custom view layout
This commit is contained in:
parent
ed7293e1d8
commit
c37a3ed3b2
|
@ -2,31 +2,26 @@
|
||||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<FrameLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent"
|
||||||
|
android:gravity="center_horizontal|center_vertical"
|
||||||
|
android:orientation="vertical"
|
||||||
|
tools:ignore="UseCompoundDrawables">
|
||||||
|
|
||||||
<LinearLayout
|
<ImageView
|
||||||
android:layout_width="match_parent"
|
android:id="@+id/empty_list_image"
|
||||||
android:layout_height="match_parent"
|
android:layout_width="200dp"
|
||||||
android:gravity="center_horizontal|center_vertical"
|
android:layout_height="200dp"
|
||||||
android:orientation="vertical"
|
tools:src="@drawable/ic_rss_feed_grey" />
|
||||||
tools:ignore="UseCompoundDrawables">
|
|
||||||
|
|
||||||
<ImageView
|
<TextView
|
||||||
android:id="@+id/empty_list_image"
|
android:id="@+id/empty_list_text_v"
|
||||||
android:layout_width="200dp"
|
style="@style/TextAppearance.AppCompat.Large"
|
||||||
android:layout_height="200dp"
|
android:layout_width="wrap_content"
|
||||||
tools:src="@drawable/ic_rss_feed_grey" />
|
android:layout_height="wrap_content"
|
||||||
|
tools:text="@string/no_feed" />
|
||||||
<TextView
|
|
||||||
android:id="@+id/empty_list_text_v"
|
</LinearLayout>
|
||||||
style="@style/TextAppearance.AppCompat.Large"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
tools:text="@string/no_feed" />
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</FrameLayout>
|
|
||||||
|
|
||||||
</layout>
|
</layout>
|
Loading…
Reference in New Issue