what done?
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2015 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.
|
||||
-->
|
||||
|
||||
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:color="?android:attr/colorControlHighlight"/><!-- From: file:/usr/local/google/buildbot/src/googleplex-android/mnc-supportlib-release/frameworks/support/v7/appcompat/res/drawable-v21/abc_action_bar_item_background_material.xml -->
|
@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2015 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/abc_button_inset_horizontal_material"
|
||||
android:insetTop="@dimen/abc_button_inset_vertical_material"
|
||||
android:insetRight="@dimen/abc_button_inset_horizontal_material"
|
||||
android:insetBottom="@dimen/abc_button_inset_vertical_material">
|
||||
<ripple android:color="?android:attr/colorControlHighlight">
|
||||
<item>
|
||||
<!-- As we can't use themed ColorStateLists in L, we'll use a Drawable selector which
|
||||
changes the shape's fill color. -->
|
||||
<selector>
|
||||
<item android:state_enabled="false">
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/abc_control_corner_material"/>
|
||||
<solid android:color="?android:attr/colorButtonNormal"/>
|
||||
<padding android:left="@dimen/abc_button_padding_horizontal_material"
|
||||
android:top="@dimen/abc_button_padding_vertical_material"
|
||||
android:right="@dimen/abc_button_padding_horizontal_material"
|
||||
android:bottom="@dimen/abc_button_padding_vertical_material"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<corners android:radius="@dimen/abc_control_corner_material"/>
|
||||
<solid android:color="?android:attr/colorAccent"/>
|
||||
<padding android:left="@dimen/abc_button_padding_horizontal_material"
|
||||
android:top="@dimen/abc_button_padding_vertical_material"
|
||||
android:right="@dimen/abc_button_padding_horizontal_material"
|
||||
android:bottom="@dimen/abc_button_padding_vertical_material"/>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
</item>
|
||||
</ripple>
|
||||
</inset><!-- From: file:/usr/local/google/buildbot/src/googleplex-android/mnc-supportlib-release/frameworks/support/v7/appcompat/res/drawable-v21/abc_btn_colored_material.xml -->
|
Reference in New Issue
Block a user