-
Notifications
You must be signed in to change notification settings - Fork 544
/
empty_view.xml
33 lines (30 loc) · 1015 Bytes
/
empty_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/empty_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:alpha="0.0"
tools:alpha="1.0">
<ImageView
android:id="@+id/empty_image"
android:layout_width="164dp"
android:layout_height="164dp"
android:layout_centerHorizontal="true"
android:alpha="0.2"
android:scaleType="fitCenter"
android:src="@drawable/ic_xml_grey600_48dp"/>
<TextView
android:id="@+id/empty_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:freezesText="true"
android:gravity="center_horizontal"
android:text="@string/no_items"
android:layout_below="@+id/empty_image"
android:alpha="0.4"
android:textAppearance="@style/TextAppearance.AppCompat.Large"
android:textColor="?android:textColorSecondary"/>
</RelativeLayout>