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" |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 20 | android:orientation="vertical" |
| 21 | android:layout_width="match_parent" |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 22 | android:layout_height="wrap_content" |
| 23 | android:minHeight="?attr/list_item_header_height" |
| 24 | android:paddingTop="@dimen/contact_browser_list_top_margin" |
| 25 | android:paddingLeft="?attr/list_item_padding_left" |
| 26 | android:paddingRight="?attr/list_item_padding_right" > |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 27 | |
| 28 | <LinearLayout |
| 29 | android:orientation="horizontal" |
| 30 | android:layout_width="match_parent" |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 31 | android:layout_height="wrap_content"> |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 32 | |
| 33 | <TextView |
| 34 | android:id="@+id/profile_title" |
| 35 | android:layout_width="wrap_content" |
| 36 | android:layout_height="wrap_content" |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 37 | android:singleLine="true" |
| 38 | android:text="@string/user_profile_contacts_list_header" |
| 39 | android:textStyle="bold" |
| 40 | android:ellipsize="end" |
Itzhak Katzenelson | 30dff0f | 2011-08-09 21:43:17 -0700 | [diff] [blame] | 41 | android:gravity="left|center_vertical" |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 42 | android:layout_weight="1" |
Erik | b2fcc23 | 2011-09-21 14:03:38 -0700 | [diff] [blame] | 43 | android:textAllCaps="true" |
Itzhak Katzenelson | 30dff0f | 2011-08-09 21:43:17 -0700 | [diff] [blame] | 44 | android:textAppearance="?android:attr/textAppearanceSmall" |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 45 | android:paddingLeft="?attr/list_item_text_indent" |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 46 | android:textColor="@color/people_app_theme_color" /> |
| 47 | |
| 48 | <TextView |
| 49 | android:id="@+id/contacts_count" |
| 50 | android:layout_width="wrap_content" |
| 51 | android:layout_height="wrap_content" |
| 52 | android:singleLine="true" |
| 53 | android:ellipsize="end" |
Itzhak Katzenelson | 30dff0f | 2011-08-09 21:43:17 -0700 | [diff] [blame] | 54 | android:layout_gravity="right|center_vertical" |
| 55 | android:textAppearance="?android:attr/textAppearanceSmall" |
Erik | 5d6ed73 | 2011-09-21 12:52:35 -0700 | [diff] [blame] | 56 | android:textSize="12sp" |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 57 | android:textColor="@color/contact_count_text_color" /> |
| 58 | </LinearLayout> |
| 59 | |
| 60 | <View |
| 61 | android:background="@color/people_app_theme_color" |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 62 | android:layout_width="match_parent" |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 63 | android:layout_height="?attr/list_item_header_underline_height" /> |
Isaac Katzenelson | ead19c5 | 2011-07-29 18:24:53 -0700 | [diff] [blame] | 64 | |
Daisuke Miyakawa | 08c8746 | 2011-08-09 16:41:37 -0700 | [diff] [blame] | 65 | </LinearLayout> |