blob: 5a999f3c832ac29c37faf97af2c5d5a9c9a5890a [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2017 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.
-->
<resources>
<!-- Override the default activity transitions. We have to do a full copy and not just inherit
and override because we're replacing the default style across the system.
-->
<style name="Animation.Activity" parent="*android:Animation.Material.Activity">
<item name="android:activityOpenEnterAnimation">@*android:anim/fade_in</item>
<item name="android:activityOpenExitAnimation">@*android:anim/fade_out</item>
<item name="android:activityCloseEnterAnimation">@*android:anim/fade_in</item>
<item name="android:activityCloseExitAnimation">@*android:anim/fade_out</item>
<item name="android:taskOpenEnterAnimation">@*android:anim/fade_in</item>
<item name="android:taskOpenExitAnimation">@*android:anim/fade_out</item>
<item name="android:launchTaskBehindTargetAnimation">@*android:anim/launch_task_behind_target</item>
<item name="android:launchTaskBehindSourceAnimation">@*android:anim/launch_task_behind_source</item>
<item name="android:taskCloseEnterAnimation">@*android:anim/fade_in</item>
<item name="android:taskCloseExitAnimation">@*android:anim/fade_out</item>
<item name="android:taskToFrontEnterAnimation">@*android:anim/fade_in</item>
<item name="android:taskToFrontExitAnimation">@*android:anim/fade_out</item>
<item name="android:taskToBackEnterAnimation">@*android:anim/task_close_enter</item>
<item name="android:taskToBackExitAnimation">@*android:anim/task_close_exit</item>
<item name="android:wallpaperOpenEnterAnimation">@*android:anim/wallpaper_open_enter</item>
<item name="android:wallpaperOpenExitAnimation">@*android:anim/wallpaper_open_exit</item>
<item name="android:wallpaperCloseEnterAnimation">@*android:anim/wallpaper_close_enter</item>
<item name="android:wallpaperCloseExitAnimation">@*android:anim/wallpaper_close_exit</item>
<item name="android:wallpaperIntraOpenEnterAnimation">@*android:anim/wallpaper_intra_open_enter</item>
<item name="android:wallpaperIntraOpenExitAnimation">@*android:anim/wallpaper_intra_open_exit</item>
<item name="android:wallpaperIntraCloseEnterAnimation">@*android:anim/wallpaper_intra_close_enter</item>
<item name="android:wallpaperIntraCloseExitAnimation">@*android:anim/wallpaper_intra_close_exit</item>
<item name="android:fragmentOpenEnterAnimation">@*android:animator/fragment_open_enter</item>
<item name="android:fragmentOpenExitAnimation">@*android:animator/fragment_open_exit</item>
<item name="android:fragmentCloseEnterAnimation">@*android:animator/fragment_close_enter</item>
<item name="android:fragmentCloseExitAnimation">@*android:animator/fragment_close_exit</item>
<item name="android:fragmentFadeEnterAnimation">@*android:animator/fragment_fade_enter</item>
<item name="android:fragmentFadeExitAnimation">@*android:animator/fragment_fade_exit</item>
</style>
<!-- The style for the container of media actions in a notification. -->
<style name="NotificationMediaActionContainer">
<item name="android:background">@*android:color/notification_action_list</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">@*android:dimen/notification_action_list_height</item>
<item name="android:layout_marginTop">0dp</item>
<item name="android:paddingStart">0dp</item>
<item name="android:paddingBottom">@*android:dimen/media_notification_actions_padding_bottom</item>
<item name="android:gravity">center</item>
</style>
</resources>