> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gleap.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 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 theme={null}
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 theme={null}
Gleap.getInstance().close();
```

### Widget open status

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

```java theme={null}
Gleap.getInstance().isOpened();
```
