blob: acef60bb5ecbf901e97d85d7e4fd5896cdecf8b7 [file] [log] [blame]
Brian Carlstromf6f4e302011-06-26 16:05:21 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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
17 xmlns:android="http://schemas.android.com/apk/res/android"
Tony Makfe0ce012016-05-31 20:51:01 +010018 android:layout_width="match_parent"
Brian Carlstromf6f4e302011-06-26 16:05:21 -070019 android:layout_height="wrap_content"
20 android:gravity="center_vertical"
Brian Carlstromf6f4e302011-06-26 16:05:21 -070021 android:background="?android:attr/selectableItemBackground"
Victor Chang9583dce2016-04-14 22:51:38 +010022 android:paddingStart="?android:attr/listPreferredItemPaddingStart"
23 android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
Robin Leebed85592016-09-01 18:35:00 +010024 android:descendantFocusability="blocksDescendants"
Tony Makfe0ce012016-05-31 20:51:01 +010025 android:orientation="horizontal">
Fabrice Di Meglio21ddce62014-06-17 18:29:26 -070026
Tony Makfe0ce012016-05-31 20:51:01 +010027 <LinearLayout
28 android:layout_width="0dp"
Brian Carlstromf6f4e302011-06-26 16:05:21 -070029 android:layout_height="wrap_content"
Tony Makfe0ce012016-05-31 20:51:01 +010030 android:layout_weight="1"
Robin Leebed85592016-09-01 18:35:00 +010031 android:paddingTop="15dip"
32 android:paddingBottom="15dip"
Tony Makfe0ce012016-05-31 20:51:01 +010033 android:orientation="vertical">
Fabrice Di Meglio21ddce62014-06-17 18:29:26 -070034
Brian Carlstrom10cc9892011-07-05 23:51:39 -070035 <TextView
36 android:id="@+id/trusted_credential_subject_primary"
Tony Makfe0ce012016-05-31 20:51:01 +010037 android:layout_width="wrap_content"
Brian Carlstrom10cc9892011-07-05 23:51:39 -070038 android:layout_height="wrap_content"
Tony Makfe0ce012016-05-31 20:51:01 +010039 android:textAppearance="?android:attr/textAppearanceMedium"
40 android:textAlignment="viewStart"/>
Fabrice Di Meglio21ddce62014-06-17 18:29:26 -070041
Brian Carlstrom10cc9892011-07-05 23:51:39 -070042 <TextView
43 android:id="@+id/trusted_credential_subject_secondary"
Tony Makfe0ce012016-05-31 20:51:01 +010044 android:layout_width="wrap_content"
Brian Carlstrom10cc9892011-07-05 23:51:39 -070045 android:layout_height="wrap_content"
Brian Carlstrom10cc9892011-07-05 23:51:39 -070046 android:textAppearance="?android:attr/textAppearanceSmall"
Tony Makfe0ce012016-05-31 20:51:01 +010047 android:textColor="?android:attr/textColorSecondary"
48 android:textAlignment="viewStart"/>
49 </LinearLayout>
Fabrice Di Meglio21ddce62014-06-17 18:29:26 -070050
Fabrice Di Meglio44db45a2014-10-17 14:06:22 -070051 <!-- Switch is invisible and not gone so that the height is consistent between tabs -->
52 <Switch
Brian Carlstromf6f4e302011-06-26 16:05:21 -070053 android:id="@+id/trusted_credential_status"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:visibility="invisible"
Robin Leebed85592016-09-01 18:35:00 +010057 android:padding="8dp"
Fabrice Di Meglio21ddce62014-06-17 18:29:26 -070058 android:layout_weight="0" />
59
Brian Carlstromf6f4e302011-06-26 16:05:21 -070060</LinearLayout>