<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[工匠荷风的博客]]></title><description><![CDATA[不积跬步，无以至千里；不积小流，无以成江海。]]></description><link>https://blog.youkuaiyun.com/wschkd123</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; wschkd123]]></copyright><item><title><![CDATA[一图了解View的生命周期，自定义view，invalidate()和requestLayout()调用]]></title><link>https://blog.youkuaiyun.com/wschkd123/article/details/51444986</link><guid>https://blog.youkuaiyun.com/wschkd123/article/details/51444986</guid><author>wschkd123</author><pubDate>Wed, 18 May 2016 16:18:46 +0800</pubDate><description><![CDATA[Android中View的生命周期，调用invalidate()和requestLayout()会触发哪些方法，一图道破天机。该图确实一看就非常清晰、让人简单的了解View的生命周期，也可以帮助我们更好的去掌握如何自定义view。]]></description><category></category></item><item><title><![CDATA[Android Canvas.drawText垂直居中问题三种情况]]></title><link>https://blog.youkuaiyun.com/wschkd123/article/details/51440092</link><guid>https://blog.youkuaiyun.com/wschkd123/article/details/51440092</guid><author>wschkd123</author><pubDate>Tue, 17 May 2016 22:40:03 +0800</pubDate><description><![CDATA[官方文档： 
 public void drawText (String text, float x, float y, Paint paint)Parameters 
text    The text to be drawn 
x   The x-coordinate of the origin of the text being drawn 
y   The y-coordinate of th]]></description><category></category></item><item><title><![CDATA[android PopupWindow]]></title><link>https://blog.youkuaiyun.com/wschkd123/article/details/51278741</link><guid>https://blog.youkuaiyun.com/wschkd123/article/details/51278741</guid><author>wschkd123</author><pubDate>Fri, 29 Apr 2016 00:26:48 +0800</pubDate><description><![CDATA[在android中弹出框有两种方式：AlertDialog和PopupWindow，它们的不同点在于： 
    1、AlertDialog的位置固定，而PopupWindow的位置可以随意； 
    2、AlertDialog是非阻塞线程的，而PopupWindow是阻塞线程的； PopupWindow使用   PopupWindow这个类用来实现一个弹出框，可以使用任意布局的View作为其内容]]></description><category></category></item><item><title><![CDATA[android保持屏幕常亮]]></title><link>https://blog.youkuaiyun.com/wschkd123/article/details/51277962</link><guid>https://blog.youkuaiyun.com/wschkd123/article/details/51277962</guid><author>wschkd123</author><pubDate>Thu, 28 Apr 2016 21:54:58 +0800</pubDate><description><![CDATA[/* Window flag: as long as this window is visible to the user, keep the device’s screen turned on and bright. / 
public static final int FLAG_KEEP_SCREEN_ON = 0x00000080;WindowManager提供了FLAG_KEEP_SCREE]]></description><category></category></item><item><title><![CDATA[android:duplicateParentState="true"]]></title><link>https://blog.youkuaiyun.com/wschkd123/article/details/51263442</link><guid>https://blog.youkuaiyun.com/wschkd123/article/details/51263442</guid><author>wschkd123</author><pubDate>Wed, 27 Apr 2016 18:32:50 +0800</pubDate><description><![CDATA[android:duplicateParentState



When this attribute is set to true, the view gets its drawable state (focused, pressed, etc.) from its direct parent rather than from itself.

Must be a boolean v]]></description><category></category></item></channel></rss>