diff options
Diffstat (limited to 'local-support/v17/leanback/res/animator-v21/lb_guidedstep_slide_out_to_end.xml')
-rw-r--r-- | local-support/v17/leanback/res/animator-v21/lb_guidedstep_slide_out_to_end.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/local-support/v17/leanback/res/animator-v21/lb_guidedstep_slide_out_to_end.xml b/local-support/v17/leanback/res/animator-v21/lb_guidedstep_slide_out_to_end.xml new file mode 100644 index 00000000..d481273e --- /dev/null +++ b/local-support/v17/leanback/res/animator-v21/lb_guidedstep_slide_out_to_end.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> +<set xmlns:android="http://schemas.android.com/apk/res/android" + android:ordering="together" > + + <objectAnimator + android:duration="@android:integer/config_longAnimTime" + android:interpolator="@android:interpolator/fast_out_slow_in" + android:propertyName="translationX" + android:valueFrom="0.0" + android:valueTo="@dimen/lb_guidedstep_slide_end_distance" + android:valueType="floatType" /> + + <objectAnimator + android:duration="@android:integer/config_longAnimTime" + android:interpolator="@android:interpolator/fast_out_slow_in" + android:propertyName="alpha" + android:valueFrom="1.0" + android:valueTo="0.0" + android:valueType="floatType" /> + +</set> |