<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[AlexfreeAll的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/AlexfreeAll</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; AlexfreeAll]]></copyright><item><title><![CDATA[安卓API指南——创建搜索功能]]></title><link>https://blog.youkuaiyun.com/AlexfreeAll/article/details/45148855</link><guid>https://blog.youkuaiyun.com/AlexfreeAll/article/details/45148855</guid><author>AlexfreeAll</author><pubDate>Mon, 20 Apr 2015 13:06:31 +0800</pubDate><description><![CDATA[如果想要在应用里加入搜索功能，安卓可以帮助你实现顶部Activity窗口的搜索对话框，或是可以放置在布局里的搜索控件。搜索对话框和控件都可以把用户的查询关键词指向你应用中专门的Activity。如此一来用户便可以依靠搜索对话框和组件，在任意的Activity中发起搜索，系统也会开启相应的Activity完成搜索并列出结果。
搜索对话框和控件的其他特色还有：
语音搜索
根据近期的查询结果提供搜]]></description><category></category></item><item><title><![CDATA[安卓API指南——Canvas和Drawable]]></title><link>https://blog.youkuaiyun.com/AlexfreeAll/article/details/45123137</link><guid>https://blog.youkuaiyun.com/AlexfreeAll/article/details/45123137</guid><author>AlexfreeAll</author><pubDate>Sun, 19 Apr 2015 01:37:03 +0800</pubDate><description><![CDATA[为了更好的学习和理解Canvas和Drawable，翻译了谷歌官方API指南的文章。自：http://developer.android.com/intl/zh-cn/guide/topics/graphics/2d-graphics.html 有错误欢迎指出。


安卓framework的API提供了一系列供2D绘图的API，允许用户在Canvas画布上渲染自定义的图画，或是修改已有的Vi]]></description><category></category></item><item><title><![CDATA[安卓常见类备忘录之LayoutParams]]></title><link>https://blog.youkuaiyun.com/AlexfreeAll/article/details/45097349</link><guid>https://blog.youkuaiyun.com/AlexfreeAll/article/details/45097349</guid><author>AlexfreeAll</author><pubDate>Fri, 17 Apr 2015 15:08:19 +0800</pubDate><description><![CDATA[1、简介及常见子类


LayoutParams，全称LayoutParameters。Layout是布局，而Parameters乃是参数的意思，这个类一般用在自定义的View控件，或是获取View的宽高值上。


在谷歌官方的API中，对其定义为“view通过layoutparams来告诉父View，希望被如何布局”。而基本的LayoutParams只会描述宽高，并拥有三个大家耳熟能]]></description><category></category></item><item><title><![CDATA[绝对有效！如何修改安卓的ActionBar高度？]]></title><link>https://blog.youkuaiyun.com/AlexfreeAll/article/details/45061101</link><guid>https://blog.youkuaiyun.com/AlexfreeAll/article/details/45061101</guid><author>AlexfreeAll</author><pubDate>Wed, 15 Apr 2015 16:19:48 +0800</pubDate><description><![CDATA[个人在设计Theme时，想要修改系统原生的ActionBar的高度，但试了很久、查了网上很多的说法，动态和静态的都试了，也没有成功。后来发现，安卓的ActionBar高度由属性中的actionBarSize决定。但如果想修改成全通用（包括v4），必须设置两个属性才能实现。


在style中，自定义主题，继承AppCompat.Light主题：


<style name="Custo]]></description><category></category></item></channel></rss>