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
18<merge xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:app="http://schemas.android.com/apk/res-auto"
20    xmlns:tools="http://schemas.android.com/tools"
21    tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
22
23    <ImageView
24        android:id="@+id/status_image"
25        android:importantForAccessibility="no"
26        android:src="@drawable/safety_status_info"
27        style="@style/SafetyCenterStatusImage" />
28
29    <LinearLayout
30        android:id="@+id/status_title_and_summary"
31        style="?attr/scStatusTitleAndSummaryContainerStyle">
32
33        <TextView
34            android:id="@+id/status_title"
35            android:text="@string/summary_placeholder"
36            style="@style/SafetyCenterStatusTitle" />
37
38        <TextView
39            android:id="@+id/status_summary"
40            android:text="@string/summary_placeholder"
41            style="@style/SafetyCenterStatusSummary" />
42    </LinearLayout>
43
44    <androidx.constraintlayout.widget.Barrier
45        android:id="@+id/sc_status_buttons_start_barrier"
46        android:layout_width="wrap_content"
47        android:layout_height="wrap_content"
48        app:barrierDirection="start"
49        app:constraint_referenced_ids="review_settings_button,rescan_button" />
50
51    <com.google.android.material.button.MaterialButton
52        android:id="@+id/review_settings_button"
53        android:text="@string/safety_center_review_settings_button"
54        android:visibility="gone"
55        style="?attr/scStatusButtonStyle" />
56
57    <com.google.android.material.button.MaterialButton
58        android:id="@+id/rescan_button"
59        android:text="@string/safety_center_rescan_button"
60        style="?attr/scStatusButtonStyle" />
61</merge>