summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/drawable/widget_button_right_pressed.xml
blob: 2ebf61489889d1c948d9667ef7ed15f0b6bd365b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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/. -->

<!-- These drawables have to be wrapped in a layer-list in order to produce padding at
     the bottom of the drawable. That padding ensures the drawable doesn't block the
     orange strip in widget_bg.9.png -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:bottom="@dimen/widget_bg_border_offset">
        <shape android:shape="rectangle">
            <corners android:topLeftRadius="0dp"
                     android:topRightRadius="@dimen/widget_drawable_corner_radius"
                     android:bottomLeftRadius="0dp"
                     android:bottomRightRadius="0dp"/>
            <solid android:color="@color/widget_button_pressed"/>
        </shape>
    </item>
</layer-list>