Customisation Options
Add company logo and disable Checkout on full screen using the Razorpay Android Standard SDK.
You can customise the Checkout form to suit your business needs. You can perform the following customisations:
- .
- .
By default, the Checkout form uses the logo specified in the Account & Settings section of the Curlec Dashboard. You can also set a custom logo in the Checkout form. Call the following method before you call the
.int image = R.drawable.logo; // Can be any drawablecheckout.setImage(image);
Handy Tips
You can also pass the logo image as one of the checkout options
.
If you pass the image in options
as well as through drawable
, the image from drawable appears as the Checkout logo.
The Checkout form runs in a separate activity. This activity picks up the theme from the Manifest file. Therefore, if you have a full screen theme, even the Checkout will run in full screen. It is suggested to disable the Checkout in full screen mode to enable the user to switch between various apps, for example, while entering the OTP.
If your app is in full screen mode, you can disable it for Checkout by calling the following method:
checkout.setFullScreenDisable(true)
Is this integration guide useful?