unplugged-system/packages/modules/Permission/PermissionController/res/layout-v33/view_status_card.xml

61 lines
2.3 KiB
XML

<!--
~ Copyright (C) 2021 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
<ImageView
android:id="@+id/status_image"
android:importantForAccessibility="no"
android:src="@drawable/safety_status_info"
style="@style/SafetyCenterStatusImage" />
<LinearLayout
android:id="@+id/status_title_and_summary"
style="?attr/scStatusTitleAndSummaryContainerStyle">
<TextView
android:id="@+id/status_title"
android:text="@string/summary_placeholder"
style="@style/SafetyCenterStatusTitle" />
<TextView
android:id="@+id/status_summary"
android:text="@string/summary_placeholder"
style="@style/SafetyCenterStatusSummary" />
</LinearLayout>
<androidx.constraintlayout.widget.Barrier
android:id="@+id/sc_status_buttons_start_barrier"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="start"
app:constraint_referenced_ids="review_settings_button,rescan_button" />
<com.google.android.material.button.MaterialButton
android:id="@+id/review_settings_button"
android:text="@string/safety_center_review_settings_button"
android:visibility="gone"
style="?attr/scStatusButtonStyle" />
<com.google.android.material.button.MaterialButton
android:id="@+id/rescan_button"
android:text="@string/safety_center_rescan_button"
style="?attr/scStatusButtonStyle" />
</merge>