mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
Add animations
This commit is contained in:
parent
4a3ef4892c
commit
7fe9696920
5 changed files with 65 additions and 1 deletions
10
app/src/main/res/anim/rotate_forward.xml
Normal file
10
app/src/main/res/anim/rotate_forward.xml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fillAfter="true" >
|
||||
<rotate android:fromDegrees="0"
|
||||
android:toDegrees="45"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="300"
|
||||
android:interpolator="@android:anim/linear_interpolator"/>
|
||||
</set>
|
||||
Loading…
Add table
Add a link
Reference in a new issue