• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17              android:layout_width="match_parent"
18              android:layout_height="match_parent"
19              android:orientation="vertical">
20    <LinearLayout
21        android:id="@+id/header_view"
22        android:layout_width="fill_parent"
23        android:layout_height="wrap_content"
24        android:orientation="vertical"
25        android:clickable="true"
26        android:background="?android:attr/selectableItemBackground"
27        android:visibility="gone">
28
29        <View
30            android:id="@+id/header_divider"
31            android:layout_width="match_parent"
32            android:layout_height="2dp"
33            android:background="?android:attr/listDivider"
34            android:visibility="gone"/>
35        <LinearLayout
36            android:layout_width="fill_parent"
37            android:layout_height="wrap_content"
38            android:gravity="center_vertical"
39            android:orientation="horizontal"
40            android:paddingStart="?android:attr/listPreferredItemPaddingStart"
41            android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
42            <ImageView
43                android:id="@+id/group_indicator"
44                android:layout_width="wrap_content"
45                android:layout_height="wrap_content"/>
46            <FrameLayout
47                android:id="@+id/header_content_container"
48                android:layout_width="fill_parent"
49                android:layout_height="wrap_content"/>
50        </LinearLayout>
51    </LinearLayout>
52    <ListView
53        android:id="@+id/cert_list"
54        style="@style/TrustedCredentialsList">
55    </ListView>
56</LinearLayout>
57