Created
March 18, 2020 09:18
-
-
Save ImaginativeShohag/7e41f7b636bea9cdcd599876f0fe2cde to your computer and use it in GitHub Desktop.
Custom color for Android TabLayout bottom line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item | |
android:left="-10dp" | |
android:right="-10dp" | |
android:top="-10dp"> | |
<shape android:shape="rectangle"> | |
<solid android:color="@android:color/transparent" /> | |
<stroke | |
android:width="2dp" | |
android:color="@color/colorPrimary" /> | |
</shape> | |
</item> | |
</layer-list> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment