Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Styling ViewPager runtime

$
0
0

I want to change the colours of a ViewPager by code

This works this.m_PageIndicator.SetBackgroundColor (Color.Red)

But I have not figured of how to set the tab colours (selected....)

On an Actionbar it is something like this ActionBar.SetStackedBackgroundDrawable(new ColorDrawable(Color.Brown)); I want to do the same with the tabs in the view pager


Viewing all articles
Browse latest Browse all 204402

Trending Articles