iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello Crosslight Support,
how can I customize the color of the page indicator within a carousel view on Android?
On iOS it is easy (CurrentPageIndicatorColor and PageIndicatorColor). What is the corresponding code/property on Android?
Thanks,
Thomas
The snippet code below shows how to customize the color of page indicator within carousel view in Android.
protected override void InitializeView() { base.InitializeView(); BulletPageIndicator pageIndicator = this.PageIndicator as BulletPageIndicator; if (pageIndicator != null) { // counterpart of CurrentPageIndicatorColor in Android pageIndicator.SetFillColor(Color.Green); // counterpart of PageIndicatorColor in Android pageIndicator.SetPageColor(Color.Red); } }
Hope this helps.
Hello Yudi,
works fine.
Thanks
Glad to hear that the snippet code helps.
Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname