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<resources xmlns:android="http://schemas.android.com/apk/res/android"> 18 19 <!-- START SAFETY STATUS CARD --> 20 <style name="SafetyCenterStatusTitleAndSummaryContainer.Responsive"> 21 <item name="layout_constraintEnd_toStartOf">@id/sc_status_buttons_start_barrier</item> 22 <!-- Clear the base style constraints so they don't conflict with this style's constraints 23 on the same sides. --> 24 <item name="layout_constraintEnd_toEndOf">@null</item> 25 </style> 26 27 <style name="SafetyCenterStatusButton.Responsive"> 28 <item name="android:layout_width">wrap_content</item> 29 <item name="layout_constraintTop_toTopOf">parent</item> 30 <item name="layout_constraintStart_toEndOf">@id/status_title_and_summary</item> 31 <item name="layout_constraintEnd_toEndOf">parent</item> 32 <item name="android:layout_marginTop">@dimen/sc_spacing_xxsmall</item> 33 <item name="android:paddingStart">@dimen/sc_large_screen_button_padding</item> 34 <item name="android:paddingEnd">@dimen/sc_large_screen_button_padding</item> 35 <!-- Clear the base style constraints so they don't conflict with this style's constraints 36 on the same sides. --> 37 <item name="layout_constraintTop_toBottomOf">@null</item> 38 <item name="layout_constraintStart_toStartOf">@null</item> 39 </style> 40</resources> 41