---
title: "Android SDK: Widget control"
description: "Open and close the Gleap widget programmatically with the Gleap Android SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/490-android-sdk-widget-control
collection: "Android"
updated: 2026-11-01
language: en
---

# Android SDK: Widget control

Open and close the Gleap widget programmatically with the Gleap Android SDK. Follow the integration code examples.

In some situations you might want to take full control over showing the Gleap widget. This can be achieved with the following method.

### Open the Gleap widget

This method opens the Gleap widget and shows the feedback menu options. If there is no menu active, it will automatically start the bug reporting flow.

```java
Gleap.getInstance().open();
```

This method opens the Gleap widget and shows the feedback menu options.

### Close the Gleap widget

This method closes the Gleap widget.

```java
Gleap.getInstance().close();
```

### Widget open status

It's possible to request the widget open status with the following method.

```java
Gleap.getInstance().isOpened();
```

## Related

- [Android SDK setup](https://docs.gleap.ai/en/articles/466-android-sdk-setup.md)
- [Android SDK: User identity](https://docs.gleap.ai/en/articles/467-android-sdk-user-identity.md)
- [Android SDK: Callbacks](https://docs.gleap.ai/en/articles/468-android-sdk-callbacks.md)
- [Android SDK: Frontend tools](https://docs.gleap.ai/en/articles/469-android-sdk-frontend-tools.md)
- [Android SDK: Forms](https://docs.gleap.ai/en/articles/470-android-sdk-forms.md)
