Skip to content

Instantly share code, notes, and snippets.

View sarsamurmu's full-sized avatar

Sarsa Murmu sarsamurmu

View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/my_icon_background"/>
<foreground android:drawable="@drawable/my_icon_foreground"/>
</adaptive-icon>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item component="ComponentInfo{}" drawable="sample"/>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item drawable="sample"/>
</resources>
<?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>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Dynamic Clock -->
<dynamic-clock drawable="my_clock"
hourLayerIndex="0"
minuteLayerIndex="1"
secondLayerIndex="2"
defaultHour="10"
defaultMinute="10"
defaultSecond="30"/>
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<version>1 </version>
<category title="System" />
<item drawable="audio_fx" />
<item drawable="browser" />
<item drawable="browser_2" />
<item drawable="calculator" />
<item drawable="calculator_2" />
<item drawable="camera_los" />
@sarsamurmu
sarsamurmu / hamburger-menu-animations.markdown
Created April 15, 2019 15:36
Hamburger Menu Animations
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
// For testing
[
{
"name": "City Sight",
"author": "Marvin Ronsdorf",
"collections": "Random",
"url": "https://raw.githubusercontent.com/sarsamurmu/minmax/Wallpapers/city-sight-marvin-ronsdorf.webp",
"thumb": "https://raw.githubusercontent.com/sarsamurmu/minmax/Wallpapers/t/city-sight-marvin-ronsdorf.png",
"downloadable": true
},
{
@sarsamurmu
sarsamurmu / index.html
Created November 5, 2020 10:00
Lit CSS Plugin Snippet for Reboost JS
<html>
<head>
<script type="module" src="./build.js"></script>
</head>
<body>
<my-element></my-element>
</body>
</html>