blob: ab8b3b9b97e798857860ed72e4a4bb2b194435e2 (
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
44
45
46
47
48
|
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
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"
android:paddingHorizontal="@dimen/spacer_2x">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/image"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_above="@+id/title"
android:layout_marginBottom="@dimen/spacer_2x"
android:contentDescription="@null"
android:tint="@color/fg_secondary"
app:layout_constraintBottom_toTopOf="@id/title"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
hint:src="@drawable/ic_app_logo" />
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:textAlignment="center"
android:textSize="@dimen/empty_content_font_size"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
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_marginTop="@dimen/spacer_2x"
android:textAlignment="center"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/title"
hint:text="@string/add_a_new_card_using_the_button" />
</androidx.constraintlayout.widget.ConstraintLayout>
|