Skip to content

Instantly share code, notes, and snippets.

@mahdimortazavi
Created August 22, 2016 20:32
Show Gist options
  • Save mahdimortazavi/2385ee5c1aefe81d7466ef694862455d to your computer and use it in GitHub Desktop.
Save mahdimortazavi/2385ee5c1aefe81d7466ef694862455d to your computer and use it in GitHub Desktop.
Button corner (btn shape)
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" android:padding="10dp">
<!-- you can use any color you want I used here gray color-->
<solid android:color="#49aa02"/>
<corners android:radius="10dp"/>
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment