# Customize zoom UI but screen is just black

**URL:** <https://devforum.zoom.us/t/customize-zoom-ui-but-screen-is-just-black/116520>\
**Category:** Android\
**Created:** [August 28, 2024, 9:15am UTC](https://devforum.zoom.us/t/customize-zoom-ui-but-screen-is-just-black/116520 "2024-08-28T09:15:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![letuan1999v5](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/letuan1999v5/32/49285_2.png) [@letuan1999v5](https://devforum.zoom.us/u/letuan1999v5)\
**Post date:** [August 28, 2024, 9:15am UTC](https://devforum.zoom.us/t/customize-zoom-ui-but-screen-is-just-black/116520/1 "2024-08-28T09:15:06Z")

</div>

I’m trying to customize the zoom UI, but the video is not display on the screen. It just black.

I have enabled the custom UI feature:

```auto
meetingSettingsHelper.setCustomizedMeetingUIEnabled(true);

```

When join the meeting:

```auto
if (meetingStatus.toString().equals("MEETING_STATUS_INMEETING")){
                        executeInMeetingTask(); //inMeetingListener
                        setContentView(R.layout.activity_zoom_view);
                        MobileRTCVideoView videoView = findViewById(R.id.videoView);
                        viewManager = videoView.getVideoViewManager();
                        ...
                    }

```

my inMeetingListener:

```auto
...
            @Override
            public void onMeetingActiveVideo(long l) {
                Log.d("...", "inMeetingServiceListener: onMeetingActiveVideo" + l);
                MobileRTCVideoUnitRenderInfo info = new MobileRTCVideoUnitRenderInfo();
                viewManager.removeAllVideoUnits();
                viewManager.addAttendeeVideoUnit(l, info);
            }
...

```

my layout:

\<?xml version="1.0" encoding="utf-8"?\>

```
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <us.zoom.sdk.MobileRTCVideoView
        android:id="@+id/videoView"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:background="#0bd4cd" />
</LinearLayout>

```

When I turn on the camera of participant (from other device), the log is:

> inMeetingServiceListener: onMeetingActiveVideo16778240

But nothing change. The screen is still black.  
( I’ve change the color of videoView to #0bd4cd. When join the meeting, the background is changed to #0bd4cd, and change to black straightway).

I’m using SDK version 6.1.5.23231

Can anyone tell me where I am wrong?  
Thank you for any help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 27, 2024, 7:15pm UTC](https://devforum.zoom.us/t/customize-zoom-ui-but-screen-is-just-black/116520/2 "2024-09-27T19:15:26Z")

</div>

Closed on September 27, 2024, 7:15pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
