1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- Header at the top of a raw contact editor. This allows users to change the account that
18    the raw contact is saved in. -->
19<LinearLayout
20        xmlns:android="http://schemas.android.com/apk/res/android"
21        android:id="@+id/all_rawcontacts_accounts_container"
22        android:layout_height="wrap_content"
23        android:layout_width="match_parent"
24        android:minHeight="@dimen/editor_min_line_item_height"
25        android:orientation="horizontal"
26        android:visibility="gone" >
27
28    <ImageView
29            android:src="@drawable/ic_link_grey600_drawable_24dp"
30            android:tint="@color/editor_icon_color"
31            style="@style/EditSelectorIconStyle"/>
32
33    <TextView
34            android:id="@+id/rawcontacts_accounts_summary"
35            android:layout_width="match_parent"
36            android:layout_height="match_parent"
37            android:layout_marginStart="@dimen/compact_editor_account_left_margin"
38            android:textSize="16sp"
39            android:singleLine="true"
40            android:layout_weight="1"
41            android:textColor="@color/primary_text_color"
42            android:textAlignment="viewStart"
43            android:layout_gravity="center_vertical"
44            android:gravity="center_vertical"
45            android:ellipsize="end" />
46
47    <ImageView
48            android:src="@drawable/ic_menu_expander_minimized_holo_light"
49            android:layout_width="wrap_content"
50            android:layout_height="wrap_content"
51            android:layout_gravity="center_vertical|end"
52            android:layout_alignParentEnd="true"
53            android:paddingStart="@dimen/editor_round_button_padding_left"
54            android:paddingEnd="@dimen/editor_round_button_padding_right"
55            android:paddingTop="@dimen/editor_round_button_padding_top"
56            android:paddingBottom="@dimen/editor_round_button_padding_bottom"/>
57
58</LinearLayout>