extension_item.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<layout xmlns:android="http://schemas.android.com/apk/res/android"
 3	xmlns:app="http://schemas.android.com/apk/res-auto">
 4
 5	<LinearLayout
 6		android:layout_width="fill_parent"
 7		android:layout_height="wrap_content"
 8		android:layout_centerVertical="true"
 9		android:orientation="horizontal"
10		android:paddingTop="8dp"
11		android:paddingBottom="8dp"
12		android:paddingLeft="@dimen/avatar_item_distance"
13		android:paddingRight="@dimen/avatar_item_distance"
14		android:background="@drawable/background_selectable_list_item">
15
16		<ImageView
17			android:id="@+id/icon"
18			android:layout_width="48dp"
19			android:layout_height="48dp"
20			android:gravity="center_vertical"
21			android:layout_marginEnd="10sp" />
22
23		<TextView
24			android:id="@+id/name"
25			android:layout_width="wrap_content"
26			android:layout_height="fill_parent"
27			android:gravity="center_vertical"
28			android:textAppearance="?textAppearanceBodyLarge" />
29
30	</LinearLayout>
31
32</layout>