|
@@ -1,38 +1,50 @@
|
1
|
1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
3
|
3
|
xmlns:tools="http://schemas.android.com/tools"
|
4
|
4
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
5
|
|
- android:orientation="horizontal"
|
6
|
5
|
android:layout_width="match_parent"
|
7
|
|
- android:layout_height="wrap_content"
|
8
|
|
- android:background="@color/backgroundLayoutGrey"
|
9
|
|
- android:padding="8dp"
|
10
|
|
- android:layout_margin="16dp">
|
|
6
|
+ android:layout_height="wrap_content">
|
11
|
7
|
|
12
|
|
- <TextView
|
13
|
|
- android:id="@+id/tv_group_name"
|
14
|
|
- style="@style/DocumentText"
|
15
|
|
- android:layout_width="300dp"
|
|
8
|
+ <RelativeLayout
|
|
9
|
+ android:id="@+id/rl_group"
|
|
10
|
+ android:layout_width="match_parent"
|
16
|
11
|
android:layout_height="wrap_content"
|
17
|
|
- android:layout_marginStart="4dp"
|
18
|
|
- android:layout_marginEnd="4dp"
|
19
|
|
- android:layout_alignParentStart="true"
|
20
|
|
- android:layout_alignParentTop="true"
|
21
|
|
- android:layout_alignParentBottom="true"
|
22
|
|
- android:gravity="center_vertical"
|
23
|
|
- tools:text="ID CARD KARYAWAN" />
|
|
12
|
+ android:background="@color/backgroundLayoutGrey"
|
|
13
|
+ android:padding="8dp"
|
|
14
|
+ android:layout_margin="16dp">
|
24
|
15
|
|
25
|
|
- <ImageView
|
26
|
|
- android:id="@+id/chevron1"
|
27
|
|
- android:layout_width="15dp"
|
28
|
|
- android:layout_height="15dp"
|
29
|
|
- android:paddingStart="0dp"
|
30
|
|
- android:paddingEnd="0dp"
|
31
|
|
- android:layout_alignParentEnd="true"
|
32
|
|
- android:layout_alignParentTop="true"
|
33
|
|
- android:layout_alignParentBottom="true"
|
34
|
|
- app:srcCompat="@drawable/chevron_down"
|
35
|
|
- android:contentDescription="@string/cd_image" />
|
|
16
|
+ <TextView
|
|
17
|
+ android:id="@+id/tv_group_name"
|
|
18
|
+ style="@style/DocumentText"
|
|
19
|
+ android:layout_width="300dp"
|
|
20
|
+ android:layout_height="wrap_content"
|
|
21
|
+ android:layout_marginStart="4dp"
|
|
22
|
+ android:layout_marginEnd="4dp"
|
|
23
|
+ android:layout_alignParentStart="true"
|
|
24
|
+ android:gravity="center_vertical"
|
|
25
|
+ tools:text="ID CARD KARYAWAN" />
|
36
|
26
|
|
|
27
|
+ <ImageView
|
|
28
|
+ android:id="@+id/iv_chevron"
|
|
29
|
+ android:layout_width="15dp"
|
|
30
|
+ android:layout_height="15dp"
|
|
31
|
+ android:paddingStart="0dp"
|
|
32
|
+ android:paddingEnd="0dp"
|
|
33
|
+ android:layout_alignParentEnd="true"
|
|
34
|
+ android:gravity="center_vertical"
|
|
35
|
+ app:srcCompat="@drawable/chevron_down"
|
|
36
|
+ android:contentDescription="@string/cd_image" />
|
37
|
37
|
|
38
|
|
-</RelativeLayout>
|
|
38
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
39
|
+ android:id="@+id/rv_sub_group"
|
|
40
|
+ android:layout_width="match_parent"
|
|
41
|
+ android:layout_height="wrap_content"
|
|
42
|
+ android:layout_below="@+id/tv_group_name"
|
|
43
|
+ android:layout_marginTop="8dp"
|
|
44
|
+ android:visibility="gone"
|
|
45
|
+ tools:listitem="@layout/row_document"
|
|
46
|
+ tools:itemCount="2"/>
|
|
47
|
+
|
|
48
|
+ </RelativeLayout>
|
|
49
|
+
|
|
50
|
+</ScrollView>
|