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

Commit b07e1be1 authored by Ioana Alexandru's avatar Ioana Alexandru Committed by Android (Google) Code Review
Browse files

Merge "Update height and radius of smart actions" into main

parents 1d6e7938 692f4561
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<!--
  ~ Copyright (C) 2025 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"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    android:color="@color/notification_ripple_untinted_color">
+5 −3
Original line number Diff line number Diff line
@@ -18,12 +18,14 @@

<ripple xmlns:android="http://schemas.android.com/apk/res/android"
        android:color="@color/notification_ripple_untinted_color">
    <!-- Insets are chosen so that, in a container of height 48 (for the tap target), the chip
      has a height of 32dp. -->
    <item>
        <inset
            android:insetLeft="0dp"
            android:insetTop="6dp"
            android:insetTop="8dp"
            android:insetRight="0dp"
            android:insetBottom="6dp">
            android:insetBottom="8dp">
            <shape android:shape="rectangle">
                <corners android:radius="@dimen/notification_2025_smart_reply_button_corner_radius" />
                <stroke android:width="@dimen/smart_reply_button_stroke_width"
+1 −1
Original line number Diff line number Diff line
@@ -1194,7 +1194,7 @@
    <dimen name="smart_action_button_icon_size">18dp</dimen>
    <dimen name="smart_action_button_icon_padding">8dp</dimen>
    <dimen name="smart_action_button_outline_stroke_width">2dp</dimen>
    <dimen name="notification_2025_smart_reply_button_corner_radius">18dp</dimen>
    <dimen name="notification_2025_smart_reply_button_corner_radius">24dp</dimen>
    <dimen name="notification_2025_smart_reply_button_min_height">48dp</dimen>

    <!-- Animated Action params. -->