安卓:我要如何改变一个进度条的高度? [英] Android: How do I change the height of a ProgressBar?
本文介绍了安卓:我要如何改变一个进度条的高度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想知道什么是改变一个进度条的高度在Android上最简单的方法是什么?
I was wondering what is the easiest way to change the height of a ProgressBar in Android?
谢谢
了Tomek
推荐答案
如果你的进度条在XML布局定义的,它看起来像你定义像这样的高度:
If your progress bar is defined in the XML layout, it looks like you define its height like so:
<ProgressBar
android:minHeight="20dip"
android:maxHeight="20dip"/>
不过,我只是做一个猜测,从这篇文章
这篇关于安卓:我要如何改变一个进度条的高度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文