mobile/android/app/src/main/res/drawable/widget_button_left_pressed.xml
author jwu <jwu@mozilla.com>
Sat, 17 Jun 2017 01:17:28 +0800
changeset 364536 3649a9346e36428e6d04bfcd99ed0e2c514f7632
parent 209671 mobile/android/base/resources/drawable/widget_button_left_pressed.xml@43f52d151b2c607f762af548342862d9965a041a
permissions -rw-r--r--
Bug 1372486 - Part 1: Move Fennec resources from base/resources to app/src/main/res. r=nalexander,nechen,walkingice The hg command is: `hg mv mobile/android/base/resources app/src/main/res` MozReview-Commit-ID: GlfNB4Ohre4

<?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>