![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
文章平均质量分 80
老陈01
这个作者很懒,什么都没留下…
展开
-
android 背景渐变色(shape,gradient)
设置背景色可以通过在res/drawable里定义一个xml,如下:http://schemas.android.com/apk/res/android"> android:startColor="#FFF" android:endColor="#000" android:angle="45" />shape是用来定义形状的,gradient定义该形状里转载 2012-07-19 11:46:39 · 925 阅读 · 0 评论 -
android view动态翻转切换
茉个layout文件如下 ...play_switch_layout" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_marginRight="@dimen/audio_player_play_swi原创 2012-03-21 11:49:33 · 8085 阅读 · 4 评论 -
android1.6 launcher源码学习笔记
长按应用程序实现拖动它到桌面(workspace)或从桌面删除:类简介public class DeleteZone extends ImageView implements DropTarget, DragController.DragListener;public class FolderIcon extends BubbleTextView implements DropTa原创 2014-05-13 11:21:13 · 1050 阅读 · 0 评论