> For the complete documentation index, see [llms.txt](https://developer.acquire.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.acquire.io/master/android/custom-ui-widget.md).

# Custom UI/widget

### Change color of UI

**How it works**

Go to <https://app.acquire.io/widget/theme> - :

![](/files/-LONoKsa6SGTCC4ZSDNC)

{% hint style="info" %}
Whole Chat module will change according to this Background color.

If not provided then it will use default primary colors of your app.
{% endhint %}

### Chat and call customization

To hide create new chat icon call below method.

```
AcquireApp.isHideNewChat()
```

To remove minimize video call option call below method. Use this method after successful initialization of AcquireApp.

```
AcquireApp.removeMinimizeButton()
```

When require only agent can cut the call, call below method to remove endCall button from video and audio call.

```
AcquireApp.removeDisconnectButton()
```

To set the desired orientation for local video (takes an Integer value)

```
AcquireApp.setLocalVideoRotation(rotationValue: Int)
```

To set the exact position of thumb video view (takes Int x and Int y values in dp)

```
 AcquireApp.setThumbPosXY(initialX: Int, initialY: Int)
```

To set size of Remote view on thumb view (takes Int width and Int height values in dp)

```
AcquireApp.setThumbRemoteFrameSize(w: Int, h: Int) 
```

To set size of Local view on thumb view (takes Int width and Int height values in dp)

```
AcquireApp.setThumbLocalFrameSize(w: Int, h: Int)
```
