1<?xml version="1.0" encoding="UTF-8"?><!-- 2 ~ Copyright (C) 2025 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 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="wrap_content" 20 android:minHeight="?android:attr/listPreferredItemHeightSmall" 21 android:orientation="vertical"> 22 23 <include layout="@layout/settingslib_expressive_preference" 24 android:id="@+id/preference_frame"/> 25 26 <LinearLayout 27 android:id="@+id/warning_chip_frame" 28 android:visibility="gone" 29 android:clickable="false" 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:layout_marginBottom="@dimen/settingslib_expressive_space_small1" 33 android:layout_marginTop="-8dp"> 34 <Space 35 android:id="@+id/warning_padding_placeholder" 36 android:layout_width="@dimen/settingslib_expressive_space_medium3" 37 android:layout_height="1px" 38 android:layout_marginEnd="@dimen/settingslib_expressive_space_extrasmall6"/> 39 40 <include layout="@layout/power_anomaly_hints"/> 41 </LinearLayout> 42 43</LinearLayout>