Newer
Older
Kevin Whitaker
committed
<?xml version="1.0" encoding="utf-8"?>
Kevin Whitaker
committed
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
app:cardUseCompatPadding="true"
app:cardElevation="4dp"
Kevin Whitaker
committed
android:foreground="?android:attr/selectableItemBackground"
android:layout_height="match_parent">
Kevin Whitaker
committed
Kevin Whitaker
committed
<LinearLayout
android:layout_width="match_parent"
android:background="@color/parchment_yellow"
android:layout_height="wrap_content">
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_margin="5dp"
Kevin Whitaker
committed
android:id="@+id/character_icon"/>
<LinearLayout
android:orientation="vertical"
android:gravity="center_vertical"
android:layout_marginLeft="10dp"
Kevin Whitaker
committed
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/character_name"/>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/character_player"/>
</LinearLayout>
</LinearLayout>
</android.support.v7.widget.CardView>