blob: 1a8f4672fbc2f3906adf3a2401d89569100814f4 (
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
40
41
42
43
|
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:hint="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="@dimen/spacer_2x">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="72dp"
android:layout_above="@+id/title"
android:layout_gravity="center"
android:contentDescription="@null"
android:tint="@color/fg_secondary"
hint:src="@drawable/ic_app_logo" />
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:gravity="center"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:textAlignment="center"
android:textSize="@dimen/empty_content_font_size"
hint:text="@string/no_cards" />
<TextView
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_centerHorizontal="true"
android:paddingStart="@dimen/spacer_2x"
android:paddingLeft="@dimen/spacer_2x"
android:paddingEnd="@dimen/spacer_2x"
android:paddingRight="@dimen/spacer_2x"
android:textAlignment="center"
hint:text="@string/add_a_new_card_using_the_button" />
</RelativeLayout>
|