blob: 5a07313b6099a91fa8c0595a9f8cdff51caf0eaf [file] [log] [blame]
Isaac Katzenelsonead19c52011-07-29 18:24:53 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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<LinearLayout
18 xmlns:android="http://schemas.android.com/apk/res/android"
Daisuke Miyakawa08c87462011-08-09 16:41:37 -070019 android:id="@+id/user_profile_header"
Josh Gargus1f9029a2011-11-29 14:39:40 -080020 android:orientation="horizontal"
Isaac Katzenelsonead19c52011-07-29 18:24:53 -070021 android:layout_width="match_parent"
Chiao Chenga264e2e2012-12-12 15:19:12 -080022 android:layout_height="?attr/list_item_header_height"
Daisuke Miyakawa08c87462011-08-09 16:41:37 -070023 android:paddingLeft="?attr/list_item_padding_left"
Chiao Chenga264e2e2012-12-12 15:19:12 -080024 android:paddingRight="?attr/list_item_padding_right"
Fabrice Di Meglio7d3b9152013-04-04 19:49:34 -070025 android:paddingStart="?attr/list_item_padding_left"
26 android:paddingEnd="?attr/list_item_padding_right"
Yorke Lee787bbba2013-10-14 12:30:56 -070027 android:paddingTop="4dp"
Andrew Leee15828e2014-05-01 14:00:25 -070028 android:paddingBottom="8dp" >
Isaac Katzenelsonead19c52011-07-29 18:24:53 -070029
Andrew Leee15828e2014-05-01 14:00:25 -070030 <TextView android:id="@+id/profile_title"
31 android:layout_width="@dimen/contact_list_section_header_width"
32 android:layout_height="?android:attr/listPreferredItemHeight"
Josh Gargus1f9029a2011-11-29 14:39:40 -080033 android:singleLine="true"
34 android:text="@string/user_profile_contacts_list_header"
Josh Gargus1f9029a2011-11-29 14:39:40 -080035 android:ellipsize="end"
Andrew Leee15828e2014-05-01 14:00:25 -070036 android:textAppearance="@style/SectionHeaderStyle"
37 android:gravity="start|center_vertical" />
Isaac Katzenelsonead19c52011-07-29 18:24:53 -070038
Andrew Leee15828e2014-05-01 14:00:25 -070039 <Button android:id="@+id/user_profile_button"
40 xmlns:android="http://schemas.android.com/apk/res/android"
41 android:layout_width="match_parent"
42 android:layout_height="?android:attr/listPreferredItemHeight"
43 android:layout_marginLeft="?attr/list_item_padding_left"
44 android:layout_marginRight="?attr/list_item_padding_right"
45 android:layout_marginStart="?attr/list_item_padding_left"
46 android:layout_marginEnd="?attr/list_item_padding_right"
47 android:paddingLeft="?attr/list_item_gap_between_image_and_text"
48 android:paddingStart="?attr/list_item_gap_between_image_and_text"
49 android:background="?android:attr/selectableItemBackground"
Josh Gargus1f9029a2011-11-29 14:39:40 -080050 android:singleLine="true"
Andrew Leee15828e2014-05-01 14:00:25 -070051 android:text="@string/profile_display_name"
Josh Gargus1f9029a2011-11-29 14:39:40 -080052 android:ellipsize="end"
Andrew Leee15828e2014-05-01 14:00:25 -070053 android:gravity="start|center_vertical"
54 android:textAppearance="?android:attr/textAppearanceMedium" />
Isaac Katzenelsonead19c52011-07-29 18:24:53 -070055
Daisuke Miyakawa08c87462011-08-09 16:41:37 -070056</LinearLayout>