Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 1 | <?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 Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 19 | android:id="@+id/user_profile_header" |
Josh Gargus | 1f9029a | 2011-11-29 14:39:40 -0800 | [diff] [blame] | 20 | android:orientation="horizontal" |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 21 | android:layout_width="match_parent" |
Chiao Cheng | a264e2e | 2012-12-12 15:19:12 -0800 | [diff] [blame] | 22 | android:layout_height="?attr/list_item_header_height" |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 23 | android:paddingLeft="?attr/list_item_padding_left" |
Chiao Cheng | a264e2e | 2012-12-12 15:19:12 -0800 | [diff] [blame] | 24 | android:paddingRight="?attr/list_item_padding_right" |
Fabrice Di Meglio | 7d3b915 | 2013-04-04 19:49:34 -0700 | [diff] [blame] | 25 | android:paddingStart="?attr/list_item_padding_left" |
| 26 | android:paddingEnd="?attr/list_item_padding_right" |
Yorke Lee | 787bbba | 2013-10-14 12:30:56 -0700 | [diff] [blame] | 27 | android:paddingTop="4dp" |
Andrew Lee | e15828e | 2014-05-01 14:00:25 -0700 | [diff] [blame] | 28 | android:paddingBottom="8dp" > |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 29 | |
Andrew Lee | e15828e | 2014-05-01 14:00:25 -0700 | [diff] [blame] | 30 | <TextView android:id="@+id/profile_title" |
| 31 | android:layout_width="@dimen/contact_list_section_header_width" |
| 32 | android:layout_height="?android:attr/listPreferredItemHeight" |
Josh Gargus | 1f9029a | 2011-11-29 14:39:40 -0800 | [diff] [blame] | 33 | android:singleLine="true" |
| 34 | android:text="@string/user_profile_contacts_list_header" |
Josh Gargus | 1f9029a | 2011-11-29 14:39:40 -0800 | [diff] [blame] | 35 | android:ellipsize="end" |
Andrew Lee | e15828e | 2014-05-01 14:00:25 -0700 | [diff] [blame] | 36 | android:textAppearance="@style/SectionHeaderStyle" |
| 37 | android:gravity="start|center_vertical" /> |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 38 | |
Andrew Lee | e15828e | 2014-05-01 14:00:25 -0700 | [diff] [blame] | 39 | <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" |
Brian Attwell | 77aa498 | 2014-09-08 17:00:31 -0700 | [diff] [blame] | 43 | android:paddingStart="?attr/list_item_padding_left" |
| 44 | android:paddingEnd="?attr/list_item_padding_right" |
Andrew Lee | e15828e | 2014-05-01 14:00:25 -0700 | [diff] [blame] | 45 | android:background="?android:attr/selectableItemBackground" |
Josh Gargus | 1f9029a | 2011-11-29 14:39:40 -0800 | [diff] [blame] | 46 | android:singleLine="true" |
Andrew Lee | e15828e | 2014-05-01 14:00:25 -0700 | [diff] [blame] | 47 | android:text="@string/profile_display_name" |
Josh Gargus | 1f9029a | 2011-11-29 14:39:40 -0800 | [diff] [blame] | 48 | android:ellipsize="end" |
Andrew Lee | e15828e | 2014-05-01 14:00:25 -0700 | [diff] [blame] | 49 | android:gravity="start|center_vertical" |
| 50 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 51 | |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 52 | </LinearLayout> |