footer_manage_phone_accounts.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
 3<RelativeLayout
 4    android:id="@+id/phone_accounts"
 5    android:visibility="gone"
 6    android:layout_width="match_parent"
 7    android:layout_height="wrap_content"
 8    android:background="?selectableItemBackground"
 9    android:paddingLeft="8dp"
10    android:paddingBottom="8dp"
11    android:paddingTop="8dp">
12
13    <com.google.android.material.imageview.ShapeableImageView
14        android:id="@+id/phone_accounts_image"
15        android:layout_width="48dp"
16        android:layout_height="48dp"
17        android:layout_alignParentLeft="true"
18        android:background="@color/yeller"
19        android:src="@drawable/ic_call_24dp"
20        android:tint="@color/white"
21        app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
22
23    <LinearLayout
24        android:layout_width="fill_parent"
25        android:layout_height="wrap_content"
26        android:layout_centerVertical="true"
27        android:layout_toRightOf="@+id/phone_accounts_image"
28        android:orientation="vertical"
29        android:paddingLeft="@dimen/avatar_item_distance">
30
31        <TextView
32            android:layout_width="wrap_content"
33            android:layout_height="wrap_content"
34            android:scrollHorizontally="false"
35            android:singleLine="true"
36            android:text="Manage Phone Accounts"
37            android:textAppearance="?textAppearanceBodyLarge" />
38
39        <TextView
40            android:layout_width="wrap_content"
41            android:layout_height="wrap_content"
42            android:text="Android system dialler integration"
43            android:textAppearance="?textAppearanceBodyMedium" />
44    </LinearLayout>
45
46    <com.google.android.material.imageview.ShapeableImageView
47        android:id="@+id/phone_accounts_settings"
48        android:layout_width="48dp"
49        android:layout_height="48dp"
50        android:layout_alignParentRight="true"
51        android:layout_centerVertical="true"
52        android:paddingRight="16dp"
53        app:strokeColor="@null"
54        android:src="@drawable/ic_settings_24dp"
55        app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
56</RelativeLayout>
57</layout>