From 8f65d7d249cb20d93c1e33b42cf306106ece451a Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Mon, 7 Dec 2020 15:31:26 -0800 Subject: [PATCH] Update rotary highlight on bordered buttons This adds a rotary highlight around bordered buttons. Previously the rotary highlight was only visible as the ripple expanded to fill the button, which was extremely subtle and hard to see. Due to issues with layering and corner radiuses, this cl doesn't include the rotary fill color. It only has the stroke around the outside of the button. File b/175161842 to address that. Bug: 174490425 Test: Manually Change-Id: I2abb54b9be04d33c642ce0509a88696afc028c9b --- .../drawable-car/car_button_background.xml | 50 ++++++++++++++----- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/core/res/res/drawable-car/car_button_background.xml b/core/res/res/drawable-car/car_button_background.xml index 3e2610c5047bf..e568aebfe81d4 100644 --- a/core/res/res/drawable-car/car_button_background.xml +++ b/core/res/res/drawable-car/car_button_background.xml @@ -13,24 +13,48 @@ 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. --> - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + - + - +