mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
* Applied better animation in nearby * Refactor: Reduce Duration of Rotate Animation Decreased the duration of the rotate animation from 1000ms to 500ms in `rotate.xml`, resulting in a faster rotation speed.
49 lines
No EOL
1.3 KiB
XML
49 lines
No EOL
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item>
|
|
<vector
|
|
android:width="24dp"
|
|
android:height="24dp"
|
|
android:viewportWidth="24"
|
|
android:viewportHeight="24">
|
|
<path
|
|
android:pathData="M12,4 A8,8 0 1,1 4,12 A8,8 0 1,5 19.42 ,15"
|
|
android:strokeWidth="2"
|
|
android:strokeColor="#2196F3"
|
|
android:fillColor="#00000000"
|
|
android:trimPathStart="0.2"
|
|
android:trimPathEnd="1.0"/>
|
|
</vector>
|
|
</item>
|
|
|
|
<item>
|
|
<vector
|
|
android:width="24dp"
|
|
android:height="24dp"
|
|
android:viewportWidth="24"
|
|
android:viewportHeight="24">
|
|
<path
|
|
android:pathData="M12,4 A8,8 0 1,1 4,12 A8,8 0 1,1 12,4"
|
|
android:strokeWidth="2"
|
|
android:strokeColor="#FFFFFF"
|
|
android:fillColor="#00000000"
|
|
android:trimPathStart="0.0"
|
|
android:trimPathEnd="0.2"/>
|
|
</vector>
|
|
</item>
|
|
|
|
<item android:right="12dp">
|
|
<rotate
|
|
android:fromDegrees="0"
|
|
android:toDegrees="360"
|
|
android:pivotX="50%"
|
|
android:pivotY="50%">
|
|
<shape android:shape="ring">
|
|
<size
|
|
android:width="12dp"
|
|
android:height="2dp"/>
|
|
<solid android:color="#2196F3"/>
|
|
</shape>
|
|
</rotate>
|
|
</item>
|
|
</layer-list> |