<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[thelongest的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/thelongest</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; thelongest]]></copyright><item><title><![CDATA[可拖曳的多选listView]]></title><link>https://blog.csdn.net/thelongest/article/details/46584823</link><guid>https://blog.csdn.net/thelongest/article/details/46584823</guid><author>thelongest</author><pubDate>Sun, 21 Jun 2015 22:20:27 +0800</pubDate><description><![CDATA[纪录一下做这个功能的小知识，由于都是通过别人博客学习使用的，所以直接上链接，看完下面两篇文章大家就肯定会用了 
ListView的多选模式 
 可拖拽listview基本使用技巧（DragSortListView） 
下面是我根据这两篇文章和我们的设计需求做的一些改变的小结 
在listview布局文件中设置了        android:choiceMode=”multipleChoice”]]></description><category></category></item><item><title><![CDATA[Android开发遇到的一些小坑洼]]></title><link>https://blog.csdn.net/thelongest/article/details/46583325</link><guid>https://blog.csdn.net/thelongest/article/details/46583325</guid><author>thelongest</author><pubDate>Sun, 21 Jun 2015 18:26:06 +0800</pubDate><description><![CDATA[1、因为设计要求把加载loading放到按钮中，但是又怕设计临时改主意添花样所以自定义了一个View继承了RelativeLayout，布局中设定了固定宽高，但是问题来了，无论在布局文件中怎么设置宽高都是无效的，最后对比同事的自定义文件发现我少设置了Params。。。，只要在addView的时候设置宽高为math_parent，控件就会根据布局文件中设置的宽高显示了LayoutParams lp=n]]></description><category></category></item><item><title><![CDATA[单个Activity添加开启关闭动画]]></title><link>https://blog.csdn.net/thelongest/article/details/46583023</link><guid>https://blog.csdn.net/thelongest/article/details/46583023</guid><author>thelongest</author><pubDate>Sun, 21 Jun 2015 17:32:13 +0800</pubDate><description><![CDATA[我的实现场景是这样的，其它界面不做处理，想给搜索界面添加动画实现上滑出现，下滑关闭的效果。
1、在res/anim文件夹下添加开启关闭动画文件
开启动画search_in.xml



    <translate
        android:fromYDelta="100%p"
        android:toYDelta="0"
        android:duration]]></description><category></category></item><item><title><![CDATA[自定义EditText实现输入错误变红的效果]]></title><link>https://blog.csdn.net/thelongest/article/details/46552005</link><guid>https://blog.csdn.net/thelongest/article/details/46552005</guid><author>thelongest</author><pubDate>Thu, 18 Jun 2015 20:35:13 +0800</pubDate><description><![CDATA[这次做的项目设计给的效果图是这样的

不选中时线为灰色，获取焦点后高亮变化，若判断错误后将底部线条文字及清楚按钮都变成红色，同时从界面上面要滑动出错误文字提示。
为了改变EditText线条颜色真是尝试了各种办法，但是小女子能力有限，最后用一种笨方法实现了。。
自定义了一个ClearEditText继承EditText实现onFocusChangeListener接口，在自定义view里大]]></description><category></category></item><item><title><![CDATA[Android开发通讯录小结]]></title><link>https://blog.csdn.net/thelongest/article/details/40372165</link><guid>https://blog.csdn.net/thelongest/article/details/40372165</guid><author>thelongest</author><pubDate>Wed, 22 Oct 2014 10:13:17 +0800</pubDate><description><![CDATA[这阵子一直做跟通讯录有关的东西，但也比较简单，显示]]></description><category></category></item><item><title><![CDATA[Android修改spinner样式]]></title><link>https://blog.csdn.net/thelongest/article/details/23930531</link><guid>https://blog.csdn.net/thelongest/article/details/23930531</guid><author>thelongest</author><pubDate>Thu, 17 Apr 2014 14:53:45 +0800</pubDate><description><![CDATA[最近做界面用到了spinner控件，直接用的话真心挺丑的···]]></description><category></category></item><item><title><![CDATA[注册验证]]></title><link>https://blog.csdn.net/thelongest/article/details/22103449</link><guid>https://blog.csdn.net/thelongest/article/details/22103449</guid><author>thelongest</author><pubDate>Tue, 25 Mar 2014 22:47:10 +0800</pubDate><description><![CDATA[最近写个新项目，最烦写注册界面，那么多框每个都要检验，以前懒的不行，今天鼓励下自己，整理整理学习的资料，做个小总结，不过用到的好多东西都找不到是从哪搜到的了，请大侠们见谅了。
1、项目要求所有输入框都有一项必要的检查就是字符数量限制，像用户名在5--25个字符范围内，密码要在6--16个字符范围内等等
EditText有一个maxLength属性，可在写布局xml文件时添加这个属性，也可用代码]]></description><category></category></item></channel></rss>