楼上的各种方法我都试过,其实很简单,只要在代码里设置透明度就一切ok了,不知道什么原因,在xml设置就是没有效果
[quote=引用 16 楼 zhhuaw 的回复:] [quote=引用 15 楼 zhhuaw 的回复:] android:background="@android:color/transparent"
[quote=引用 13 楼 asdfgcjw 的回复:] [quote=引用 9 楼 lionfresh 的回复:] [quote=引用 8 楼 asdfgcjw 的回复:] [quote=引用 6 楼 zhhuaw 的回复:] 刚试了下 不用放在layout中也可以 ,把progressbar的背景色你可以设置,不要背景则透明,改变背景色设置背景色就可以了
[quote=引用 15 楼 zhhuaw 的回复:] android:background="@android:color/transparent"
[quote=引用 9 楼 lionfresh 的回复:] [quote=引用 8 楼 asdfgcjw 的回复:] [quote=引用 6 楼 zhhuaw 的回复:] 刚试了下 不用放在layout中也可以 ,把progressbar的背景色你可以设置,不要背景则透明,改变背景色设置背景色就可以了
android:background="@android:color/transparent"
[quote=引用 8 楼 asdfgcjw 的回复:] [quote=引用 6 楼 zhhuaw 的回复:] 刚试了下 不用放在layout中也可以 ,把progressbar的背景色你可以设置,不要背景则透明,改变背景色设置背景色就可以了
[quote=引用 10 楼 asdfgcjw 的回复:] [quote=引用 6 楼 zhhuaw 的回复:] 刚试了下 不用放在layout中也可以 ,把progressbar的背景色你可以设置,不要背景则透明,改变背景色设置背景色就可以了
80,361
社区成员
91,291
社区内容
加载中
试试用AI创作助手写篇文章吧