摘要:
Android中shape的使用Android中常常使用shape来定义控件的一些显示属性,今天看了一些shape的使用,对shape有了大体的了解,稍作总结:先看下面的代码: <shape><!-- 实心 --> <solid android:color="#ff9d77"/> <!-- 渐变 --> <gradient android:startColor="#ff8c00" android:endColor="#FFFFFF" android:centerY="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 阅读全文