Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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="vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.cardview.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:cardElevation="10dp"
- app:cardCornerRadius="10dp"
- android:layout_margin="10dp"
- app:cardBackgroundColor="#FFFFFF">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/imageview"
- android:layout_width="120dp"
- android:layout_height="150dp"
- android:layout_margin="10dp"
- android:src="@drawable/ic_add_a_photo_black_24dp"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center"
- android:layout_weight="1">
- <TextView
- android:id="@+id/textName"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Nama"
- android:layout_margin="10dp"
- android:textSize="25sp"
- android:textStyle="bold"
- android:textColor="#000"/>
- <TextView
- android:id="@+id/textDate"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="2021"
- android:layout_margin="10dp"/>
- </LinearLayout>
- </LinearLayout>
- </androidx.cardview.widget.CardView>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement