• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 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<com.android.contacts.editor.RawContactReadOnlyEditorView
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:orientation="vertical"
22    android:paddingTop="@dimen/editor_padding_top"
23    android:paddingBottom="32dip">
24
25    <include
26        layout="@layout/editor_account_header" />
27
28    <LinearLayout
29        android:layout_height="wrap_content"
30        android:layout_width="match_parent"
31        android:orientation="horizontal"
32        android:paddingTop="8dip"
33        android:paddingLeft="16dip"
34        android:paddingStart="16dip">
35
36        <TextView android:id="@+id/read_only_name"
37            android:layout_width="0dip"
38            android:layout_height="match_parent"
39            android:layout_weight="1"
40            android:gravity="center_vertical"
41            android:singleLine="true"
42            android:ellipsize="end"
43            android:textAppearance="?android:attr/textAppearanceMedium"
44            android:textColor="?android:attr/textColorSecondary" />
45
46        <include
47            android:id="@+id/edit_photo"
48            android:layout_marginRight="8dip"
49            android:layout_marginEnd="8dip"
50            layout="@layout/item_photo_editor" />
51
52    </LinearLayout>
53
54    <Button
55        android:id="@+id/button_edit_externally"
56        android:text="@string/edit_contact"
57        android:layout_width="match_parent"
58        android:layout_height="wrap_content"
59        android:layout_marginTop="13dip"
60        android:layout_marginBottom="13dip"
61        android:layout_marginLeft="13dip"
62        android:layout_marginStart="13dip"/>
63
64    <LinearLayout android:id="@+id/sect_general"
65        android:layout_width="match_parent"
66        android:layout_height="wrap_content"
67        android:orientation="vertical"/>
68
69</com.android.contacts.editor.RawContactReadOnlyEditorView>
70