Last updated 11 months ago
You can set banner's background colour and whether to use the loading indicator or not by:
Create an instance of passing .
Pass the instance to the while initialising AATKit.
AATKitConfiguration conf = new AATKitConfiguration(this); AATKitAdNetworkOptions networkOptions = new AATKitAdNetworkOptions(); // [...] FeedAdOptions feedAdOptions = new FeedAdOptions(); feedAdOptions.setDisableSpinner(false); feedAdOptions.setShutterColor(Color.BLUE); networkOptions.setFeedAdOptions(feedAdOptions); conf.setAdNetworkOptions(networkOptions); // [...] AATKit.init(conf);
val conf = AATKitConfiguration(this) val networkOptions = AATKitAdNetworkOptions() // [...] val feedAdOptions = FeedAdOptions() feedAdOptions.disableSpinner = false feedAdOptions.shutterColor = Color.BLUE networkOptions.feedAdOptions = feedAdOptions conf.adNetworkOptions = networkOptions // [...] AATKit.init(conf)