• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3     Copyright (C) 2015 The Android Open Source Project
4
5     Licensed under the Apache License, Version 2.0 (the "License");
6     you may not use this file except in compliance with the License.
7     You may obtain a copy of the License at
8
9          http://www.apache.org/licenses/LICENSE-2.0
10
11     Unless required by applicable law or agreed to in writing, software
12     distributed under the License is distributed on an "AS IS" BASIS,
13     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14     See the License for the specific language governing permissions and
15     limitations under the License.
16-->
17
18<LinearLayout
19        xmlns:android="http://schemas.android.com/apk/res/android"
20        android:id="@+id/account_header_container"
21        android:layout_height="wrap_content"
22        android:layout_width="match_parent"
23        android:minHeight="@dimen/editor_min_line_item_height"
24        android:orientation="horizontal"
25        android:paddingBottom="@dimen/editor_name_top_margin"
26        >
27
28
29    <ImageView
30            android:id="@+id/account_type_icon"
31            style="@style/EditSelectorIconStyle"/>
32
33    <LinearLayout
34            android:layout_height="wrap_content"
35            android:layout_width="0dp"
36            android:layout_weight="1"
37            android:layout_marginTop="@dimen/editor_account_header_top_margin"
38            android:layout_marginStart="@dimen/editor_account_left_margin"
39            android:layout_gravity="center_vertical"
40            android:orientation="vertical"
41            >
42
43        <TextView
44                android:id="@+id/account_type"
45                android:layout_width="match_parent"
46                android:layout_height="wrap_content"
47                android:textSize="16sp"
48                android:singleLine="true"
49                android:textColor="@color/primary_text_color"
50                android:ellipsize="end"
51                android:textAlignment="viewStart"
52                />
53
54        <TextView
55                android:id="@+id/account_name"
56                android:layout_width="match_parent"
57                android:layout_height="wrap_content"
58                android:textSize="14sp"
59                android:singleLine="true"
60                android:textColor="@color/secondary_text_color"
61                android:ellipsize="end"
62                android:textAlignment="viewStart"
63                />
64
65    </LinearLayout>
66
67    <ImageView
68        android:id="@+id/account_expander_icon"
69        android:src="@drawable/quantum_ic_expand_more_vd_theme_24"
70        android:tint="@color/quantum_black_secondary_text"
71        android:layout_width="wrap_content"
72        android:layout_height="wrap_content"
73        android:layout_gravity="center_vertical|end"
74        android:layout_alignParentEnd="true"
75        android:contentDescription="@string/show_more_content_description"
76        android:paddingStart="@dimen/editor_round_button_padding_left"
77        android:paddingEnd="@dimen/editor_round_button_padding_right"
78        android:paddingTop="@dimen/editor_round_button_padding_top"
79        android:paddingBottom="@dimen/editor_round_button_padding_bottom"
80        android:visibility="gone"/>
81</LinearLayout>