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

Commit af7e10fe authored by Lucas Dupin's avatar Lucas Dupin Committed by Automerger Merge Worker
Browse files

Merge "Make buttons react to tap" into rvc-dev am: d27f3c80

Change-Id: Ib2727bb0ca3533fd37c4717c60caa7127e05232b
parents 1cf70229 d27f3c80
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2020 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:state_pressed="true">
        <set>
            <objectAnimator
                android:duration="50"
                android:propertyName="scaleX"
                android:valueTo="0.97"
                android:valueType="floatType" />
            <objectAnimator
                android:duration="50"
                android:propertyName="scaleY"
                android:valueTo="0.97"
                android:valueType="floatType" />

        </set>
    </item>
    <item>
        <set>
            <objectAnimator
                android:duration="250"
                android:propertyName="scaleX"
                android:valueTo="1"
                android:valueType="floatType" />
            <objectAnimator
                android:duration="250"
                android:propertyName="scaleY"
                android:valueTo="1"
                android:valueType="floatType" />
        </set>
    </item>
</selector>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
    android:clickable="false"
    android:focusable="true"
    android:screenReaderFocusable="true"
    android:stateListAnimator="@anim/control_state_list_animator"
    android:layout_marginLeft="@dimen/control_base_item_margin"
    android:layout_marginRight="@dimen/control_base_item_margin"
    android:background="@drawable/control_background">
+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@
    android:paddingRight="@dimen/global_actions_grid_item_side_margin"
    android:layout_marginRight="@dimen/control_base_item_margin"
    android:layout_marginLeft="@dimen/control_base_item_margin"
    android:stateListAnimator="@anim/control_state_list_animator"
    android:background="@drawable/control_background">
    <LinearLayout
        android:layout_width="@dimen/global_actions_grid_item_width"