summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/drawable/overlay_share_button_background_first.xml
blob: 65ee5de9de3f5a531c8ba653b52880613a326508 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?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/.
  -->

<!-- Should be kept in sync with overlay_share_button_background.xml

     This first item in the list has rounded corners. -->
<selector xmlns:android="http://schemas.android.com/apk/res/android">

    <item android:state_pressed="true">
        <shape>
            <solid android:color="@color/toolbar_grey_pressed"/>
            <corners android:topLeftRadius="@dimen/standard_corner_radius"
                     android:topRightRadius="@dimen/standard_corner_radius"/>
        </shape>
    </item>

    <item>
        <shape>
            <solid android:color="@color/toolbar_grey"/>
            <corners android:topLeftRadius="@dimen/standard_corner_radius"
                     android:topRightRadius="@dimen/standard_corner_radius"/>
        </shape>
    </item>

</selector>