84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
RT,使用shape设定形状时,设置corners的topLeftRadius后,界面上显示控件四个角都有变化,而且设置bottomRightRadius、bottomLeftRadius、bottomRightRadius这三项没有用,圆角半径仍然为topLeftRadius的值。
这是shape中标签属性的代码,然后修改VIEW的background为这个shape后显示四个角的半径都为20dp,而不是只有上面两个角为20dp。
闭关修行中......
我用View和ImageView,分别在Layout文件中设置background和src或background在代码中设置setBackgroundResource()均能正常显示,没有你描述的这种现象。建议你新建一个testDemo,单独测试View或ImageView试试
Eclipse预览是这样,运行到手机就好了。
我用View和ImageView,
分别在Layout文件中设置background和src或background
在代码中设置setBackgroundResource()
均能正常显示,没有你描述的这种现象。
建议你新建一个testDemo,单独测试View或ImageView试试
Eclipse预览是这样,运行到手机就好了。