summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/empty_view_layout.xml
blob: 4ccbf45db2ff5b1548d568afa1950140b648f5b7 (plain)
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
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:app="http://schemas.android.com/apk/res-auto"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical"
              android:gravity="center"
              android:layout_centerInParent="true"
              android:paddingLeft="40dp"
              android:paddingRight="40dp"
              xmlns:tools="http://schemas.android.com/tools">

    <ImageView
            android:id="@+id/emptyViewIcon"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:paddingBottom="8dp"
            android:visibility="gone"
            tools:src="@drawable/ic_feed_grey600_24dp"
            tools:visibility="visible"/>

    <TextView
            android:id="@+id/emptyViewTitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            tools:text="Title"
            android:textSize="16sp"
            android:textStyle="bold"
            android:paddingBottom="8dp"/>

    <TextView
            android:id="@+id/emptyViewMessage"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textSize="14sp"
            tools:text="Message"
            android:textAlignment="center"/>

</LinearLayout>