# Native UI

The SDK UI is embedded as a Fragment within any part of an Activity in the merchant's application.

**Example:**

<figure><img src="https://content.gitbook.com/content/Tq4lCgHh9X4VXINxI3L9/blobs/9OxE7s8CIQi2sCLaRpcs/image.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://content.gitbook.com/content/Tq4lCgHh9X4VXINxI3L9/blobs/sy0bEovJtNHClofmcrXh/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
To avoid style issues and potential crashes, the parent application's theme must be `Theme.AppCompat` or one of its descendant classes. This theme is specified in the `themes.xml` file located in the `values` directory of the project.
{% endhint %}
