btn_default_mtrl_shape.xml revision 6dfa60f33ca6018959ebff1efde82db7d2aed1e3
1349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette<?xml version="1.0" encoding="utf-8"?>
2349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette<!-- Copyright (C) 2014 The Android Open Source Project
3349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette
4349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette     Licensed under the Apache License, Version 2.0 (the "License");
5349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette     you may not use this file except in compliance with the License.
6349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette     You may obtain a copy of the License at
7349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette
8349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette          http://www.apache.org/licenses/LICENSE-2.0
9349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette
10349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette     Unless required by applicable law or agreed to in writing, software
11349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette     distributed under the License is distributed on an "AS IS" BASIS,
12349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette     See the License for the specific language governing permissions and
14349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette     limitations under the License.
15349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette-->
16349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette
17349a9bd76064546e6c8ada0c9903499e42547fe4Alan Viverette<!-- Used as the canonical button shape. -->
18f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette
19f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette<inset xmlns:android="http://schemas.android.com/apk/res/android"
20f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette       android:insetLeft="@dimen/button_inset_horizontal_material"
21f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette       android:insetTop="@dimen/button_inset_vertical_material"
22f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette       android:insetRight="@dimen/button_inset_horizontal_material"
23f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette       android:insetBottom="@dimen/button_inset_vertical_material">
246dfa60f33ca6018959ebff1efde82db7d2aed1e3Alan Viverette    <shape android:shape="rectangle"
256dfa60f33ca6018959ebff1efde82db7d2aed1e3Alan Viverette           android:tint="?attr/colorButtonNormal">
26f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette        <corners android:radius="@dimen/control_corner_material" />
276dfa60f33ca6018959ebff1efde82db7d2aed1e3Alan Viverette        <solid android:color="@color/white" />
28f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette        <padding android:left="@dimen/button_padding_horizontal_material"
29f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette                 android:top="@dimen/button_padding_vertical_material"
30f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette                 android:right="@dimen/button_padding_horizontal_material"
31f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette                 android:bottom="@dimen/button_padding_vertical_material" />
32f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette    </shape>
33f023c2530a4591889dda614aaa016d5a9f9617edAlan Viverette</inset>
34