Skip to content

Commit 9234cdd

Browse files
committed
added_custom_tab_drawable
1 parent 1a1302b commit 9234cdd

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<selector xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item android:state_selected="false" android:state_pressed="false">
4+
<layer-list>
5+
<item android:top="-10dp" android:left="-1000dp" android:right="-1000dp">
6+
<shape android:shape="rectangle" >
7+
<stroke android:color="@color/gray" android:width="0.5dp"/>
8+
</shape>
9+
</item>
10+
</layer-list>
11+
</item>
12+
</selector>

WordPress/src/main/res/values/styles.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@
370370
<item name="tabTextColor">?attr/wpColorOnSurfaceMedium</item>
371371
<item name="tabSelectedTextColor">?attr/colorOnSurface</item>
372372
<item name="tabIndicatorColor">?attr/colorPrimary</item>
373+
<item name="tabBackground">@drawable/tab_indicator_color</item>
373374
<item name="android:layout_marginBottom">@dimen/bottom_tabs_divider_size</item>
374375
</style>
375376

0 commit comments

Comments
 (0)