Victor Chang | 7dde845 | 2016-04-14 22:51:38 +0100 | [diff] [blame] | 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" |
Robin Lee | 232f057 | 2016-08-02 10:52:22 +0100 | [diff] [blame] | 17 | android:layout_width="match_parent" |
| 18 | android:layout_height="match_parent" |
Mill Chen | cd86905 | 2019-10-03 00:00:45 +0800 | [diff] [blame] | 19 | android:clipToPadding="true" |
| 20 | android:clipChildren="true" |
Robin Lee | 232f057 | 2016-08-02 10:52:22 +0100 | [diff] [blame] | 21 | android:orientation="vertical"> |
Victor Chang | 7dde845 | 2016-04-14 22:51:38 +0100 | [diff] [blame] | 22 | <LinearLayout |
| 23 | android:id="@+id/header_view" |
| 24 | android:layout_width="fill_parent" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:orientation="vertical" |
| 27 | android:clickable="true" |
| 28 | android:background="?android:attr/selectableItemBackground" |
| 29 | android:visibility="gone"> |
| 30 | |
| 31 | <View |
| 32 | android:id="@+id/header_divider" |
| 33 | android:layout_width="match_parent" |
| 34 | android:layout_height="2dp" |
| 35 | android:background="?android:attr/listDivider" |
| 36 | android:visibility="gone"/> |
| 37 | <LinearLayout |
| 38 | android:layout_width="fill_parent" |
| 39 | android:layout_height="wrap_content" |
| 40 | android:gravity="center_vertical" |
| 41 | android:orientation="horizontal" |
| 42 | android:paddingStart="?android:attr/listPreferredItemPaddingStart" |
| 43 | android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> |
| 44 | <ImageView |
| 45 | android:id="@+id/group_indicator" |
| 46 | android:layout_width="wrap_content" |
| 47 | android:layout_height="wrap_content"/> |
| 48 | <FrameLayout |
| 49 | android:id="@+id/header_content_container" |
| 50 | android:layout_width="fill_parent" |
| 51 | android:layout_height="wrap_content"/> |
| 52 | </LinearLayout> |
| 53 | </LinearLayout> |
| 54 | <ListView |
| 55 | android:id="@+id/cert_list" |
| 56 | style="@style/TrustedCredentialsList"> |
| 57 | </ListView> |
Robin Lee | 232f057 | 2016-08-02 10:52:22 +0100 | [diff] [blame] | 58 | </LinearLayout> |