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
4 <LinearLayout
5 android:layout_width="fill_parent"
6 android:layout_height="fill_parent"
7 android:fitsSystemWindows="true"
8 android:orientation="vertical">
9
10 <com.google.android.material.appbar.AppBarLayout
11 android:layout_width="match_parent"
12 android:layout_height="wrap_content">
13
14 <com.google.android.material.appbar.MaterialToolbar
15 android:id="@+id/toolbar"
16 android:layout_width="match_parent"
17 android:layout_height="wrap_content"
18 android:minHeight="?attr/actionBarSize" />
19
20 </com.google.android.material.appbar.AppBarLayout>
21
22 <ListView
23 android:id="@+id/account_list"
24 android:layout_width="fill_parent"
25 android:layout_height="wrap_content"
26 android:divider="@android:color/transparent"
27 android:dividerHeight="0dp" />
28
29 <RelativeLayout
30 android:id="@+id/phone_accounts"
31 android:visibility="gone"
32 android:layout_width="match_parent"
33 android:layout_height="wrap_content"
34 android:background="?selectableItemBackground"
35 android:paddingLeft="8dp"
36 android:paddingBottom="8dp"
37 android:paddingTop="8dp">
38
39 <com.google.android.material.imageview.ShapeableImageView
40 android:id="@+id/phone_accounts_image"
41 android:layout_width="48dp"
42 android:layout_height="48dp"
43 android:layout_alignParentLeft="true"
44 android:background="@color/yeller"
45 android:src="@drawable/ic_call_24dp"
46 android:tint="@color/white"
47 app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
48
49 <LinearLayout
50 android:layout_width="fill_parent"
51 android:layout_height="wrap_content"
52 android:layout_centerVertical="true"
53 android:layout_toRightOf="@+id/phone_accounts_image"
54 android:orientation="vertical"
55 android:paddingLeft="@dimen/avatar_item_distance">
56
57 <TextView
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"
60 android:scrollHorizontally="false"
61 android:singleLine="true"
62 android:text="Manage Phone Accounts"
63 android:textAppearance="?textAppearanceBodyLarge" />
64
65 <TextView
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:text="Android system dialler integration"
69 android:textAppearance="?textAppearanceBodyMedium" />
70 </LinearLayout>
71
72 <com.google.android.material.imageview.ShapeableImageView
73 android:id="@+id/phone_accounts_settings"
74 android:layout_width="48dp"
75 android:layout_height="48dp"
76 android:layout_alignParentRight="true"
77 android:layout_centerVertical="true"
78 android:paddingRight="16dp"
79 app:strokeColor="@null"
80 android:src="@drawable/ic_settings_24dp"
81 app:shapeAppearance="@style/ShapeAppearanceOverlay.Photo" />
82 </RelativeLayout>
83
84 </LinearLayout>
85</layout>