<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" xmlns:app="http://schemas.android.com/apk/res-auto" android:padding="8dp"> <androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="90dp" app:cardCornerRadius="5dp" app:cardElevation="10dp" android:id="@+id/card_ik" android:layout_margin="8dp"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:padding="8dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:text="Number" android:id="@+id/numberIk" android:layout_marginLeft="8dp" android:textStyle="bold" android:textSize="16dp"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Keperluan " android:id="@+id/keperluanIkAll" android:layout_marginLeft="16dp" android:layout_marginBottom="4dp" android:layout_toRightOf="@+id/numberIk"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Tanggal berangkat : " android:layout_below="@id/keperluanIkAll" android:id="@+id/tglBerangaktIk" android:layout_marginLeft="16dp" android:layout_marginBottom="4dp" android:layout_toRightOf="@+id/numberIk" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Tanggal Kembali : " android:layout_below="@id/tglBerangaktIk" android:id="@+id/tglKembaliIk" android:layout_marginLeft="16dp" android:layout_marginTop="4dp" android:layout_toRightOf="@+id/numberIk" /> </RelativeLayout> </androidx.cardview.widget.CardView> </RelativeLayout>