Customization
MobbScan Gateway Android offers some flexibility to customize the user interface. Some settings can be modified from the server, while others (as detailed below) can be customized at the application level.
1. Colors
You can customize the following colors of the user interface:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="mscgw_colorPrimary">#4CA4FB</color>
<color name="mscgw_colorSecondary">#00D9FF</color>
<color name="mscgw_colorTertiary">#00FFF6</color>
<color name="mscgw_background">#FFFFFF</color>
<color name="mscgw_surface">#FFFFFF</color>
<color name="mscgw_onPrimary">#FFFFFF</color>
<color name="mscgw_onSecondary">#FFFFFF</color>
<color name="mscgw_onTertiary">#516C77</color>
<color name="mscgw_onBackground">#000000</color>
<color name="mscgw_onSurface">#000000</color>
<color name="detectorview_border_searching">#FFFFFF</color>
<color name="detectorview_border_detected">#3FC336</color>
<color name="mscgw_document_detection_title">#FFFFFF</color>
<color name="mscgw_document_detection_description">#FFFFFF</color>
<color name="mscgw_document_detection_flash_icon">#FFFFFF</color>
<color name="mscgw_face_detection_title">#FFFFFF</color>
<color name="mscgw_face_detection_description">#FFFFFF</color>
</resources>
2. Texts
Similarly, the following texts can be customized:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="mscgw_loading">Loading…</string>
<string name="mscgw_top_bar_title">MobbScan Gateway</string>
<string name="mscgw_config_obtaining_onboarding_token">Obtaining onboarding token…</string>
<string name="mscgw_config_obtaining_configuration">Obtaining configuration…</string>
<string name="mscgw_config_setup_mobbscan_sdk">Configuring the SDK…</string>
<string name="mscgw_retry">Retry</string>
<string name="mscgw_confirm">Confirm</string>
<string name="mscgw_document_confirmation_dialog_title">Identity Document</string>
<string name="mscgw_document_confirmation_dialog_description">Is your document readable?</string>
<string name="mscgw_document_status_detecting_front">Detecting document front side…</string>
<string name="mscgw_document_status_detecting_back">Detecting document back side…</string>
<string name="mscgw_document_status_starting_scan">Starting scan operation…</string>
<string name="mscgw_document_status_scanning">Scanning document. Please wait.</string>
<string name="mscgw_document_instruction_button_next">Next</string>
<string name="mscgw_document_selector_button_next">Next</string>
<string-array name="mscgw_document_instruction_tips">
<item><![CDATA[Look for a <b>well-lit</b> place]]></item>
<item><![CDATA[Avoid <b>shadows</b> and <b>reflections</b>]]></item>
<item><![CDATA[Center your document in the <b>frame</b>]]></item>
<item><![CDATA[Make sure <b>not to obstruct</b> the document <b>with your fingers</b>]]></item>
<item><![CDATA[The photo will be taken <b>automatically</b>]]></item>
</string-array>
<string name="mscgw_document_instruction_title">Document capture</string>
<string name="mscgw_document_instruction_subtitle">Get ready for the document analysis!</string>
<string name="mscgw_face_video_processing">Processing video…</string>
<string name="mscgw_face_instruction_title">Facial verification</string>
<string name="mscgw_face_instruction_subtitle">Get ready for the selfie!</string>
<string-array name="mscgw_face_instruction_tips">
<item><![CDATA[Look for a <b>well-lit</b> place]]></item>
<item><![CDATA[<b>Avoid covering</b> your face]]></item>
<item><![CDATA[<b>Center</b> your face in the circle]]></item>
<item><![CDATA[The photo will be taken <b>automatically</b>]]></item>
</string-array>
<string name="mscgw_face_instruction_button_next">Next</string>
<string name="mscgw_document_detection_description_front">Place the <b>front</b> side of your <font color="#52A7F4">identity document</font> within the frame</string>
<string name="mscgw_document_detection_description_back">Place the <b>back</b> side of your <font color="#52A7F4">identity document</font> within the frame</string>
<string name="mscgw_document_selector_title">Select Document</string>
<string name="mscgw_document_selector_description">Select the type of the document you want to use.</string>
<string name="mscgw_document_data_name_id_card">ID Card</string>
<string name="mscgw_document_data_name_passport">Passport</string>
<string name="mscgw_document_data_name_driver_license">Driver License</string>
<string name="mscgw_permissions_description">Permissions must be granted in order to continue.</string>
<string name="mscgw_permissions_button">Finish</string>
<string name="mscgw_exit_title">Are you sure you want to exit?</string>
<string name="mscgw_exit_description">You will lose all your progress.</string>
<string name="mscgw_exit_button_dismiss">Dismiss</string>
<string name="mscgw_exit_button_confirm">Confirm</string>
</resources>
