-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMyListActivityLayout
More file actions
85 lines (75 loc) · 3.4 KB
/
MyListActivityLayout
File metadata and controls
85 lines (75 loc) · 3.4 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/root"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorWhite100"
android:orientation="vertical">
<ProgressBar
android:id="@+id/loadingIndicator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center" />
<TextView
android:id="@+id/msgTV"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="@dimen/dp32"
android:layout_marginEnd="@dimen/dp32"
android:gravity="center"
android:text="Something went wrong!\nCheck your internet connection."
android:visibility="gone" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/add${Model_Class}Btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/dp16"
android:src="@drawable/ic_add_black_24dp"
app:backgroundTint="@color/colorAccent"
app:fabSize="normal"
app:tint="@color/colorWhite100" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:elevation="@dimen/dp4">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize">
<TextView
android:id="@+id/titleTV"
android:layout_width="@dimen/dp0"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp16"
android:layout_marginLeft="@dimen/dp16"
android:layout_marginEnd="@dimen/dp32"
android:layout_marginRight="@dimen/dp32"
android:ellipsize="end"
android:maxLines="1"
android:text="${Title}"
android:textColor="@color/colorBlack87"
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="match_parent"
android:layout_height="6dp"
android:background="@drawable/toolbar_drop_shadow" />
</com.google.android.material.appbar.AppBarLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:paddingBottom="@dimen/dp16"
android:visibility="gone" />
</LinearLayout>
</FrameLayout>