• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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. -->
18<LinearLayout
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/directory_header"
21    android:background="@android:color/transparent"
22    android:paddingLeft="@dimen/directory_header_left_padding"
23    android:paddingRight="?attr/list_item_padding_right"
24    android:paddingStart="@dimen/directory_header_left_padding"
25    android:paddingEnd="?attr/list_item_padding_right"
26    android:paddingTop="@dimen/directory_header_extra_top_padding"
27    android:paddingBottom="@dimen/directory_header_extra_bottom_padding"
28    android:minHeight="@dimen/list_section_divider_min_height"
29    android:layout_width="match_parent"
30    android:layout_height="wrap_content" >
31    <TextView
32        android:id="@+id/label"
33        android:layout_width="wrap_content"
34        android:layout_height="wrap_content"
35        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>
55