blob: 8014672bc805c302409267ebc99483f9a7077cb5 [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"
Chiao Chengcd25f382012-11-01 13:41:51 -070020 android:id="@+id/directory_header"
John Shao1e24ae82016-12-06 18:55:24 -080021 android:background="@android:color/transparent"
Wenyi Wang4f358172016-07-25 18:02:50 -070022 android:paddingLeft="@dimen/directory_header_left_padding"
Chiao Chengcd25f382012-11-01 13:41:51 -070023 android:paddingRight="?attr/list_item_padding_right"
Wenyi Wang4f358172016-07-25 18:02:50 -070024 android:paddingStart="@dimen/directory_header_left_padding"
Fabrice Di Meglio7eab4d42013-04-03 20:59:09 -070025 android:paddingEnd="?attr/list_item_padding_right"
Nancy Chenb2580c52014-08-05 14:39:02 -070026 android:paddingTop="@dimen/directory_header_extra_top_padding"
Nancy Chenc1706992014-08-15 12:19:29 -070027 android:paddingBottom="@dimen/directory_header_extra_bottom_padding"
Chiao Chengcd25f382012-11-01 13:41:51 -070028 android:minHeight="@dimen/list_section_divider_min_height"
Chiao Chengcd25f382012-11-01 13:41:51 -070029 android:layout_width="match_parent"
Andrew Lee73a1ae22014-05-01 17:53:10 -070030 android:layout_height="wrap_content" >
Nancy Chenb2580c52014-08-05 14:39:02 -070031 <TextView
32 android:id="@+id/label"
33 android:layout_width="wrap_content"
Chiao Chengcd25f382012-11-01 13:41:51 -070034 android:layout_height="wrap_content"
Nancy Chenb2580c52014-08-05 14:39:02 -070035 android:textAppearance="@style/DirectoryHeaderStyle"
36 android:singleLine="true"
37 android:textAlignment="viewStart" />
38 <TextView
39 android:id="@+id/display_name"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:layout_marginStart="8dp"
43 android:textAppearance="@style/DirectoryHeaderStyle"
44 android:singleLine="true"
45 android:textAlignment="viewStart" />
46 <TextView
47 android:id="@+id/count"
48 android:paddingTop="1dip"
49 android:layout_width="0dip"
50 android:layout_height="wrap_content"
51 android:gravity="end"
52 android:singleLine="true"
53 android:textAppearance="@style/DirectoryHeaderStyle" />
54</LinearLayout>