When I have 4 videos in gallery view, then they all consume all screen space perfectly fine, but when I have only 3 videos in gallery view then it shows empty blank space in bottom & videos height get reduced, as compared to what it was during 4 videos.
Please check the images for your reference:
Now you can see here that when i have 3 videos here, their reduced & this is the issue, I want them to consume full screen space like they are consuming in 4 videos.
Zoom Android SDK Version: zoom-sdk-android-5.9.1.3674
My Code
zoomSDK.getMeetingSettingsHelper().setCustomizedMeetingUIEnabled(false);
zoomSDK.getMeetingSettingsHelper().setSwitchVideoLayoutAccordingToUserCountEnabled(true);
zoomSDK.getMeetingSettingsHelper().setGalleryViewCapacity(12);
zoomSDK.getMeetingSettingsHelper().setNoUserJoinOrLeaveTipEnabled(true);
zoomSDK.getMeetingSettingsHelper().setHideNoVideoUsersEnabled(true);
zoomSDK.getMeetingSettingsHelper().setTurnOffMyVideoWhenJoinMeeting(true);
zoomSDK.getMeetingSettingsHelper().setAutoConnectVoIPWhenJoinMeeting(true);
zoomSDK.getMeetingSettingsHelper().setGalleryVideoViewDisabled(false);
zoomSDK.getMeetingSettingsHelper().setSwitchVideoLayoutUserCountThreshold(2);
zoomSDK.getMeetingSettingsHelper().setVideoAspectRatio(VideoAspectRatioType.ScaleToFit);
JoinMeetingOptions opts = new JoinMeetingOptions();
opts.no_driving_mode = true;
opts.no_invite = true;
opts.no_meeting_end_message = true;
opts.no_meeting_error_message = true;
//opts.no_titlebar = true;
opts.no_bottom_toolbar = true;
opts.no_dial_in_via_phone = true;
opts.no_dial_out_to_phone = true;
//opts.no_disconnect_audio = true;
opts.no_record = true;
opts.no_share = true;
opts.no_video = true;
opts.meeting_views_options = MeetingViewsOptions.NO_BUTTON_VIDEO + MeetingViewsOptions.NO_BUTTON_AUDIO +
MeetingViewsOptions.NO_BUTTON_SHARE + MeetingViewsOptions.NO_BUTTON_PARTICIPANTS +
MeetingViewsOptions.NO_BUTTON_MORE + MeetingViewsOptions.NO_TEXT_MEETING_ID +
MeetingViewsOptions.NO_TEXT_PASSWORD + MeetingViewsOptions.NO_BUTTON_SWITCH_CAMERA +
//MeetingViewsOptions.NO_BUTTON_SWITCH_AUDIO_SOURCE +
MeetingViewsOptions.NO_BUTTON_LEAVE;
opts.invite_options = InviteOptions.INVITE_DISABLE_ALL;
//opts.customer_key = meetingOptions.customer_key;
//opts.custom_meeting_id = meetingOptions.custom_meeting_id;
opts.no_unmute_confirm_dialog = true;
opts.no_webinar_register_dialog = true;
opts.no_chat_msg_toast = true;
//opts.no_audio = true;
Please let me know what i am missing here to get these 3 videos in full available space…