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"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:card_view="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/card"
- android:layout_marginTop="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginRight="8dp"
- android:layout_marginBottom="8dp"
- card_view:cardBackgroundColor="@android:color/white"
- card_view:cardCornerRadius="6dp"
- card_view:cardElevation="6dp">
- <LinearLayout
- android:orientation="vertical"
- android:id="@+id/card_content"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/tv_location"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:textAppearance="@android:style/TextAppearance.Material.Headline"
- tools:text="city"/>
- <LinearLayout
- android:orientation="vertical"
- android:background="#6abcec"
- android:layout_width="match_parent"
- android:layout_height="2dp">
- </LinearLayout>
- <TextView
- android:id="@+id/tv_name"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:textAppearance="@android:style/TextAppearance.Material.Headline"
- tools:text="Name"
- />
- <LinearLayout
- android:orientation="vertical"
- android:background="#6abcec"
- android:layout_width="match_parent"
- android:layout_height="2dp">
- </LinearLayout>
- <TextView
- android:id="@+id/tv_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:textAppearance="@android:style/TextAppearance.Material.Headline"
- tools:text="Text"/>
- </LinearLayout>
- </androidx.cardview.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement