# SelfieLayoutOptions



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/Android-SDK-2/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/
- Imported at: 2026-10-21T17:27:02.187Z
- Canonical page: https://docs.idmission.com/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options
- Agent index: https://docs.idmission.com/llms.txt

---

[IDentity-SDK](https://docs.idmission.com/markdown/mobile/android-sdk-2.md)/[com.idmission.sdk2.client.model](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model.md)/SelfieLayoutOptions

<a id="selfielayoutoptions"></a>

# Selfie​Layout​Options

```
public final class SelfieLayoutOptions implements Parcelable
```

Provides options to customize layout or position of labels in Selfie Capture, Retry and Instruction Screens.

<a id="constructors"></a>

## Constructors

<a id="525699062/Constructors/191329751"></a>

[]()

[Selfie​Layout​Options](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/-selfie-layout-options.md)

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide, Boolean isCaptureScreenToolbarTitleHide, @DrawableRes() Integer previewScreenRetryBtnBg, @DrawableRes() Integer previewScreenDoneBtnBg, Boolean previewScreenToolbarBackIconHide)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide, Boolean isCaptureScreenToolbarTitleHide, @DrawableRes() Integer previewScreenRetryBtnBg, @DrawableRes() Integer previewScreenDoneBtnBg)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide, Boolean isCaptureScreenToolbarTitleHide, @DrawableRes() Integer previewScreenRetryBtnBg)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide, Boolean isCaptureScreenToolbarTitleHide)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg, Boolean instructionBackBtnHide)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg, @DrawableRes() Integer retryScreenRetryBtnBg)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation, @DrawableRes() Integer retryScreenDoneBtnBg)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg, Integer instructionLabelTextBgCardElevation)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity, @DrawableRes() Integer instructionContinueBtnBg)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity, CancelButtonGravity topBarCancelButtonGravity)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions(LabelGravity captureLabelGravity)
```

```
@JvmOverloads()public SelfieLayoutOptions SelfieLayoutOptions()
```

<a id="properties"></a>

## Properties

<a id="1577367069/Properties/191329751"></a>

[]()

[capture​Label​Gravity](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options.md#1577367069%2FProperties%2F191329751)

```
private LabelGravity captureLabelGravity
```

Option to set Capture screen prompt label position.

<a id="468017396/Properties/191329751"></a>

[]()

[instruction​Back​Btn​Hide](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options.md#468017396%2FProperties%2F191329751)

```
private Boolean instructionBackBtnHide
```

Hide the instruction back button set value to true Selfie Instruction screen.

<a id="-870689199/Properties/191329751"></a>

[]()

[instruction​Continue​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options.md#-870689199%2FProperties%2F191329751)

```
private Integer instructionContinueBtnBg
```

Sets the background drawable for the **Continue** button on the Selfie Instruction screen.

<a id="633528264/Properties/191329751"></a>

[]()

[instruction​Label​Text​Bg​Card​Elevation](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options.md#633528264%2FProperties%2F191329751)

```
private Integer instructionLabelTextBgCardElevation
```

Sets the card elevation for "Remove glasses and hat. Avoid having bright lights" background Selfie Instruction screen.

<a id="1342529078/Properties/191329751"></a>

[]()

[is​Capture​Screen​Toolbar​Title​Hide](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/is-capture-screen-toolbar-title-hide.md)

```
private Boolean isCaptureScreenToolbarTitleHide
```

Option to hide the Capture screen toolbar title text. Default is true (hidden).

<a id="908115762/Properties/191329751"></a>

[]()

[preview​Screen​Done​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options.md#908115762%2FProperties%2F191329751)

```
private Integer previewScreenDoneBtnBg
```

Sets the background drawable for the **Done** button on the Selfie Preview screen.

<a id="1587517040/Properties/191329751"></a>

[]()

[preview​Screen​Retry​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options.md#1587517040%2FProperties%2F191329751)

```
private Integer previewScreenRetryBtnBg
```

Sets the background drawable for the **Retry** button on the Selfie Preview screen.

<a id="-364106028/Properties/191329751"></a>

[]()

[preview​Screen​Toolbar​Back​Icon​Hide](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options.md#-364106028%2FProperties%2F191329751)

```
private Boolean previewScreenToolbarBackIconHide
```

Option to hide the Preview screen toolbar back icon. Default is false (shown).

<a id="400506386/Properties/191329751"></a>

[]()

[retry​Screen​Done​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options.md#400506386%2FProperties%2F191329751)

```
private Integer retryScreenDoneBtnBg
```

Sets the background drawable for the **Done** button on the Selfie Retry screen.

<a id="-1263471728/Properties/191329751"></a>

[]()

[retry​Screen​Retry​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options.md#-1263471728%2FProperties%2F191329751)

```
private Integer retryScreenRetryBtnBg
```

Sets the background drawable for the **Retry** button on the Selfie Retry screen.

<a id="-2133815623/Properties/191329751"></a>

[]()

[top​Bar​Cancel​Button​Gravity](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options.md#-2133815623%2FProperties%2F191329751)

```
private CancelButtonGravity topBarCancelButtonGravity
```

Option to set Capture screen top bar cancel button position.

<a id="functions"></a>

## Functions

<a id="-1578325224/Functions/191329751"></a>

[]()

[describe​Contents](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-voice-capture-customization-options.md#-1578325224%2FFunctions%2F191329751)

```
public abstract Integer describeContents()
```

<a id="-43385453/Functions/191329751"></a>

[]()

[get​Capture​Label​Gravity](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/get-capture-label-gravity.md)

```
public final LabelGravity getCaptureLabelGravity()
```

Option to set Capture screen prompt label position.

<a id="651976126/Functions/191329751"></a>

[]()

[get​Instruction​Back​Btn​Hide](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/get-instruction-back-btn-hide.md)

```
public final Boolean getInstructionBackBtnHide()
```

Hide the instruction back button set value to true Selfie Instruction screen.

<a id="-180008805/Functions/191329751"></a>

[]()

[get​Instruction​Continue​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/get-instruction-continue-btn-bg.md)

```
public final Integer getInstructionContinueBtnBg()
```

Sets the background drawable for the **Continue** button on the Selfie Instruction screen.

<a id="-1509524674/Functions/191329751"></a>

[]()

[get​Instruction​Label​Text​Bg​Card​Elevation](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/get-instruction-label-text-bg-card-elevation.md)

```
public final Integer getInstructionLabelTextBgCardElevation()
```

Sets the card elevation for "Remove glasses and hat. Avoid having bright lights" background Selfie Instruction screen.

<a id="1092074492/Functions/191329751"></a>

[]()

[get​Preview​Screen​Done​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/get-preview-screen-done-btn-bg.md)

```
public final Integer getPreviewScreenDoneBtnBg()
```

Sets the background drawable for the **Done** button on the Selfie Preview screen.

<a id="-1299696922/Functions/191329751"></a>

[]()

[get​Preview​Screen​Retry​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/get-preview-screen-retry-btn-bg.md)

```
public final Integer getPreviewScreenRetryBtnBg()
```

Sets the background drawable for the **Retry** button on the Selfie Preview screen.

<a id="-701679842/Functions/191329751"></a>

[]()

[get​Preview​Screen​Toolbar​Back​Icon​Hide](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/get-preview-screen-toolbar-back-icon-hide.md)

```
public final Boolean getPreviewScreenToolbarBackIconHide()
```

Option to hide the Preview screen toolbar back icon. Default is false (shown).

<a id="1696785756/Functions/191329751"></a>

[]()

[get​Retry​Screen​Done​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/get-retry-screen-done-btn-bg.md)

```
public final Integer getRetryScreenDoneBtnBg()
```

Sets the background drawable for the **Done** button on the Selfie Retry screen.

<a id="266483078/Functions/191329751"></a>

[]()

[get​Retry​Screen​Retry​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/get-retry-screen-retry-btn-bg.md)

```
public final Integer getRetryScreenRetryBtnBg()
```

Sets the background drawable for the **Retry** button on the Selfie Retry screen.

<a id="2097407407/Functions/191329751"></a>

[]()

[get​Top​Bar​Cancel​Button​Gravity](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/get-top-bar-cancel-button-gravity.md)

```
public final CancelButtonGravity getTopBarCancelButtonGravity()
```

Option to set Capture screen top bar cancel button position.

<a id="1342529078/Functions/191329751"></a>

[]()

[is​Capture​Screen​Toolbar​Title​Hide](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/is-capture-screen-toolbar-title-hide.md)

```
public final Boolean isCaptureScreenToolbarTitleHide()
```

Option to hide the Capture screen toolbar title text. Default is true (hidden).

<a id="1532050505/Functions/191329751"></a>

[]()

[set​Capture​Label​Gravity](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-capture-label-gravity.md)

```
public final Unit setCaptureLabelGravity(LabelGravity captureLabelGravity)
```

Option to set Capture screen prompt label position.

<a id="638332723/Functions/191329751"></a>

[]()

[set​Capture​Screen​Toolbar​Title​Hide](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-capture-screen-toolbar-title-hide.md)

```
public final Unit setCaptureScreenToolbarTitleHide(Boolean isCaptureScreenToolbarTitleHide)
```

Option to hide the Capture screen toolbar title text. Default is true (hidden).

<a id="-376150324/Functions/191329751"></a>

[]()

[set​Instruction​Back​Btn​Hide](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-instruction-back-btn-hide.md)

```
public final Unit setInstructionBackBtnHide(Boolean instructionBackBtnHide)
```

Hide the instruction back button set value to true Selfie Instruction screen.

<a id="-360096618/Functions/191329751"></a>

[]()

[set​Instruction​Continue​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-instruction-continue-btn-bg.md)

```
public final Unit setInstructionContinueBtnBg(Integer instructionContinueBtnBg)
```

Sets the background drawable for the **Continue** button on the Selfie Instruction screen.

<a id="1378005115/Functions/191329751"></a>

[]()

[set​Instruction​Label​Text​Bg​Card​Elevation](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-instruction-label-text-bg-card-elevation.md)

```
public final Unit setInstructionLabelTextBgCardElevation(Integer instructionLabelTextBgCardElevation)
```

Sets the card elevation for "Remove glasses and hat. Avoid having bright lights" background Selfie Instruction screen.

<a id="1910113685/Functions/191329751"></a>

[]()

[set​Preview​Screen​Done​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-preview-screen-done-btn-bg.md)

```
public final Unit setPreviewScreenDoneBtnBg(Integer previewScreenDoneBtnBg)
```

Sets the background drawable for the **Done** button on the Selfie Preview screen.

<a id="-630280749/Functions/191329751"></a>

[]()

[set​Preview​Screen​Retry​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-preview-screen-retry-btn-bg.md)

```
public final Unit setPreviewScreenRetryBtnBg(Integer previewScreenRetryBtnBg)
```

Sets the background drawable for the **Retry** button on the Selfie Preview screen.

<a id="-1875968169/Functions/191329751"></a>

[]()

[set​Preview​Screen​Toolbar​Back​Icon​Hide](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-preview-screen-toolbar-back-icon-hide.md)

```
public final Unit setPreviewScreenToolbarBackIconHide(Boolean previewScreenToolbarBackIconHide)
```

Option to hide the Preview screen toolbar back icon. Default is false (shown).

<a id="1242256181/Functions/191329751"></a>

[]()

[set​Retry​Screen​Done​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-retry-screen-done-btn-bg.md)

```
public final Unit setRetryScreenDoneBtnBg(Integer retryScreenDoneBtnBg)
```

Sets the background drawable for the **Done** button on the Selfie Retry screen.

<a id="140973107/Functions/191329751"></a>

[]()

[set​Retry​Screen​Retry​Btn​Bg](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-retry-screen-retry-btn-bg.md)

```
public final Unit setRetryScreenRetryBtnBg(Integer retryScreenRetryBtnBg)
```

Sets the background drawable for the **Retry** button on the Selfie Retry screen.

<a id="-376879454/Functions/191329751"></a>

[]()

[set​Top​Bar​Cancel​Button​Gravity](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-selfie-layout-options/set-top-bar-cancel-button-gravity.md)

```
public final Unit setTopBarCancelButtonGravity(CancelButtonGravity topBarCancelButtonGravity)
```

Option to set Capture screen top bar cancel button position.

<a id="-1754457655/Functions/191329751"></a>

[]()

[write​To​Parcel](https://docs.idmission.com/markdown/mobile/reference/android/-i-dentity--s-d-k/com.idmission.sdk2.client.model/-voice-capture-customization-options.md#-1754457655%2FFunctions%2F191329751)

```
public abstract Unit writeToParcel(Parcel p0, Integer p1)
```
