Last active
August 29, 2015 14:09
-
-
Save billmote/c517c09d8ebb3cb7f132 to your computer and use it in GitHub Desktop.
Battery saving overlay in its simplest form.
This file contains hidden or 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
| <!-- download this file and include it in res/drawable --> | |
| <a href="https://dl.dropboxusercontent.com/u/2026413/battery_saver_tile.png">battery_saver_tile.png</a> | |
| <!-- for you GIMPers out there: here's the .xcf file I created --> | |
| <a href="https://dl.dropboxusercontent.com/u/2026413/battery_saver_tile.xcf">battery_saver_tile.xcf</a> | |
| <!-- before --> | |
| <a href="https://www.dropbox.com/s/b0qirkuraf29r10/Screenshot%202014-11-13%2021.00.49.png?dl=0">before</a> | |
| <!-- after --> | |
| <a href="https://www.dropbox.com/s/uq4t0rme9aww1fb/Screenshot%202014-11-13%2021.02.24.png?dl=0">after</a> |
This file contains hidden or 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
| <FrameLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:background="@drawable/tilebackground" | |
| android:visibility="visible"/> |
This file contains hidden or 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
| <bitmap | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:src="@drawable/battery_saver_tile" | |
| android:tileMode="repeat" | |
| android:dither="true" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment