Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.v7.widget.CardView
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="250dp"
- android:layout_height="wrap_content"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_marginBottom="5dp"
- android:layout_marginTop="5dp"
- android:layout_marginRight="10dp"
- android:layout_marginLeft="10dp"
- app:cardElevation="3dp"
- app:cardCornerRadius="5dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="100dp"
- android:src="@color/colorPrimary"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_margin="10dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:text="Puzzle Dazzle: Edisi Ramadhan"
- android:textStyle="bold"
- android:textSize="16sp"
- android:textColor="@android:color/black"/>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:text="5400 played this"
- android:layout_marginBottom="5dp"/>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:text="Sambil ngabuburit, main puzzle dulu yuk biar santai!"
- android:layout_marginBottom="10dp"/>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:textColor="@color/colorPrimary"
- tools:text="Yuk Main"
- android:textStyle="bold"
- android:layout_marginBottom="10dp"/>
- <View
- android:layout_width="match_parent"
- android:layout_height="0.5dp"
- android:background="@android:color/darker_gray"
- android:layout_marginBottom="10dp"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- //Ganti dengan imagenya
- <ImageView
- android:layout_width="24dp"
- android:layout_height="24dp"
- android:src="@color/colorPrimary"
- android:contentDescription="@string/app_name"/>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:layout_marginStart="5dp"
- tools:text="2.92k"/>
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </android.support.v7.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement