bb956bd028
Add a custom drawable class that provides a hook to the caller to control a crossfade animation between two drawables. This will be helpful going forward to sync up all the animations to the controller. Note that this CL only adds the class and does not replace the current implementation. Bug: 114136250 Test: Builds Change-Id: I3cc6be79cb2ca5d64c8cc2945ff7f2ebd49632b6
23 lines
947 B
XML
23 lines
947 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2019 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.
|
|
-->
|
|
<shape
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:shape="rectangle">
|
|
<solid android:color="@android:color/transparent"/>
|
|
<stroke android:color="@android:color/white" android:width="4px"/>
|
|
<corners android:radius="2dp"/>
|
|
</shape> |