Custom Icon for Onboarding Screen in Android¶
You can specify this by adding custom logo file to the drawable resource folders and creating a separate XML file in the metadata application resource values folder.
You need to add your custom logo file in the /res/drawable (or drawable-XYZ) folder(s). For example: /res/drawable/custom_icon.png
And, create an XML file in the metadata application .mdkproject/App_Resources/Android/src/main/res/values, with the below information. You can give any name with .xml extension.
Sample Code
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="OnboardingLogo">
<!-- The value is always @drawable/<your_logo_name_without_ext> -->
<!-- Do not add the file extension e.g. .png -->
<item name="android:src">@drawable/custom_icon</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">24dp</item>
</style>
</resources>
Note
android:layout_width and android:layout_height in custom OnboardingLogo is only supported from Mobile Development Kit version 6.0 or newer.
Last update: August 12, 2025