Advertisement
dekikurnia

Untitled

Dec 12th, 2017
1,416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 1.17 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:card_view="http://schemas.android.com/apk/res-auto"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="wrap_content"
  6.    card_view:cardUseCompatPadding="true">
  7.  
  8.     <RelativeLayout
  9.        android:layout_width="match_parent"
  10.        android:layout_height="match_parent"
  11.        android:background="?android:selectableItemBackground"
  12.        android:padding="10dp">
  13.  
  14.         <TextView
  15.            android:id="@+id/txt_email"
  16.            android:layout_width="match_parent"
  17.            android:layout_height="wrap_content"
  18.            android:textColor="@android:color/black"
  19.            android:textSize="16sp"
  20.            android:textStyle="bold" />
  21.  
  22.         <TextView
  23.            android:id="@+id/txt_phone"
  24.            android:layout_width="match_parent"
  25.            android:layout_height="wrap_content"
  26.            android:layout_below="@id/txt_email"
  27.            android:textColor="@android:color/black"
  28.            android:textSize="12sp" />
  29.     </RelativeLayout>
  30. </android.support.v7.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement