1<!-- 2 ~ Copyright (C) 2023 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<merge xmlns:android="http://schemas.android.com/apk/res/android" 18 xmlns:tools="http://schemas.android.com/tools" 19 xmlns:app="http://schemas.android.com/apk/res-auto" 20 tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout"> 21 22 <ImageView 23 android:id="@+id/status_icon" 24 android:importantForAccessibility="no" 25 android:src="@drawable/safety_status_info" 26 style="@style/SafetyCenterMoreIssuesIcon" 27 app:layout_constraintTop_toTopOf="parent" 28 app:layout_constraintBottom_toBottomOf="parent" 29 app:layout_constraintStart_toStartOf="parent" 30 app:layout_constraintEnd_toStartOf="@+id/title"/> 31 32 <TextView 33 android:id="@id/title" 34 style="@style/SafetyCenterMoreIssuesTitle" 35 app:layout_constraintTop_toTopOf="parent" 36 app:layout_constraintBottom_toBottomOf="parent" 37 app:layout_constraintStart_toEndOf="@id/status_icon" 38 app:layout_constraintEnd_toStartOf="@+id/widget_title"/> 39 40 <View 41 android:id="@+id/widget_background" 42 style="@style/SafetyCenterMoreIssuesCounter" 43 app:layout_constraintTop_toTopOf="@id/widget_title" 44 app:layout_constraintBottom_toBottomOf="@id/widget_title" 45 app:layout_constraintStart_toStartOf="@id/widget_title" 46 app:layout_constraintEnd_toEndOf="parent"/> 47 48 <TextView 49 android:id="@id/widget_title" 50 style="@style/SafetyCenterMoreIssuesWidgetTitle" 51 app:layout_constraintTop_toTopOf="parent" 52 app:layout_constraintBottom_toBottomOf="parent" 53 app:layout_constraintStart_toEndOf="@id/title" 54 app:layout_constraintEnd_toStartOf="@+id/widget_icon"/> 55 56 <ImageView 57 android:id="@id/widget_icon" 58 android:importantForAccessibility="no" 59 style="@style/SafetyCenterMoreIssuesWidgetIcon" 60 app:layout_constraintTop_toTopOf="parent" 61 app:layout_constraintBottom_toBottomOf="parent" 62 app:layout_constraintStart_toEndOf="@id/widget_title" 63 app:layout_constraintEnd_toEndOf="parent"/> 64 65 <androidx.constraintlayout.widget.Group 66 android:id="@+id/widget_frame" 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:visibility="visible" 70 app:constraint_referenced_ids="widget_background,widget_title,widget_icon"/> 71 72</merge> 73