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    <style name="SafetyCenterActionButton.Responsive">
20        <item name="android:paddingStart">@dimen/sc_button_horizontal_padding_large_screen</item>
21        <item name="android:paddingEnd">@dimen/sc_button_horizontal_padding_large_screen</item>
22    </style>
23
24    <style name="SecondarySafetyCenterActionButton.Responsive">
25        <item name="android:paddingStart">@dimen/sc_button_horizontal_padding_large_screen</item>
26        <item name="android:paddingEnd">@dimen/sc_button_horizontal_padding_large_screen</item>
27    </style>
28
29    <!-- START SAFETY STATUS CARD -->
30    <style name="SafetyCenterStatusTitleAndSummaryContainer.Responsive">
31        <item name="layout_constraintEnd_toStartOf">@id/sc_status_buttons_start_barrier</item>
32        <!-- Clear the base style constraints so they don't conflict with this style's constraints
33        on the same sides. -->
34        <item name="layout_constraintEnd_toEndOf">@null</item>
35    </style>
36
37    <style name="SafetyCenterStatusButton.Responsive">
38        <item name="android:layout_width">wrap_content</item>
39        <item name="layout_constraintTop_toTopOf">parent</item>
40        <item name="layout_constraintStart_toEndOf">@id/status_title_and_summary</item>
41        <item name="layout_constraintEnd_toEndOf">parent</item>
42        <item name="android:layout_marginTop">@dimen/sc_spacing_xxsmall</item>
43        <item name="android:paddingStart">@dimen/sc_button_horizontal_padding_large_screen</item>
44        <item name="android:paddingEnd">@dimen/sc_button_horizontal_padding_large_screen</item>
45        <!-- Clear the base style constraints so they don't conflict with this style's constraints
46         on the same sides. -->
47        <item name="layout_constraintTop_toBottomOf">@null</item>
48        <item name="layout_constraintStart_toStartOf">@null</item>
49    </style>
50</resources>
51