set 动画容器 可作为资源id添加R.anim.xxxx   可用于在样式表中添加  http://blog.csdn.net/liuhe688/article/details/6660823

inset 嵌入可绘制资源容器 在样式表中 添加    <item name="android:background">@drawable/background_view_rounded_bottom</item>

<?xml version="1.0" encoding="UTF-8"?>
<inset android:insetLeft="1.0px" android:insetRight="1.0px" android:insetTop="1.0px" android:insetBottom="1.0px"
xmlns:android="http://schemas.android.com/apk/res/android">
<selector>
<item android:state_pressed="true">
<shape>
<gradient android:startColor="@color/base_start_color_pressed" android:endColor="@color/base_end_color_pressed" android:angle="270.0" />
<corners android:radius="2.0dip" android:topLeftRadius="0.0dip" android:topRightRadius="0.0dip" android:bottomLeftRadius="10.0dip" android:bottomRightRadius="10.0dip" />
</shape>
</item>
<item>
<shape>
<gradient android:startColor="@color/base_start_color_default" android:endColor="@color/base_end_color_default" android:angle="270.0" />
<corners android:radius="2.0dip" android:topLeftRadius="0.0dip" android:topRightRadius="0.0dip" android:bottomLeftRadius="11.0dip" android:bottomRightRadius="11.0dip" />
</shape>
</item>
</selector>
</inset>

最新文章

  1. UE4新手引导入门教程
  2. substring()
  3. Predicate接口和Consumer接口
  4. javascript定时器,取消定时器,及js定时器优化方法
  5. JSP的原理
  6. D7控件\dw_cd_VirtualTreeview_v4.5.2\Demos\Advanced---TVirtualStringTree用法
  7. 关于SASS---&gt;推荐使用
  8. Selenium2学习-037-WebUI自动化实战实例-IE浏览器显示比例问题:org.openqa.selenium.remote.SessionNotFoundException: Unexpected error launching Internet Explorer. Browser zoom level was set to 94%. It should be set to 100%
  9. 写入数据到Plist文件中时,第一次要创建一个空的数组,否则写入文件失败
  10. mysql快速上手2
  11. java中通过反射获取方法并且调用(getMethod和invoke深入)实践
  12. TFS2010中文版安装
  13. 开发专题指南: JEECG高速微云开发平台前言
  14. Mysql联合查询UNION和UNION ALL的使用介绍
  15. winform 防止主界面卡死
  16. Vim配置C++
  17. 【JS】JavaScript中的闭包
  18. nmap安装过程
  19. 如何实现Sublime Text3中vue文件高亮显示的最有效的方法
  20. hdu 5607 BestCoder Round #68 (矩阵快速幂)

热门文章

  1. centos 6.5 下用apache部署web 应用
  2. django rest framework 的url标签的问题
  3. 【Networking】Thrift and gRPC
  4. C#系统委托之Action And Func
  5. sharepoint定义固定的网站集
  6. ios 使用block中使用self可能产生的循环引用
  7. 搭建Solr集群的推荐方案
  8. 解决VM虚拟机MAC OS X 10.10.x的卡顿问题
  9. Effective C++ -----条款02:尽量以const, enum, inline替换 #define
  10. HDU 1693 Eat the Trees(插头DP、棋盘哈密顿回路数)+ URAL 1519 Formula 1(插头DP、棋盘哈密顿单回路数)