Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.43 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:id="@+id/container"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    app:cardCornerRadius="5dp"
  9.    app:cardElevation="5dp"
  10.    tools:context=".HomeActivity">
  11.  
  12.  
  13.     <LinearLayout
  14.        android:layout_width="match_parent"
  15.        android:layout_height="wrap_content"
  16.        android:gravity="center"
  17.        android:padding="10dp">
  18.  
  19.         <ImageView
  20.            android:id="@+id/image_store"
  21.            android:layout_width="100dp"
  22.            android:layout_height="100dp"
  23.            android:src="@mipmap/ic_launcher" />
  24.  
  25.         <LinearLayout
  26.            android:layout_width="match_parent"
  27.            android:layout_height="wrap_content"
  28.            android:layout_margin="10dp"
  29.            android:orientation="vertical">
  30.  
  31.             <TextView
  32.                android:id="@+id/textview_store_name"
  33.                android:layout_width="wrap_content"
  34.                android:layout_height="wrap_content"
  35.                android:text="Nama Toko"
  36.                android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
  37.            
  38.         </LinearLayout>
  39.  
  40.     </LinearLayout>
  41.  
  42. </androidx.cardview.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement