Mobbeel for developers

Mobbeel for developers

  • MobbScan
  • MobbID
  • MobbSign
  • Clients
  • FAQ

›MobbScan UI customization

MobbScan Android SDK

  • Configure MobbScan Android SDK

Getting Started

  • Getting started with MobbScan
  • Detect and scan a document in two different calls
  • Detect and scan MRZ
  • Detect and scan a PDF417
  • Scanning documents with NFC
  • Error Handling

Additional configuration

  • Configure the detection process
  • Perform face matching with MobbScan
  • Select images returned by a scan
  • Fix scan orientation
  • Record a video while user performs a scan
  • Adding a video step
  • Configure Play Store distribution

MobbScan UI customization

  • Customize MobbScan Default Interfaces
  • Customize MobbScan document scan UI
  • Customize MobbScan MRZ scan UI
  • Customize Unattended Process UI
  • Customize feedback messages

MobbScan-Agent configurations

  • Getting the verification result

Migration Guides

  • Migration 2.25.x to 2.26.x
  • Migration 2.24.x to 2.25.x
  • Migration to 2.24.x
  • Migration to 2.22.x
  • Migration 2.19.x to 2.21.x
  • Migration 2.18.x to 2.19.x
  • Migration 2.13.x to 2.14.x

Information

  • Changelog
  • API Reference

Customize MobbScan Default Interfaces

MobbScan provides you with different default interfaces in order to use the SDK in a faster and easier way. While the default MobbScan interface might suit your needs, the default colors might not.

MobbScan allows you to customize these colors since it treats colors as resources in the SDK which can actually be overridden for this purpose.

List of color resources

This is the list of the resources that you can customize from the default interfaces of MobbScan:

Resource nameWhat will affectDefault color
background_default_colorColor of the background of the detection screen#95000000
rectangle_default_colorThe starting color of the document detection rectangle#FFFFFF
rectangle_detect_colorThe color which the document detection rectangle will use when it is detecting the document#3FC336
text_colorThe color which the text on document detection will use#FFFFFF
mrz_text_greenColor of the MRZ text displayed when detecting a document MRZ#ADFF2F
face_overlay_colorSet background color on hexadecimal string#80FFFFFF
face_outline_colorThe starting color of the face detection progress outline#FFFFFF
face_progress_colorThe color of the progress bar of the face detection#55D672
face_recording_colorThe color of the face detection progress outline when the face is being recorded#E0263B
ms_face_overlay_colorColor of the overlay view (RGB)##000000
ms_face_animation_line_colorColor of the shape strokes of the animations (RGB)#FFFFFF
ms_face_text_colorFeedback messages font color (RGB)#FFFFFF
ms_face_text_background_colorFeedback messages font background color (RGB/RGBA)#000000
ms_face_text_shadow_colorFeedback messages font shadow color (RGB/RGBA)#000000
unattended_spinner_colorThe color of the spinner at the beginning and end of the unattended activity#FF3D6B
unattended_action_title_colorThe color of the text on document detection will use#FFFFFF
unattended_countdown_colorThe color of the count down time text on the center of the screen#FFFFFF
unattended_configure_background_colorThe color of the background of the detection screen#FFFFFF
unattended_configure_title_colorThe color of the text that is showing with the spinner at the beginning and end of the unattended activity#2C2B2B
unattended_otp_text_color(OTP Step) Card background color#4287F5

List of dimens resources

This is the list of the resources that you can customize from the default interfaces of MobbScan:

Resource nameWhat will affectDefault size
unattended_detection_action_text_size(Document Step) Feedback messages font size18sp
unattended_configure_service_text_sizeSize of the scanning and configuring text18sp
unattended_otp_text_sizeFeedback OTP messages font size30sp
rectangle_detector_border_sizeSize of the document detector border4dp
face_detector_border_sizeSize of the face detector border10dp
unattended_detection_countdown_text_size(Document Step) Countdown font size40sp
ms_document_text_sizeFeedback messages font size14sp
ms_face_text_shadow_offsetFeedback messages font shadow offset[2,2]

How to override the color resources

In order to override these resource values, you only have to follow the following steps:

  1. Have a file called colors.xml in your res/values/ folder.

  2. Create a color resource inside the file overriding the previous resource names as follows:

    <resources>
        ...
        <color name="RESOURCE_NAME">#000000</color>
        ...
    </resources>
    
← Configure Play Store distributionCustomize MobbScan document scan UI →
  • List of color resources
  • List of dimens resources
  • How to override the color resources
Mobbeel for developers
Product Documentation
MobbIDMobbScanMobbSign
Connect
LinkedInFacebookX
More
FAQContact Us
Mobbeel Solutions SL
Copyright © 2025 Mobbeel Solutions SL