Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/container"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:cardCornerRadius="5dp"
- app:cardElevation="5dp"
- tools:context=".HomeActivity">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:padding="10dp">
- <ImageView
- android:id="@+id/image_store"
- android:layout_width="100dp"
- android:layout_height="100dp"
- android:src="@mipmap/ic_launcher" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:orientation="vertical">
- <TextView
- android:id="@+id/textview_store_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Nama Toko"
- android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
- </LinearLayout>
- </LinearLayout>
- </androidx.cardview.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement