# Force Speaker view/Gallery view on client side by host control

**URL:** <https://devforum.zoom.us/t/force-speaker-view-gallery-view-on-client-side-by-host-control/39239>\
**Category:** Android\
**Created:** [December 27, 2020, 1:01pm UTC](https://devforum.zoom.us/t/force-speaker-view-gallery-view-on-client-side-by-host-control/39239 "2020-12-27T13:01:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![florian.burg](https://avatars.discourse-cdn.com/v4/letter/f/cc9497/32.png) [@florian.burg](https://devforum.zoom.us/u/florian.burg)\
**Post date:** [December 27, 2020, 1:01pm UTC](https://devforum.zoom.us/t/force-speaker-view-gallery-view-on-client-side-by-host-control/39239/1 "2020-12-27T13:01:36Z")

</div>

Hello,  
we are using gallery view with the Android SDK. However, sometimes we need to show the host video in full size. Is there a possibility to control the client’s view from the host? I understand there is spotlighting, but that will only put a highlighted frame around the spotlighted video in gallery view and not make it full size.

Thanks,  
Florian

---

<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:** [December 28, 2020, 6:32pm UTC](https://devforum.zoom.us/t/force-speaker-view-gallery-view-on-client-side-by-host-control/39239/2 "2020-12-28T18:32:36Z")

</div>

Hi @florian.burg, thanks for using our SDK.

Assuming you are using the default meeting UI, this can be done in one of two ways:

- Programmatically by calling [`switchToActiveSpeaker`](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/ZoomUIService.html#switchToActiveSpeaker--)
- Swiping left-to-right between the available modes (the options are driving mode, gallery, and active speaker)

Thanks!

---

<div class="post-metadata">

**Author:** ![florian.burg](https://avatars.discourse-cdn.com/v4/letter/f/cc9497/32.png) [@florian.burg](https://devforum.zoom.us/u/florian.burg)\
**Post date:** [December 29, 2020, 4:22pm UTC](https://devforum.zoom.us/t/force-speaker-view-gallery-view-on-client-side-by-host-control/39239/3 "2020-12-29T16:22:52Z")

</div>

Thanks, Jon. What is the easiest way back to the gallery view then? Something like switchToNextPage(), where the gallery view is next in line after the speaker view?

Regards,  
Florian

---

<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:** [December 29, 2020, 6:15pm UTC](https://devforum.zoom.us/t/force-speaker-view-gallery-view-on-client-side-by-host-control/39239/4 "2020-12-29T18:15:33Z")

</div>

Hi @florian.burg,

The `ZoomUIService` class also contains a [method](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/ZoomUIService.html#switchToVideoWall--) for switching to gallery view. Apologies if the naming of that method is not extremely obvious, but that should do the trick for you. 🙂

Alternatively, it is possible to navigate between the different types of views with the `switchToNextPage` method you’ve mentioned. The drawback of this approach is that you would need to find a way to manage the state of which view is currently visible within your app.

Thanks!

---

<div class="post-metadata">

**Author:** ![deena.qb](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/deena.qb/32/26525_2.png) [@deena.qb](https://devforum.zoom.us/u/deena.qb)\
**Post date:** [June 22, 2021, 6:07am UTC](https://devforum.zoom.us/t/force-speaker-view-gallery-view-on-client-side-by-host-control/39239/5 "2021-06-22T06:07:53Z")

</div>

> [@jon.zoom](#):
>
> method

Hi @jon.zoom, Is there a method to get the current view mode? To know if it is currently in the speaker or gallery view.

---

<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:** [June 22, 2021, 5:05pm UTC](https://devforum.zoom.us/t/force-speaker-view-gallery-view-on-client-side-by-host-control/39239/6 "2021-06-22T17:05:12Z")

</div>

Hi @deena.qb,

There is currently no way to query the current view mode, aside from looking at the UI. You can, however, programmatically swap between view modes in the default UI with the [`ZoomUIService`](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/ZoomUIService.html) class.

Thanks!
