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

Commit ff4fb6a3 authored by Pawit Pornkitprasan's avatar Pawit Pornkitprasan
Browse files

Power Widgets: Add blue-background highlight on selection

Allows the user to see which widget was clicked.

Change-Id: I8d7a9fad54067677029f3fa0caea0f0f6b2561d7
parent 9bb7a6f1
Loading
Loading
Loading
Loading
−932 B
Loading image diff...
−932 B
Loading image diff...
+22 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 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.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android"
        android:exitFadeDuration="@android:integer/config_mediumAnimTime">

    <item android:state_pressed="true"  android:drawable="@drawable/notification_item_background_color_pressed" />
    <item android:state_pressed="false" android:drawable="@drawable/notification_header_bg" />
</selector>