gecko/mobile/android/search/res/drawable/widget_button_left_pressed.xml
2014-08-15 11:04:36 -07:00

20 lines
986 B
XML

<?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="@dimen/widget_drawable_corner_radius"
android:topRightRadius="0dp"
android:bottomLeftRadius="0dp"
android:bottomRightRadius="0dp"/>
<solid android:color="@color/widget_button_pressed"/>
</shape>
</item>
</layer-list>