# Android Customize UI Issue: Unable to start activity

**URL:** <https://devforum.zoom.us/t/android-customize-ui-issue-unable-to-start-activity/115950>\
**Category:** Android\
**Created:** [August 20, 2024, 7:54am UTC](https://devforum.zoom.us/t/android-customize-ui-issue-unable-to-start-activity/115950 "2024-08-20T07:54:22Z")\
**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 20, 2024, 7:54am UTC](https://devforum.zoom.us/t/android-customize-ui-issue-unable-to-start-activity/115950/1 "2024-08-20T07:54:22Z")

</div>

I’m using zoom android SDK to integrate zoom into a box device (the device is connect to an external screen, so it’s kinda like android smart TV).  
There is a problem that the option button is hard to use (The button is not shining when selected, and I also want to handle back press event from remote), so I decided to customize the UI.  
This is my code before:  
**Class ZoomActivity:**

```auto
public class ZoomActivity extends AppCompatActivity {
     ...
     @Override
    protected void onCreate(Bundle savedInstanceState) {
      ZoomSDK zoomSDK = ZoomSDK.getInstance();
      //Code to config zoom meeting
    }
     ...
}

```

**AndroidManifest.xml:**

```auto
     ...
     <activity
            android:launchMode="singleTask"
            android:name="...ZoomActivity"
            android:screenOrientation="landscape" />
     ...

```

* * *

I change class ZoomActivity to extend NewMeetingActivity:  
**Class ZoomActivity:**

```auto
public class ZoomActivity extends NewMeetingActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
       ZoomSDK zoomSDK = ZoomSDK.getInstance();      
       zoomSDK.getMeetingSettingsHelper().setCustomizedMeetingUIEnabled(true);
      //Code to config zoom meeting
    }
}

```

And my **AndroidManifest.xml** is changed to:

```auto
     ...
     <activity
            android:launchMode="singleTask"
            android:name="...ZoomActivity"
            android:configChanges="screenSize"
            android:theme="@style/ZMTheme.SubWindow"
            android:screenOrientation="portrait"/>
     ...

```

But in run into an error:

> java.lang.RuntimeException: Unable to start activity ComponentInfo{…ZoomActivity}: android.view.InflateException: Binary XML file line #15: Binary XML file line #35: Error inflating class com.zipow.videobox.conference.ui.view.ZmMainContentLayout

I’m using SDK version 6.0.12.22275

What am I missing? Please give me more information.  
Thank you so much.

---

<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 19, 2024, 5:54pm UTC](https://devforum.zoom.us/t/android-customize-ui-issue-unable-to-start-activity/115950/2 "2024-09-19T17:54:47Z")

</div>

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