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:
public class ZoomActivity extends AppCompatActivity {
...
@Override
protected void onCreate(Bundle savedInstanceState) {
ZoomSDK zoomSDK = ZoomSDK.getInstance();
//Code to config zoom meeting
}
...
}
AndroidManifest.xml:
...
<activity
android:launchMode="singleTask"
android:name="...ZoomActivity"
android:screenOrientation="landscape" />
...
I change class ZoomActivity to extend NewMeetingActivity:
Class ZoomActivity:
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:
...
<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.