Add dialog transitions to group manager.

This commit is contained in:
Alan Evans
2020-10-07 14:02:11 -03:00
committed by Greyson Parrelli
parent 26404ff5d7
commit ed0be6fc9a
3 changed files with 17 additions and 4 deletions

View File

@@ -132,6 +132,11 @@
<item name="android:windowExitAnimation">@anim/slide_to_top</item>
</style>
<style name="FadeScale" parent="@android:style/Animation">
<item name="android:windowEnterAnimation">@anim/fade_scale_in</item>
<item name="android:windowExitAnimation">@anim/fade_scale_out</item>
</style>
<style name="StickerPopupAnimation" parent="@android:style/Animation">
<item name="android:windowEnterAnimation">@anim/fade_in</item>
<item name="android:windowExitAnimation">@anim/fade_out</item>
@@ -913,6 +918,14 @@
<item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.Signal.BottomSheet.Rounded</item>
</style>
<style name="TextSecure.DarkTheme.AnimatedDialog">
<item name="android:windowAnimationStyle">@style/FadeScale</item>
</style>
<style name="TextSecure.LightTheme.AnimatedDialog">
<item name="android:windowAnimationStyle">@style/FadeScale</item>
</style>
<style name="Widget.Signal.BottomSheet.ReactWithAny" parent="Widget.MaterialComponents.BottomSheet">
<item name="backgroundTint">@color/core_grey_75</item>
<item name="behavior_peekHeight">@dimen/react_with_any_emoji_bottom_sheet_dialog_fragment_min_height</item>