[fenix] For https://github.com/mozilla-mobile/fenix/issues/15968 - Show a border for the selected tab in the grid based tabs tray
The border for the grid item will now be updated in the same method that updates the background for the list item.pull/600/head
parent
f90db55a2f
commit
0dd114beb8
@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
|
||||||
|
<layer-list
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:bottom="4dp"
|
||||||
|
android:left="4dp"
|
||||||
|
android:right="4dp"
|
||||||
|
android:top="4dp">
|
||||||
|
|
||||||
|
<shape
|
||||||
|
android:shape="rectangle">
|
||||||
|
|
||||||
|
<stroke
|
||||||
|
android:width="4dp"
|
||||||
|
android:color="@color/photonViolet70" />
|
||||||
|
|
||||||
|
<corners android:radius="@dimen/tab_tray_grid_item_border_radius" />
|
||||||
|
</shape>
|
||||||
|
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</layer-list>
|
Loading…
Reference in New Issue