解决方法请参考: You have a single component (row) vertical linear layout, containing another linear layout. This does not make any sense as layout is a container for the multiple components. If there is only... Read More
posted @ 2013-08-11 16:03 KillerLegend Views(3400) Comments(0) Diggs(0) Edit
可以通过xml文件来设置,方法如下: 1:先在布局文件中的ProgressBar加入下面属性: android:progressDrawable="@drawable/progress_bar" 其中progress_bar是你用于设置进度条颜色的xml文件的名字(你当然可以起一个你喜欢的名字) 2:在res资源文件中的drawable文件中新建上面的xml文件,新建的时候选则根元素为layer-... Read More
posted @ 2013-08-11 14:12 KillerLegend Views(9322) Comments(0) Diggs(0) Edit
尊重原创,本文引用自: http://kofi1122.blog.51cto.com/2815761/521605 本人在美工方面一直是比较白痴的,对于一些颜色什么乱七八糟的非常头痛,但是在Android编程中这又是经常涉及到的东西,没办法,只有硬着头皮上。 Android中常常使用shape来定义控件的一些显示属性,今天看了一些shape的使用,对shape有了大体的了解,稍作总结:先看下面的代... Read More
posted @ 2013-08-11 12:42 KillerLegend Views(112) Comments(0) Diggs(0) Edit