<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright 2024 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
  ~
  ~      https://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.
  -->

<resources>
  <style name="RoundedCornerThemeOverlay">
      <item name="android:buttonCornerRadius">24dp</item>
      <item name="android:paddingHorizontal">16dp</item>
      <item name="android:colorControlHighlight">@color/ripple_material_inverse</item>
  </style>

  <style name="ActionPrimaryButton" parent="android:Widget.DeviceDefault.Button.Colored">
    <item name="android:theme">@style/RoundedCornerThemeOverlay</item>
    <item name="android:textSize">16sp</item>
    <item name="android:fontFamily">@*android:string/config_bodyFontFamilyMedium</item>
  </style>

  <style name="PreferenceButton" parent="@style/ActionPrimaryButton">
    <item name="android:fontFamily">google-sans-medium</item>
    <item name="android:textSize">14sp</item>
    <item name="android:textAllCaps">false</item>
    <item name="android:singleLine">true</item>
    <item name="android:paddingHorizontal">24dp</item>
  </style>
</resources>