Files
Johannes Gallmann 3f14b372bc Readd sound to 3-button-nav buttons
This CL adds sound to 3-button-nav button clicks. With this CL the
3-button-nav sound behaviour is as follows:

Short click: plays sound on any 3-button-nav buttons (back, home,
recents, accessibility, ime-swithcer) on ACTION_UP.

Long click: plays sound for any buttons that have an action assigned
to them (also on ACTION_UP).

Bug: 458268561
Test: Manual
Flag: EXEMPT BUGFIX
Change-Id: I20883abb65baa600304c97876de35828ce84d803
2025-12-22 08:58:25 +00:00

26 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 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.
-->
<ImageView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="@dimen/taskbar_nav_buttons_size"
android:layout_height="@dimen/taskbar_nav_buttons_size"
android:background="@drawable/taskbar_icon_click_feedback_roundrect"
android:focusable="false"
android:scaleType="center"
android:hapticFeedbackEnabled="false"
android:tint="@color/taskbar_nav_icon_light_color"
tools:ignore="UseAppTint" />