| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2020 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 xmlns:android="http://schemas.android.com/apk/res/android"> |
| <!-- Theme used for the activity that shows when the system forced an app to be resizable --> |
| <style name="ForcedResizableTheme" parent="@android:style/Theme.Translucent.NoTitleBar"> |
| <item name="android:windowBackground">@drawable/forced_resizable_background</item> |
| <item name="android:statusBarColor">@android:color/transparent</item> |
| <item name="android:windowAnimationStyle">@style/Animation.ForcedResizable</item> |
| </style> |
| |
| <style name="Animation.ForcedResizable" parent="@android:style/Animation"> |
| <item name="android:activityOpenEnterAnimation">@anim/forced_resizable_enter</item> |
| |
| <!-- If the target stack doesn't have focus, we do a task to front animation. --> |
| <item name="android:taskToFrontEnterAnimation">@anim/forced_resizable_enter</item> |
| <item name="android:activityCloseExitAnimation">@anim/forced_resizable_exit</item> |
| </style> |
| |
| <style name="DockedDividerBackground"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">@dimen/split_divider_bar_width</item> |
| <item name="android:layout_gravity">center_vertical</item> |
| <item name="android:background">@color/split_divider_background</item> |
| </style> |
| |
| <style name="DockedDividerMinimizedShadow"> |
| <item name="android:layout_width">match_parent</item> |
| <item name="android:layout_height">8dp</item> |
| </style> |
| |
| <style name="DockedDividerHandle"> |
| <item name="android:layout_gravity">center</item> |
| <item name="android:layout_width">96dp</item> |
| <item name="android:layout_height">48dp</item> |
| </style> |
| </resources> |