Advertisement
Guest User

activity_custom_list_caddy.xml

a guest
Jul 26th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.19 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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:background="@android:color/white"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="wrap_content"
  8.    android:orientation="vertical">
  9.     <android.support.v7.widget.CardView
  10.        android:layout_width="match_parent"
  11.        android:layout_height="wrap_content"
  12.        android:layout_margin="8dp"
  13.        app:cardBackgroundColor="@color/cardview_light_background"
  14.        app:cardCornerRadius="10dp">
  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/imgcaddy"
  22.                android:layout_width="96dp"
  23.                android:layout_height="96dp"
  24.                android:layout_margin="6dp"
  25.                android:src="@drawable/no_photo" />
  26.  
  27.             <LinearLayout
  28.                android:layout_width="match_parent"
  29.                android:layout_height="wrap_content"
  30.                android:orientation="vertical">
  31.                 <TextView
  32.                    android:id="@+id/txtcaddy_name"
  33.                    android:layout_width="match_parent"
  34.                    android:layout_height="wrap_content"
  35.                    android:layout_margin="8dp"
  36.                    android:text="Caddy Name"
  37.                    android:textSize="18sp"
  38.                    android:textStyle="bold"
  39.                    android:textColor="@android:color/black"/>
  40.                 <TextView
  41.                    android:id="@+id/txtgender"
  42.                    android:layout_width="match_parent"
  43.                    android:layout_height="wrap_content"
  44.                    android:layout_margin="8dp"
  45.                    android:text="Gender"
  46.                    android:textSize="15sp"
  47.                    android:textColor="@android:color/black"/>
  48.  
  49.             </LinearLayout>
  50.         </LinearLayout>
  51.     </android.support.v7.widget.CardView>
  52.  
  53. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement