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

Commit 7e8a8de7 authored by Budi Kusmiantoro's avatar Budi Kusmiantoro
Browse files

Add touch feedback to Stopwatch notification remote views

Bug: 17790553
Change-Id: Icdd54f43052ed1b14067c125c711dbd2692b76e9
parent 30b21054
Loading
Loading
Loading
Loading
+23 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2014 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="?android:attr/colorButtonNormal">
    <item android:id="@android:id/mask">
        <color android:color="?android:attr/colorButtonNormal" />
    </item>
</ripple>
 No newline at end of file
+1 −1
Original line number Original line Diff line number Diff line
@@ -22,7 +22,7 @@
    android:layout_height="64dp"
    android:layout_height="64dp"
    internal:layout_maxHeight="64dp"
    internal:layout_maxHeight="64dp"
    internal:layout_minHeight="64dp"
    internal:layout_minHeight="64dp"
    android:background="?android:attr/selectableItemBackground" >
    android:background="@drawable/notification_background" >


    <include layout="@layout/stopwatch_notification_icon"/>
    <include layout="@layout/stopwatch_notification_icon"/>


+3 −3
Original line number Original line Diff line number Diff line
@@ -28,7 +28,7 @@
        android:layout_height="64dp"
        android:layout_height="64dp"
        internal:layout_maxHeight="64dp"
        internal:layout_maxHeight="64dp"
        internal:layout_minHeight="64dp"
        internal:layout_minHeight="64dp"
        android:background="?android:attr/selectableItemBackground" >
        android:background="@drawable/notification_background" >


        <include layout="@layout/stopwatch_notification_icon"/>
        <include layout="@layout/stopwatch_notification_icon"/>


@@ -94,10 +94,10 @@


            <TextView
            <TextView
                android:id="@+id/swn_left_button"
                android:id="@+id/swn_left_button"
                android:background="?android:attr/selectableItemBackground"
                android:layout_width="0dp"
                android:layout_width="0dp"
                android:layout_height="48dp"
                android:layout_height="48dp"
                android:layout_weight="1"
                android:layout_weight="1"
                android:background="@drawable/notification_background"
                android:drawablePadding="8dp"
                android:drawablePadding="8dp"
                android:ellipsize="end"
                android:ellipsize="end"
                android:gravity="start|center_vertical"
                android:gravity="start|center_vertical"
@@ -107,10 +107,10 @@


            <TextView
            <TextView
                android:id="@+id/swn_right_button"
                android:id="@+id/swn_right_button"
                android:background="?android:attr/selectableItemBackground"
                android:layout_width="0dp"
                android:layout_width="0dp"
                android:layout_height="48dp"
                android:layout_height="48dp"
                android:layout_weight="1"
                android:layout_weight="1"
                android:background="@drawable/notification_background"
                android:drawablePadding="8dp"
                android:drawablePadding="8dp"
                android:ellipsize="end"
                android:ellipsize="end"
                android:gravity="start|center_vertical"
                android:gravity="start|center_vertical"