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

Commit e5c7d7dc authored by Schneider Victor-tulias's avatar Schneider Victor-tulias
Browse files

Polish the keyboard quick switch view and border animation colors

Flag: ENABLE_KEYBOARD_QUICK_SWITCH
Bug: 276336349
Test: keyboard quick switched on tablet and handheld
Change-Id: I2c21737db3fc4c332ffef9098e8d05d998cf3c39
parent 296f8776
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 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">
    <item
        android:color="@android:color/system_neutral2_500"
        android:lStar="80"/>
</selector>
+17 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 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">
    <item
        android:color="@android:color/system_neutral2_500"
        android:lStar="35"/>
</selector>
+1 −1
Original line number Diff line number Diff line
@@ -17,6 +17,6 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    android:shape="rectangle">
    <solid android:color="?androidprv:attr/materialColorSurfaceContainerHigh" />
    <solid android:color="?androidprv:attr/materialColorSurfaceBright" />
    <corners android:radius="@dimen/keyboard_quick_switch_task_view_radius" />
</shape>
+1 −1
Original line number Diff line number Diff line
@@ -16,6 +16,6 @@
<shape
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    <solid android:color="?attr/overviewScrimColor" />
    <solid android:color="@color/quick_switch_view_background" />
    <corners android:radius="@dimen/keyboard_quick_switch_view_radius" />
</shape>
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
    android:importantForAccessibility="yes"
    android:background="@drawable/keyboard_quick_switch_task_view_background"
    android:clipToOutline="true"
    launcher:borderColor="?androidprv:attr/materialColorSecondaryContainer">
    launcher:borderColor="?androidprv:attr/materialColorOutline">

    <include
        layout="@layout/keyboard_quick_switch_thumbnail"
Loading