Skip to content

Instantly share code, notes, and snippets.

@siscofran999
Created January 31, 2020 17:30
Show Gist options
  • Save siscofran999/0e702db31f2d6ea452e3cfe3157f9dc7 to your computer and use it in GitHub Desktop.
Save siscofran999/0e702db31f2d6ea452e3cfe3157f9dc7 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- radius should be half of the desired TabLayout height -->
<corners
android:radius="15dp"/>
<!-- color of the selected tab -->
<solid
android:color="@color/colorBg"/>
<stroke
android:width="1dp"
android:color="@color/colorText"/>
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment