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" |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 22 | android:layout_height="wrap_content" |
Josh Gargus | af2113d | 2011-11-28 18:16:34 -0800 | [diff] [blame] | 23 | android:paddingTop="@dimen/list_header_extra_top_padding" |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 24 | android:paddingLeft="?attr/list_item_padding_left" |
Josh Gargus | 1f9029a | 2011-11-29 14:39:40 -0800 | [diff] [blame^] | 25 | android:paddingRight="?attr/list_item_padding_right" |
| 26 | android:background="@drawable/list_section_divider_holo_custom" |
| 27 | android:minHeight="?attr/list_item_header_height" |
| 28 | > |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 29 | |
Josh Gargus | 1f9029a | 2011-11-29 14:39:40 -0800 | [diff] [blame^] | 30 | <TextView |
| 31 | android:id="@+id/profile_title" |
| 32 | android:layout_width="wrap_content" |
| 33 | android:layout_height="wrap_content" |
| 34 | android:singleLine="true" |
| 35 | android:text="@string/user_profile_contacts_list_header" |
| 36 | android:textStyle="bold" |
| 37 | android:ellipsize="end" |
| 38 | android:layout_gravity="left|bottom" |
| 39 | android:layout_marginBottom="2dip" |
| 40 | android:layout_weight="1" |
| 41 | android:textAllCaps="true" |
| 42 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 43 | android:paddingLeft="?attr/list_item_text_indent" |
| 44 | android:textColor="@color/people_app_theme_color" /> |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 45 | |
Josh Gargus | 1f9029a | 2011-11-29 14:39:40 -0800 | [diff] [blame^] | 46 | <TextView |
| 47 | android:id="@+id/contacts_count" |
| 48 | android:layout_width="wrap_content" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:singleLine="true" |
| 51 | android:ellipsize="end" |
| 52 | android:layout_gravity="right|bottom" |
| 53 | android:layout_marginBottom="2dip" |
| 54 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 55 | android:textSize="12sp" |
| 56 | android:textColor="@color/contact_count_text_color" /> |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 57 | |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 58 | </LinearLayout> |