2016年8月30日

Android selector的使用

摘要: 在开发应用中,很多情况下要设计listview或button控件的背景,下面总结一下android的selector的用法: 在开发应用中,很多情况下要设计listview或button控件的背景,下面总结一下android的selector的用法: 1.在drawable中配置Android的se 阅读全文

posted @ 2016-08-30 17:55 任凯凯旋归来 阅读(368) 评论(0) 推荐(0) 编辑

Android shape的使用

摘要: android shape的使用 shape用于设定形状,可以在selector,layout等里面使用,有6个子标签,各属性如下: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android 阅读全文

posted @ 2016-08-30 15:18 任凯凯旋归来 阅读(155) 评论(0) 推荐(0) 编辑

导航