摘要: Android中shape的使用Android中常常使用shape来定义控件的一些显示属性,今天看了一些shape的使用,对shape有了大体的了解,稍作总结:先看下面的代码: <shape><!-- 实心 --> <solid android:color="#ff9d77"/> <!-- 渐变 --> <gradient android:startColor="#ff8c00" android:endColor="#FFFFFF" android:centerY="0. 阅读全文
posted @ 2013-01-11 14:24 tanqiantot 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1、在drawable目录下新建XML文件progressbar_horizontal_red:[java]view plaincopy<?xmlversion="1.0"encoding="utf-8"?><!--Copyright(C)2008TheAndroidOpenSourceProjectLicensedundertheApacheLicense,Version2.0(the"License");youmaynotusethisfileexceptincompliancewiththeLicense.Yo 阅读全文
posted @ 2013-01-11 14:11 tanqiantot 阅读(2906) 评论(0) 推荐(0) 编辑