开发者

Android: How can I use the Button background(style)

开发者 https://www.devze.com 2023-01-22 13:00 出处:网络
I want to use the button style on another control. How can I call开发者_如何转开发 that bg?You can give its background the attribute

I want to use the button style on another control. How can I call开发者_如何转开发 that bg?


You can give its background the attribute

@android:drawable/btn_default

Or set the style

@android:style/Widget.Button
0

精彩评论

暂无评论...
验证码 换一张
取 消