在造型的ActionbarSherlock进度 [英] Styling the progressbar in ActionbarSherlock
问题描述
在ActionbarSherlock水平进度是太薄了,是很难看到的。我怎样才能样式它是几个像素厚?
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?
我试着通过inhering从Widget.Sherlock.Light.ProgressBar.Horizontal风格应用在styles.xml自定义样式,但它确实混乱,我不知道要设置的属性。
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.
推荐答案
而不是试图使的进度
厚,尝试使用从<$ C对比色$ C>动作条颜色,使其脱颖而出,并noticible。
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
.
希望这有助于!
这篇关于在造型的ActionbarSherlock进度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!