Android - Can't create simple rectangle shape... UnsupportedOperationException?

I'm having trouble creating a simple rounded rectangle using XML. Every time I try to add the "corners" element to the custom shape I get: > java.lang.UnsupportedOperationException > at > > at > > at > android.view.View.draw( > ... res/dawable/rounded_rectangle.xml: simple layout.xml using the above shape: Fyi, I'm trying to compile for Android 2.1 and I have all the latest updates installed to Eclipse and the Android SDK. This shape is a direct copy of something I saw on another website, but for some reason It doesn't want to work for me. Thanks.
See Shape element and its attributes here:…

以上就是Android - Can't create simple rectangle shape... UnsupportedOperationException?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准