HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center

UI Color & Theme for Xamarin

This section covers how to customize the SDK look to match your app's design for Xamarin apps.

SDK Theme

The SDK UI has 2 color themes: light and dark.


You can set which theme to use with the following method.



Possible color themes:



Setting the Primary Color

You can also set the color of UI elements indicating interactivity or call to action to match your app.

Instabug.TintColor = UIColor.Red;

Instabug.PrimaryColor = -7583749;

Floating Button

If you set the invocation event to be through the floating button, you have the option to set its position. The SetFloatingButtonEdge will add the button to the right or left edge of the screen. The SetFloatingButtonOffsetFromTop specifies the position on the y-axis.

IBGBugReporting.FloatingButtonEdge = CoreGraphics.CGRectEdge.MaxXEdge;
IBGBugReporting.FloatingButtonTopOffset = 10;

new Instabug.Builder(this, "YOUR_ANDROID_TOKEN")

What’s Next

If the design is all figured out, check out how to localize the SDK for your users.