How to change color of tabbed page indicator in Xamarin.Droid?

后端 未结 3 1046
粉色の甜心
粉色の甜心 2020-12-21 04:22

I\'m building an application with Xamarin.Forms and a Portable Class Library. I have a tabbed page. I want to change the color of the tabbed page indicator.

3条回答
  •  遥遥无期
    2020-12-21 04:36

    If you are using the FormsAppCompatActivity (Material Design), then all you have to do is open the Tabbar.axml file in the droid project's Resources folder and change the color set for app:tabIndicatorColor. For example,

    
    
        app:tabGravity="fill"
        app:tabMode="fixed" />
    

提交回复
热议问题