1<!-- 2 ~ Copyright (C) 2021 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<LinearLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="wrap_content" 21 android:orientation="vertical" 22 android:gravity="center" 23 android:clickable="false" 24 android:paddingTop="5dp" 25 android:paddingBottom="12dp"> 26 27 <ImageView 28 android:id="@+id/status_image" 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 android:gravity="center" 32 android:paddingBottom="22dp" 33 android:src="@drawable/safety_status_info" /> 34 35 <TextView 36 android:id="@+id/status_title" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:text="@string/summary_placeholder" 40 android:textAppearance="@style/TextAppearance.SafetyStatusTitle" /> 41 42 <TextView 43 android:id="@+id/status_summary" 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" 46 android:paddingBottom="8dp" 47 android:text="@string/summary_placeholder" 48 android:textAppearance="@style/TextAppearance.SafetyStatusSummary" /> 49 50 <Button 51 android:id="@+id/rescan_button" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:text="@string/safety_center_rescan_button" 55 style="@style/SafetyCenter.RescanButton" /> 56</LinearLayout>