1 <?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
2 - License, v. 2.0. If a copy of the MPL was not distributed with this
3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
4 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
5 android:id="@+id/account_preference_background"
6 android:layout_width="match_parent"
7 android:layout_height="wrap_content"
8 android:foreground="?android:attr/selectableItemBackground"
9 android:gravity="center_vertical"
10 android:minHeight="?android:attr/listPreferredItemHeight"
11 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
12 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
15 android:id="@android:id/icon"
16 android:importantForAccessibility="no"
17 android:layout_width="24dp"
18 android:layout_height="24dp"
19 android:layout_gravity="center"
20 android:scaleType="fitCenter" />
23 android:layout_width="0dp"
24 android:layout_height="wrap_content"
25 android:layout_marginStart="15dp"
26 android:layout_marginEnd="6dp"
27 android:layout_weight="1"
28 android:paddingStart="16dp"
29 android:paddingTop="16dp"
30 android:paddingEnd="0dp"
31 android:paddingBottom="16dp">
34 android:id="@+id/displayName"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:ellipsize="marquee"
38 android:fadingEdge="horizontal"
39 android:textColor="?attr/textPrimary"
40 android:textSize="16sp"
41 android:visibility="gone" />
44 android:id="@+id/email"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:layout_below="@id/displayName"
48 android:layout_alignStart="@id/displayName"
49 android:textColor="?secondaryText"
51 android:text="@string/preferences_account_default_name" />
56 android:id="@android:id/widget_frame"
57 android:layout_width="wrap_content"
58 android:layout_height="wrap_content"
59 android:gravity="center_vertical"
60 android:orientation="vertical" />