Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d537051 authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Split control background into 40dp and 32dp diameter versions" into mnc-dev

parents 5c7b9495 7d7995e0
Loading
Loading
Loading
Loading
+19 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 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

          http://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.
-->

<ripple xmlns:android="http://schemas.android.com/apk/res/android"
        android:color="@color/control_highlight_material"
        android:radius="16dp" />
+1 −1
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project
<!-- Copyright (C) 2015 The Android Open Source Project


     Licensed under the Apache License, Version 2.0 (the "License");
     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     you may not use this file except in compliance with the License.
+8 −8
Original line number Original line Diff line number Diff line
@@ -574,16 +574,16 @@ please see styles_device_defaults.xml.
    <style name="Widget.Material.CompoundButton" parent="Widget.CompoundButton"/>
    <style name="Widget.Material.CompoundButton" parent="Widget.CompoundButton"/>


    <style name="Widget.Material.CompoundButton.CheckBox" parent="Widget.CompoundButton.CheckBox">
    <style name="Widget.Material.CompoundButton.CheckBox" parent="Widget.CompoundButton.CheckBox">
        <item name="background">@drawable/control_background_material</item>
        <item name="background">@drawable/control_background_40dp_material</item>
    </style>
    </style>


    <style name="Widget.Material.CompoundButton.RadioButton" parent="Widget.CompoundButton.RadioButton">
    <style name="Widget.Material.CompoundButton.RadioButton" parent="Widget.CompoundButton.RadioButton">
        <item name="background">@drawable/control_background_material</item>
        <item name="background">@drawable/control_background_40dp_material</item>
    </style>
    </style>


    <style name="Widget.Material.CompoundButton.Star" parent="Widget.CompoundButton.Star">
    <style name="Widget.Material.CompoundButton.Star" parent="Widget.CompoundButton.Star">
        <item name="button">@drawable/btn_star_material</item>
        <item name="button">@drawable/btn_star_material</item>
        <item name="background">@drawable/control_background_material</item>
        <item name="background">@drawable/control_background_40dp_material</item>
    </style>
    </style>


    <style name="Widget.Material.CompoundButton.Switch">
    <style name="Widget.Material.CompoundButton.Switch">
@@ -592,7 +592,7 @@ please see styles_device_defaults.xml.
        <item name="switchTextAppearance">@style/TextAppearance.Material.Widget.Switch</item>
        <item name="switchTextAppearance">@style/TextAppearance.Material.Widget.Switch</item>
        <item name="textOn">@string/capital_on</item>
        <item name="textOn">@string/capital_on</item>
        <item name="textOff">@string/capital_off</item>
        <item name="textOff">@string/capital_off</item>
        <item name="background">@drawable/control_background_material</item>
        <item name="background">@drawable/control_background_40dp_material</item>
        <item name="showText">false</item>
        <item name="showText">false</item>
    </style>
    </style>


@@ -730,7 +730,7 @@ please see styles_device_defaults.xml.
        <item name="paddingStart">16dip</item>
        <item name="paddingStart">16dip</item>
        <item name="paddingEnd">16dip</item>
        <item name="paddingEnd">16dip</item>
        <item name="mirrorForRtl">true</item>
        <item name="mirrorForRtl">true</item>
        <item name="background">@drawable/control_background_material</item>
        <item name="background">@drawable/control_background_32dp_material</item>
    </style>
    </style>


    <style name="Widget.Material.RatingBar" parent="Widget.RatingBar">
    <style name="Widget.Material.RatingBar" parent="Widget.RatingBar">
@@ -812,7 +812,7 @@ please see styles_device_defaults.xml.
    </style>
    </style>


    <style name="Widget.Material.Toolbar.Button.Navigation" parent="Widget.Material">
    <style name="Widget.Material.Toolbar.Button.Navigation" parent="Widget.Material">
        <item name="background">@drawable/control_background_material</item>
        <item name="background">@drawable/control_background_40dp_material</item>
        <item name="minWidth">56dp</item>
        <item name="minWidth">56dp</item>
        <item name="scaleType">center</item>
        <item name="scaleType">center</item>
        <item name="paddingStart">@dimen/action_bar_navigation_padding_start_material</item>
        <item name="paddingStart">@dimen/action_bar_navigation_padding_start_material</item>
@@ -869,7 +869,7 @@ please see styles_device_defaults.xml.
    </style>
    </style>


    <style name="Widget.Material.ActionButton.CloseMode">
    <style name="Widget.Material.ActionButton.CloseMode">
        <item name="background">@drawable/control_background_material</item>
        <item name="background">@drawable/control_background_40dp_material</item>
        <!-- Should match Widget.Material.Toolbar.Button.Navigation minWidth. -->
        <!-- Should match Widget.Material.Toolbar.Button.Navigation minWidth. -->
        <item name="minWidth">56dp</item>
        <item name="minWidth">56dp</item>
    </style>
    </style>
@@ -967,7 +967,7 @@ please see styles_device_defaults.xml.
    </style>
    </style>


    <style name="Widget.Material.MediaRouteButton">
    <style name="Widget.Material.MediaRouteButton">
        <item name="background">@drawable/control_background_material</item>
        <item name="background">@drawable/control_background_40dp_material</item>
        <item name="externalRouteEnabledDrawable">@drawable/ic_media_route_material</item>
        <item name="externalRouteEnabledDrawable">@drawable/ic_media_route_material</item>
        <item name="minWidth">56dp</item>
        <item name="minWidth">56dp</item>
        <item name="minHeight">48dp</item>
        <item name="minHeight">48dp</item>