materi_footer.xml 2.28 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="horizontal"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <androidx.cardview.widget.CardView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:cardElevation="10dp"
        app:cardCornerRadius="5dp"
        android:layout_margin="12dp"
        android:id="@+id/cardMatkul">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:padding="8dp"
            android:background="@color/bgrecyclerview">

            <TextView
                android:id="@+id/sesi_materi"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="16dp"
                android:layout_marginTop="16dp"
                android:layout_marginBottom="8dp"
                android:fontFamily="@font/poppins"
                android:text="Sesi : "
                android:textColor="@color/hyperlink"
                android:textSize="16dp"
                android:textStyle="bold" />

            <TextView
                android:id="@+id/judul_materi"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@+id/sesi_materi"
                android:layout_marginLeft="16dp"
                android:fontFamily="@font/poppins"
                android:text="Judul : "
                android:textSize="14dp" />

            <TextView
                android:id="@+id/tanggal_materi"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_below="@id/judul_materi"
                android:layout_marginLeft="16dp"
                android:layout_marginTop="8dp"
                android:fontFamily="@font/poppins"
                android:text="Tanggal Sesi : "
                android:textColor="@color/black"
                android:textSize="14dp" />
        </RelativeLayout>
    </androidx.cardview.widget.CardView>
</LinearLayout>