Advertisement
Guest User

Untitled

a guest
Nov 17th, 2018
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.01 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="wrap_content"
  5.    xmlns:app="http://schemas.android.com/apk/res-auto"
  6.    android:id="@+id/container">
  7.  
  8.     <android.support.v7.widget.CardView
  9.        android:layout_width="match_parent"
  10.        android:layout_height="wrap_content"
  11.        app:cardCornerRadius="5dp"
  12.        app:cardElevation="5dp"
  13.        app:cardUseCompatPadding="true">
  14.  
  15.         <LinearLayout
  16.            android:layout_width="match_parent"
  17.            android:layout_height="wrap_content"
  18.            android:orientation="horizontal">
  19.  
  20.             <ImageView
  21.                android:id="@+id/store_imv"
  22.                android:layout_width="100dp"
  23.                android:layout_height="100dp"
  24.                android:src="@mipmap/ic_launcher"
  25.                android:scaleType="fitCenter"/>
  26.  
  27.             <LinearLayout
  28.                android:layout_width="wrap_content"
  29.                android:layout_height="wrap_content"
  30.                android:layout_weight="1"
  31.                android:orientation="vertical"
  32.                android:layout_gravity="center"
  33.                android:padding="10dp">
  34.  
  35.                 <TextView
  36.                    android:id="@+id/store_name_tv"
  37.                    android:layout_width="wrap_content"
  38.                    android:layout_height="wrap_content"
  39.                    android:textAppearance="@style/TextAppearance.AppCompat.Large"
  40.                    android:text="Store Name"/>
  41.  
  42.                 <TextView
  43.                    android:id="@+id/deal_tv"
  44.                    android:layout_width="wrap_content"
  45.                    android:layout_height="wrap_content"
  46.                    android:textAppearance="@style/TextAppearance.AppCompat.Medium"
  47.                    android:text="Belum Ada Deal !"/>
  48.             </LinearLayout>
  49.         </LinearLayout>
  50.     </android.support.v7.widget.CardView>
  51. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement