|
@@ -1,46 +1,74 @@
|
1
|
1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+<androidx.cardview.widget.CardView
|
|
3
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
4
|
xmlns:tools="http://schemas.android.com/tools"
|
4
|
|
- android:orientation="horizontal"
|
5
|
|
- android:layout_width="match_parent"
|
|
5
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
6
|
+ android:id="@+id/cv_document_problem"
|
|
7
|
+ android:layout_width="wrap_content"
|
6
|
8
|
android:layout_height="wrap_content"
|
7
|
|
- android:background="@color/backgroundLayoutGreyDark"
|
8
|
|
- android:padding="16dp"
|
9
|
|
- android:layout_margin="16dp">
|
10
|
|
-
|
11
|
|
- <TextView
|
12
|
|
- android:id="@+id/tv_document_name"
|
13
|
|
- style="@style/DocumentText"
|
14
|
|
- android:layout_width="70dp"
|
15
|
|
- android:layout_height="wrap_content"
|
16
|
|
- android:layout_marginStart="4dp"
|
17
|
|
- android:layout_marginEnd="4dp"
|
18
|
|
- android:layout_alignParentStart="true"
|
19
|
|
- android:layout_centerVertical="true"
|
20
|
|
- tools:text="ID CARD KARYAWAN" />
|
21
|
|
-
|
22
|
|
- <TextView
|
23
|
|
- android:id="@+id/tv_document_status"
|
24
|
|
- style="@style/DocumentText"
|
25
|
|
- android:layout_width="55dp"
|
26
|
|
- android:layout_height="wrap_content"
|
27
|
|
- android:layout_marginStart="4dp"
|
28
|
|
- android:layout_marginEnd="4dp"
|
29
|
|
- android:layout_alignParentStart="true"
|
30
|
|
- android:layout_alignParentEnd="true"
|
31
|
|
- android:layout_centerVertical="true"
|
32
|
|
- android:gravity="center"
|
33
|
|
- tools:text="NOT FOUND" />
|
34
|
|
-
|
35
|
|
- <TextView
|
36
|
|
- android:id="@+id/tv_document_date"
|
37
|
|
- style="@style/DocumentText"
|
38
|
|
- android:layout_width="55dp"
|
|
9
|
+ android:elevation="12dp"
|
|
10
|
+ app:cardCornerRadius="6dp"
|
|
11
|
+ app:cardElevation="5dp"
|
|
12
|
+ app:cardUseCompatPadding="true">
|
|
13
|
+
|
|
14
|
+ <LinearLayout
|
|
15
|
+ android:id="@+id/layout_my_leaderboard"
|
|
16
|
+ android:layout_width="match_parent"
|
39
|
17
|
android:layout_height="wrap_content"
|
40
|
|
- android:layout_marginStart="4dp"
|
41
|
|
- android:layout_marginEnd="4dp"
|
42
|
|
- android:layout_alignParentEnd="true"
|
43
|
|
- android:layout_centerVertical="true"
|
44
|
|
- tools:text="19 Nov 2019" />
|
|
18
|
+ android:layout_gravity="bottom|center_horizontal"
|
|
19
|
+ android:paddingTop="10dp"
|
|
20
|
+ android:paddingBottom="10dp">
|
|
21
|
+
|
|
22
|
+ <LinearLayout
|
|
23
|
+ android:layout_width="150dp"
|
|
24
|
+ android:layout_height="match_parent"
|
|
25
|
+ android:layout_marginStart="10dp"
|
|
26
|
+ android:gravity="center_vertical"
|
|
27
|
+ android:orientation="vertical">
|
|
28
|
+
|
|
29
|
+ <TextView
|
|
30
|
+ android:id="@+id/tv_document_name"
|
|
31
|
+ style="@style/MyTextLabel"
|
|
32
|
+ android:layout_width="150dp"
|
|
33
|
+ android:layout_height="0dp"
|
|
34
|
+ android:layout_weight="3"
|
|
35
|
+ tools:text="KMPD - SIMPER MARINE CERTIFICATION" />
|
|
36
|
+
|
|
37
|
+ <TextView
|
|
38
|
+ android:id="@+id/tv_document_status"
|
|
39
|
+ style="@style/MyTextData"
|
|
40
|
+ android:layout_width="150dp"
|
|
41
|
+ android:layout_height="wrap_content"
|
|
42
|
+ tools:text="NOT ACTIVE" />
|
|
43
|
+
|
|
44
|
+ </LinearLayout>
|
|
45
|
+
|
|
46
|
+ <RelativeLayout
|
|
47
|
+ android:layout_width="wrap_content"
|
|
48
|
+ android:layout_height="match_parent">
|
|
49
|
+
|
|
50
|
+ <LinearLayout
|
|
51
|
+ android:layout_width="wrap_content"
|
|
52
|
+ android:layout_height="wrap_content"
|
|
53
|
+ android:layout_alignParentEnd="true"
|
|
54
|
+ android:layout_marginEnd="15dp"
|
|
55
|
+ android:gravity="center_vertical"
|
|
56
|
+ android:layout_centerVertical="true"
|
|
57
|
+ android:orientation="vertical">
|
|
58
|
+
|
|
59
|
+ <TextView
|
|
60
|
+ android:id="@+id/tv_document_date"
|
|
61
|
+ style="@style/MyTextData"
|
|
62
|
+ android:layout_width="135dp"
|
|
63
|
+ android:layout_height="wrap_content"
|
|
64
|
+ android:layout_gravity="center"
|
|
65
|
+ android:gravity="center"
|
|
66
|
+ android:scaleType="centerInside"
|
|
67
|
+ android:src="@color/colorPrimary"
|
|
68
|
+ tools:text="12 Nov 2020"/>
|
|
69
|
+
|
|
70
|
+ </LinearLayout>
|
|
71
|
+ </RelativeLayout>
|
45
|
72
|
|
46
|
|
-</RelativeLayout>
|
|
73
|
+ </LinearLayout>
|
|
74
|
+</androidx.cardview.widget.CardView>
|