Skip to content

Instantly share code, notes, and snippets.

@m039
Created May 13, 2013 22:31
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 m039/5572058 to your computer and use it in GitHub Desktop.
Save m039/5572058 to your computer and use it in GitHub Desktop.
It is very strange feeling to write xml files for android like this in emacs.
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
>
(truncate (* 255 0.2))51 (#o63, #x33, ?3)
<gradient
android:startColor="#4C000000"
android:endColor="#33000000"
android:type="radial"
/>
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment