Skip to content

Instantly share code, notes, and snippets.

@sarsamurmu
Last active January 11, 2020 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sarsamurmu/4619b125fe69f545723e0f87c96b5cbd to your computer and use it in GitHub Desktop.
Save sarsamurmu/4619b125fe69f545723e0f87c96b5cbd to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/clock_background"/>
<foreground>
<layer-list>
<item>
<rotate android:drawable="@drawable/clock_hour" android:fromDegrees="300.0" android:toDegrees="5300.0" android:pivotX="50.0%" android:pivotY="50.0%"/>
</item>
<item>
<rotate android:drawable="@drawable/clock_minute" android:fromDegrees="60.0" android:toDegrees="60060.0" android:pivotX="50.0%" android:pivotY="50.0%"/>
</item>
<item>
<rotate android:drawable="@drawable/clock_second" android:fromDegrees="180.0" android:toDegrees="6180.0" android:pivotX="50.0%" android:pivotY="50.0%" android:level="300"/>
</item>
<item android:drawable="@drawable/clock_top"/>
</layer-list>
</foreground>
</adaptive-icon>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment