Merge changes from topic "media_output_dialog" into rvc-qpr-dev am: 7de579f1ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13104443 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ic7e7d3fa26ec863da2cd05800062871685b83c55
This commit is contained in:
@@ -320,6 +320,9 @@
|
|||||||
<style name="Animation.ShutdownUi" parent="@android:style/Animation.Toast">
|
<style name="Animation.ShutdownUi" parent="@android:style/Animation.Toast">
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="Animation.MediaOutputDialog" parent="@android:style/Animation.InputMethod">
|
||||||
|
</style>
|
||||||
|
|
||||||
<!-- Standard animations for hiding and showing the status bar. -->
|
<!-- Standard animations for hiding and showing the status bar. -->
|
||||||
<style name="Animation.StatusBar">
|
<style name="Animation.StatusBar">
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ public abstract class MediaOutputBaseDialog extends SystemUIDialog implements
|
|||||||
window.setAttributes(lp);
|
window.setAttributes(lp);
|
||||||
window.setContentView(mDialogView);
|
window.setContentView(mDialogView);
|
||||||
window.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
window.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||||
|
window.setWindowAnimations(R.style.Animation_MediaOutputDialog);
|
||||||
|
|
||||||
mHeaderTitle = mDialogView.requireViewById(R.id.header_title);
|
mHeaderTitle = mDialogView.requireViewById(R.id.header_title);
|
||||||
mHeaderSubtitle = mDialogView.requireViewById(R.id.header_subtitle);
|
mHeaderSubtitle = mDialogView.requireViewById(R.id.header_subtitle);
|
||||||
|
|||||||
Reference in New Issue
Block a user