You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
47 lines
2.2 KiB
XML
47 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2008 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<inset xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:insetLeft="@dimen/button_inset_horizontal_material"
|
|
android:insetTop="@dimen/button_inset_vertical_material"
|
|
android:insetRight="@dimen/button_inset_horizontal_material"
|
|
android:insetBottom="@dimen/button_inset_vertical_material">
|
|
<layer-list android:paddingMode="stack">
|
|
<item>
|
|
<ripple android:color="?attr/colorControlHighlight">
|
|
<item>
|
|
<shape android:shape="rectangle"
|
|
android:tint="?attr/colorButtonNormal">
|
|
<corners android:topLeftRadius="@dimen/control_corner_material"
|
|
android:topRightRadius="@dimen/control_corner_material"/>
|
|
<solid android:color="@color/white" />
|
|
<padding android:left="@dimen/button_padding_horizontal_material"
|
|
android:top="@dimen/button_padding_vertical_material"
|
|
android:right="@dimen/button_padding_horizontal_material"
|
|
android:bottom="@dimen/button_padding_vertical_material" />
|
|
</shape>
|
|
</item>
|
|
</ripple>
|
|
</item>
|
|
<item android:gravity="bottom|fill_horizontal">
|
|
<shape android:shape="rectangle">
|
|
<size android:height="2dp" />
|
|
<solid android:color="@color/control_checkable_material" />
|
|
</shape>
|
|
</item>
|
|
</layer-list>
|
|
</inset>
|