Skip to content

Commit 28814c2

Browse files
authored
Merge pull request #17077 from GitStartHQ/issue/16403_my_site_dashboard_gray_line_missing_under_the_taps
My Site Dashboard - Gray line missing under the tabs #16403
2 parents d3b7d33 + 379a8d1 commit 28814c2

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
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-land/dimens.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
<!-- login -->
55
<dimen name="prologue_promo_title_size">24sp</dimen>
66
<dimen name="prologue_promo_illustration_margin_bottom">48dp</dimen>
7+
<dimen name="app_bar_with_site_info_tabs_height">174dp</dimen>
78

89
</resources>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@
715715

716716
<dimen name="app_bar_with_site_info_height">146dp</dimen>
717717
<dimen name="app_bar_with_no_site_info_height">62dp</dimen>
718-
<dimen name="app_bar_with_site_info_tabs_height">206dp</dimen>
718+
<dimen name="app_bar_with_site_info_tabs_height">200dp</dimen>
719719
<dimen name="toolbar_bottom_margin_with_no_tabs">0dp</dimen>
720720
<dimen name="toolbar_bottom_margin_with_tabs">168dp</dimen>
721721

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@
374374
<item name="tabTextColor">?attr/wpColorOnSurfaceMedium</item>
375375
<item name="tabSelectedTextColor">?attr/colorOnSurface</item>
376376
<item name="tabIndicatorColor">?attr/colorPrimary</item>
377+
<item name="tabBackground">@drawable/tab_indicator_color</item>
377378
<item name="android:layout_marginBottom">@dimen/bottom_tabs_divider_size</item>
378379
</style>
379380

0 commit comments

Comments
 (0)