Styling the progressbar in ActionbarSherlock

空扰寡人 提交于 2020-01-04 15:54:48

问题


The horizontal progressbar in ActionbarSherlock is too thin, and is very hard to see. How can I style it to be a few pixels thicker?

I've tried applying a custom style in styles.xml by inhering the style from Widget.Sherlock.Light.ProgressBar.Horizontal, but it's really confusing and I don't know which properties to set.


回答1:


Instead of attempting to make the ProgressBar thicker, try using a color that contrasts from the ActionBar color to make it stand out, and be noticible.

That's what I did with my app. I have a grey ActionBar, with a bright red ProgressBar.

Hope this helps!



来源:https://stackoverflow.com/questions/10687011/styling-the-progressbar-in-actionbarsherlock

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!