# UI

### [**Android**](#android-1)

The SDK UI is embedded as a `fragment` within any part of an `activity` in the merchant's application.

**Example:**

<figure><img src="https://972592200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTq4lCgHh9X4VXINxI3L9%2Fuploads%2FvbKXtAw4LjaAGRU401NH%2Fimage.png?alt=media&#x26;token=ebaab298-430b-4829-85b6-b084480e4369" alt="" width="375"><figcaption></figcaption></figure>

If only one payment option is available and it is a wallet, the UI is automatically minimized.

<figure><img src="https://972592200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTq4lCgHh9X4VXINxI3L9%2Fuploads%2FEeI4iRRIWoY2bAAKiONO%2Fimage.png?alt=media&#x26;token=7443a883-cc88-4348-840f-ebab949477a9" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
The parent application must use a theme based on `Theme.AppCompat` (or a subclass) to prevent crashes and styling problems. This requirement is defined in the `themes.xml` file within the `values` directory of the project.
{% endhint %}
