Skip to content

Instantly share code, notes, and snippets.

@ankitsinghaniyaz
Created September 20, 2016 16:57
Show Gist options
  • Save ankitsinghaniyaz/e2e3677bb1a6babc0ff881a6ad26387f to your computer and use it in GitHub Desktop.
Save ankitsinghaniyaz/e2e3677bb1a6babc0ff881a6ad26387f to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/rectangle_background" />
</selector>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#66ffffff" />
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment