Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- xmlns:app="http://schemas.android.com/apk/res-auto">
- <android.support.v7.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:cardUseCompatPadding="true"
- app:cardElevation="10dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:gravity="center"
- android:padding="10dp">
- <ImageView
- android:id="@+id/product_phote_iv"
- android:layout_width="match_parent"
- android:layout_height="100dp"
- android:scaleType="centerCrop"
- android:src="@mipmap/ic_launcher"/>
- <TextView
- android:id="@+id/product_name_tv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="@style/Base.TextAppearance.AppCompat.Large"
- android:layout_marginTop="10dp"
- android:text="Nama Product"/>
- <TextView
- android:id="@+id/product_price_tv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="@style/Base.TextAppearance.AppCompat.Small"
- android:text="Harga Product"/>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement