blob: 29fd1c663ed619e8c6147a23e15e5bd4895bc58b [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"
Josh Gargus1f9029a2011-11-29 14:39:40 -080025 android:background="@drawable/list_section_divider_holo_custom"
Chiao Chenga264e2e2012-12-12 15:19:12 -080026 android:gravity="center_vertical"
Josh Gargus1f9029a2011-11-29 14:39:40 -080027 >
Isaac Katzenelsonead19c52011-07-29 18:24:53 -070028
Josh Gargus1f9029a2011-11-29 14:39:40 -080029 <TextView
30 android:id="@+id/profile_title"
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:singleLine="true"
34 android:text="@string/user_profile_contacts_list_header"
35 android:textStyle="bold"
36 android:ellipsize="end"
Josh Gargus1f9029a2011-11-29 14:39:40 -080037 android:layout_weight="1"
38 android:textAllCaps="true"
39 android:textAppearance="?android:attr/textAppearanceSmall"
40 android:paddingLeft="?attr/list_item_text_indent"
41 android:textColor="@color/people_app_theme_color" />
Isaac Katzenelsonead19c52011-07-29 18:24:53 -070042
Josh Gargus1f9029a2011-11-29 14:39:40 -080043 <TextView
44 android:id="@+id/contacts_count"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:singleLine="true"
48 android:ellipsize="end"
Josh Gargus1f9029a2011-11-29 14:39:40 -080049 android:textAppearance="?android:attr/textAppearanceSmall"
50 android:textSize="12sp"
51 android:textColor="@color/contact_count_text_color" />
Isaac Katzenelsonead19c52011-07-29 18:24:53 -070052
Daisuke Miyakawa08c87462011-08-09 16:41:37 -070053</LinearLayout>