forked from Helium314/HeliBoard
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added subtle animation on button key press
- Loading branch information
codokie
committed
Apr 1, 2024
1 parent
64bcd29
commit 314c6e5
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- button_alpha_transition.xml --> | ||
<set xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<objectAnimator | ||
android:propertyName="alpha" | ||
android:valueFrom="1.0" | ||
android:valueTo="0.5" | ||
android:duration="750" /> | ||
<objectAnimator | ||
android:propertyName="alpha" | ||
android:valueFrom="0.5" | ||
android:valueTo="1.0" | ||
android:startOffset="750" | ||
android:duration="750" /> | ||
</set> |