# Black screen when change orientation ,Zoom SDK

**URL:** <https://devforum.zoom.us/t/black-screen-when-change-orientation-zoom-sdk/35444>\
**Category:** Android\
**Created:** [November 9, 2020, 7:18am UTC](https://devforum.zoom.us/t/black-screen-when-change-orientation-zoom-sdk/35444 "2020-11-09T07:18:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AreejH](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@AreejH](https://devforum.zoom.us/u/AreejH)\
**Post date:** [November 9, 2020, 7:18am UTC](https://devforum.zoom.us/t/black-screen-when-change-orientation-zoom-sdk/35444/1 "2020-11-09T07:18:31Z")

</div>

I custmize an UI for Zoom meeting,  
I have two layouts landscape and portrait ,when the screen is rotated I have a Black screen .

Zoom Sdk version 5.0

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [November 9, 2020, 6:02pm UTC](https://devforum.zoom.us/t/black-screen-when-change-orientation-zoom-sdk/35444/2 "2020-11-09T18:02:26Z")

</div>

Hi @AreejH, thanks for using our SDK.

Since you are implementing a custom UI, you must manually manage the lifecycle of your UI elements when the configuration changes. For more info, please see Google’s [documentation](https://developer.android.com/guide/topics/resources/runtime-changes) on this matter.

Thanks!

---

<div class="post-metadata">

**Author:** ![AreejH](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@AreejH](https://devforum.zoom.us/u/AreejH)\
**Post date:** [November 10, 2020, 7:55am UTC](https://devforum.zoom.us/t/black-screen-when-change-orientation-zoom-sdk/35444/3 "2020-11-10T07:55:34Z")

</div>

but I use the same code to initLayout and it works but when i change orintation it be a black screen\>\>\>this code was working last week and I don’t change any thing now \>\>\>it is not work

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [November 10, 2020, 6:49pm UTC](https://devforum.zoom.us/t/black-screen-when-change-orientation-zoom-sdk/35444/4 "2020-11-10T18:49:45Z")

</div>

Hi @AreejH, thanks for the clarification.

Unless this is an issue caused directly by the SDK’s functionality, it is not something that we are able to assist with. Unfortunately, the best I can do is guide you towards Google’s documentation I provided in my previous post.

If you discover that a specific piece of the SDK is not functioning properly, please do not hesitate to reach out and we will do our best to help!

Thanks!
