1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2011 Google Inc. 4 Licensed to The Android Open Source Project. 5 6 Licensed under the Apache License, Version 2.0 (the "License"); 7 you may not use this file except in compliance with the License. 8 You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17--> 18<androidx.gridlayout.widget.GridLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto" 20 android:id="@+id/details_expanded_content" 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:background="?android:attr/selectableItemBackground" 24 app:columnCount="2" 25 app:rowCount="6" 26 style="@style/MessageDetailsHeaderStyle" > 27 28 <TextView 29 android:id="@+id/from_heading" 30 android:layout_width="wrap_content" 31 android:layout_height="wrap_content" 32 android:focusable="true" 33 app:layout_column="0" 34 app:layout_row="0" 35 android:text="@string/from_heading" 36 android:visibility="gone" 37 style="@style/MessageHeaderDetailsHeadingStyle" /> 38 <TextView 39 android:id="@+id/from_details" 40 android:layout_width="0dp" 41 android:layout_height="wrap_content" 42 android:focusable="true" 43 app:layout_gravity="fill_horizontal" 44 android:layout_marginBottom="4dp" 45 app:layout_column="1" 46 app:layout_row="0" 47 android:visibility="gone" 48 style="@style/MessageDetailsValueStyle" /> 49 <TextView 50 android:id="@+id/replyto_heading" 51 android:layout_width="wrap_content" 52 android:layout_height="wrap_content" 53 android:focusable="true" 54 app:layout_column="0" 55 app:layout_row="1" 56 android:text="@string/replyto_heading" 57 android:visibility="gone" 58 style="@style/MessageHeaderDetailsHeadingStyle" /> 59 <TextView 60 android:id="@+id/replyto_details" 61 android:layout_width="0dp" 62 android:layout_height="wrap_content" 63 android:focusable="true" 64 app:layout_gravity="fill_horizontal" 65 android:layout_marginBottom="4dp" 66 app:layout_column="1" 67 app:layout_row="1" 68 android:visibility="gone" 69 style="@style/MessageDetailsValueStyle" /> 70 <TextView 71 android:id="@+id/to_heading" 72 android:layout_width="wrap_content" 73 android:layout_height="wrap_content" 74 android:focusable="true" 75 app:layout_column="0" 76 app:layout_row="2" 77 android:text="@string/to_heading_no_space" 78 android:visibility="gone" 79 style="@style/MessageHeaderDetailsHeadingStyle" /> 80 <TextView 81 android:id="@+id/to_details" 82 android:layout_width="0dp" 83 android:layout_height="wrap_content" 84 android:focusable="true" 85 app:layout_gravity="fill_horizontal" 86 android:layout_marginBottom="4dp" 87 app:layout_column="1" 88 app:layout_row="2" 89 android:visibility="gone" 90 style="@style/MessageDetailsValueStyle" /> 91 <TextView 92 android:id="@+id/cc_heading" 93 android:layout_width="wrap_content" 94 android:layout_height="wrap_content" 95 android:focusable="true" 96 app:layout_column="0" 97 app:layout_row="3" 98 android:text="@string/cc_heading" 99 android:visibility="gone" 100 style="@style/MessageHeaderDetailsHeadingStyle" /> 101 <TextView 102 android:id="@+id/cc_details" 103 android:layout_width="0dp" 104 android:layout_height="wrap_content" 105 android:focusable="true" 106 app:layout_gravity="fill_horizontal" 107 android:layout_marginBottom="4dp" 108 app:layout_column="1" 109 app:layout_row="3" 110 android:visibility="gone" 111 style="@style/MessageDetailsValueStyle" /> 112 <TextView 113 android:id="@+id/bcc_heading" 114 android:layout_width="wrap_content" 115 android:layout_height="wrap_content" 116 android:focusable="true" 117 app:layout_column="0" 118 app:layout_row="4" 119 android:text="@string/bcc_heading" 120 android:visibility="gone" 121 style="@style/MessageHeaderDetailsHeadingStyle" /> 122 <TextView 123 android:id="@+id/bcc_details" 124 android:layout_width="0dp" 125 android:layout_height="wrap_content" 126 android:focusable="true" 127 app:layout_gravity="fill_horizontal" 128 android:layout_marginBottom="4dp" 129 app:layout_column="1" 130 app:layout_row="4" 131 android:visibility="gone" 132 style="@style/MessageDetailsValueStyle" /> 133 <TextView 134 android:id="@+id/date_heading" 135 android:layout_width="wrap_content" 136 android:layout_height="wrap_content" 137 android:focusable="true" 138 app:layout_column="0" 139 app:layout_row="5" 140 android:text="@string/date_heading" 141 android:visibility="gone" 142 style="@style/MessageHeaderDetailsHeadingStyle" /> 143 <TextView 144 android:id="@+id/date_details" 145 android:layout_width="0dp" 146 android:layout_height="wrap_content" 147 android:focusable="true" 148 app:layout_gravity="fill_horizontal" 149 android:layout_marginBottom="4dp" 150 app:layout_column="1" 151 app:layout_row="5" 152 android:visibility="gone" 153 style="@style/MessageDetailsValueStyle" /> 154 155</androidx.gridlayout.widget.GridLayout> 156