Skip to content

Instantly share code, notes, and snippets.

@asilturk
Last active June 2, 2020 08:16
Show Gist options
  • Save asilturk/58fb44b4b3ca8a9410535d49c9774ac0 to your computer and use it in GitHub Desktop.
Save asilturk/58fb44b4b3ca8a9410535d49c9774ac0 to your computer and use it in GitHub Desktop.
Android corner radius xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="200dp"
android:layout_width="200dp">
<item>
<shape android:shape="rectangle">
<solid android:color="#edf2f6"/>
<stroke
android:color="#edf2f6"
android:width="2dp"
/>
<corners android:radius="5dp"/>
</shape>
</item>
</selector>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment