android 入门-动画与容器
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>
最新文章
- UE4新手引导入门教程
- substring()
- Predicate接口和Consumer接口
- javascript定时器,取消定时器,及js定时器优化方法
- JSP的原理
- D7控件\dw_cd_VirtualTreeview_v4.5.2\Demos\Advanced---TVirtualStringTree用法
- 关于SASS--->;推荐使用
- 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%
- 写入数据到Plist文件中时,第一次要创建一个空的数组,否则写入文件失败
- mysql快速上手2
- java中通过反射获取方法并且调用(getMethod和invoke深入)实践
- TFS2010中文版安装
- 开发专题指南: JEECG高速微云开发平台前言
- Mysql联合查询UNION和UNION ALL的使用介绍
- winform 防止主界面卡死
- Vim配置C++
- 【JS】JavaScript中的闭包
- nmap安装过程
- 如何实现Sublime Text3中vue文件高亮显示的最有效的方法
- hdu 5607 BestCoder Round #68 (矩阵快速幂)
热门文章
- centos 6.5 下用apache部署web 应用
- django rest framework 的url标签的问题
- 【Networking】Thrift and gRPC
- C#系统委托之Action And Func
- sharepoint定义固定的网站集
- ios 使用block中使用self可能产生的循环引用
- 搭建Solr集群的推荐方案
- 解决VM虚拟机MAC OS X 10.10.x的卡顿问题
- Effective C++ -----条款02:尽量以const, enum, inline替换 #define
- HDU 1693 Eat the Trees(插头DP、棋盘哈密顿回路数)+ URAL 1519 Formula 1(插头DP、棋盘哈密顿单回路数)