blob: 3e41aa775f4e7f199d098e034a3bdf0c027abfe8 [file] [log] [blame]
Chiao Chengcd25f382012-11-01 13:41:51 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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<!-- Layout used for list section separators. -->
Nancy Chenb2580c52014-08-05 14:39:02 -070018<LinearLayout
Chiao Chengcd25f382012-11-01 13:41:51 -070019 xmlns:android="http://schemas.android.com/apk/res/android"
20 style="@style/DirectoryHeader"
21 android:id="@+id/directory_header"
Andrew Lee62a36812014-05-12 14:33:16 -070022 android:background="?attr/contact_browser_background"
Wenyi Wang4f358172016-07-25 18:02:50 -070023 android:paddingLeft="@dimen/directory_header_left_padding"
Chiao Chengcd25f382012-11-01 13:41:51 -070024 android:paddingRight="?attr/list_item_padding_right"
Wenyi Wang4f358172016-07-25 18:02:50 -070025 android:paddingStart="@dimen/directory_header_left_padding"
Fabrice Di Meglio7eab4d42013-04-03 20:59:09 -070026 android:paddingEnd="?attr/list_item_padding_right"
Nancy Chenb2580c52014-08-05 14:39:02 -070027 android:paddingTop="@dimen/directory_header_extra_top_padding"
Nancy Chenc1706992014-08-15 12:19:29 -070028 android:paddingBottom="@dimen/directory_header_extra_bottom_padding"
Chiao Chengcd25f382012-11-01 13:41:51 -070029 android:minHeight="@dimen/list_section_divider_min_height"
Chiao Chengcd25f382012-11-01 13:41:51 -070030 android:layout_width="match_parent"
Andrew Lee73a1ae22014-05-01 17:53:10 -070031 android:layout_height="wrap_content" >
Nancy Chenb2580c52014-08-05 14:39:02 -070032 <TextView
33 android:id="@+id/label"
34 android:layout_width="wrap_content"
Chiao Chengcd25f382012-11-01 13:41:51 -070035 android:layout_height="wrap_content"
Nancy Chenb2580c52014-08-05 14:39:02 -070036 android:textAppearance="@style/DirectoryHeaderStyle"
37 android:singleLine="true"
38 android:textAlignment="viewStart" />
39 <TextView
40 android:id="@+id/display_name"
41 android:layout_width="wrap_content"
42 android:layout_height="wrap_content"
43 android:layout_marginStart="8dp"
44 android:textAppearance="@style/DirectoryHeaderStyle"
45 android:singleLine="true"
46 android:textAlignment="viewStart" />
47 <TextView
48 android:id="@+id/count"
49 android:paddingTop="1dip"
50 android:layout_width="0dip"
51 android:layout_height="wrap_content"
52 android:gravity="end"
53 android:singleLine="true"
54 android:textAppearance="@style/DirectoryHeaderStyle" />
55</LinearLayout>