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="wrap_content"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/container">
- <android.support.v7.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:cardCornerRadius="5dp"
- app:cardElevation="5dp"
- app:cardUseCompatPadding="true">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/store_imv"
- android:layout_width="100dp"
- android:layout_height="100dp"
- android:src="@mipmap/ic_launcher"
- android:scaleType="fitCenter"/>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical"
- android:layout_gravity="center"
- android:padding="10dp">
- <TextView
- android:id="@+id/store_name_tv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="@style/TextAppearance.AppCompat.Large"
- android:text="Store Name"/>
- <TextView
- android:id="@+id/deal_tv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="@style/TextAppearance.AppCompat.Medium"
- android:text="Belum Ada Deal !"/>
- </LinearLayout>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement