Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1cacd72 authored by timhypeng's avatar timhypeng Committed by tim peng
Browse files

Apply animation for Media Ouput Switcher dialog

-Inherit InputMethod animation and create MediaOutputDialog animation

Bug: 155822415
Test: manual test
Change-Id: I42506f065da687c4ba6ddadca0f3b7a1c55f1be7
parent f398d998
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -305,6 +305,9 @@
    <style name="Animation.ShutdownUi" parent="@android:style/Animation.Toast">
    </style>

    <style name="Animation.MediaOutputDialog" parent="@android:style/Animation.InputMethod">
    </style>

    <!-- Standard animations for hiding and showing the status bar. -->
    <style name="Animation.StatusBar">
    </style>
+1 −0
Original line number Diff line number Diff line
@@ -105,6 +105,7 @@ public abstract class MediaOutputBaseDialog extends SystemUIDialog implements
        window.setAttributes(lp);
        window.setContentView(mDialogView);
        window.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
        window.setWindowAnimations(R.style.Animation_MediaOutputDialog);

        mHeaderTitle = mDialogView.requireViewById(R.id.header_title);
        mHeaderSubtitle = mDialogView.requireViewById(R.id.header_subtitle);