blob: b7f396e93ca7b4c98aa4952181c0eab160802011 [file] [log] [blame]
Walter Jang2d3f31c2015-06-18 23:15:31 -07001<?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<!-- Copy of editor_account_header_expandable, but w/o the expand account button. -->
19<LinearLayout
20 xmlns:android="http://schemas.android.com/apk/res/android"
21 android:id="@+id/account_container"
22 android:layout_height="wrap_content"
23 android:layout_width="match_parent"
Tingting Wang91cee282015-10-07 13:48:17 -070024 android:orientation="horizontal"
Walter Jang2d3f31c2015-06-18 23:15:31 -070025 android:background="?android:attr/selectableItemBackground"
Tingting Wang91cee282015-10-07 13:48:17 -070026 android:paddingTop="8dip"
Walter Jang82acd422015-10-17 14:01:27 -070027 android:visibility="gone"
Walter Jang2d3f31c2015-06-18 23:15:31 -070028 >
29
Tingting Wang91cee282015-10-07 13:48:17 -070030 <ImageView
31 android:id="@+id/account_type_icon"
32 android:layout_width="@dimen/detail_network_icon_size"
33 android:layout_height="@dimen/detail_network_icon_size"
34 android:layout_margin="16dip"
35 android:layout_gravity="center_vertical" />
36
Walter Jang2d3f31c2015-06-18 23:15:31 -070037 <LinearLayout
38 android:layout_height="wrap_content"
39 android:layout_width="0dp"
40 android:layout_weight="1"
41 android:paddingBottom="24dp"
42 android:paddingTop="24dp"
43 android:orientation="vertical"
44 >
45
46 <TextView
47 android:id="@+id/account_type"
48 android:layout_width="match_parent"
49 android:layout_height="wrap_content"
50 android:textSize="16sp"
51 android:singleLine="true"
52 android:textColor="@color/primary_text_color"
53 android:ellipsize="end"
54 />
55
56 <TextView
57 android:id="@+id/account_name"
58 android:layout_width="match_parent"
59 android:layout_height="wrap_content"
60 android:textSize="14sp"
61 android:singleLine="true"
62 android:textColor="@color/secondary_text_color"
63 android:ellipsize="end"
64 />
65
66 </LinearLayout>
67
68</LinearLayout>