原创 一個自動清理Android項目無用資源的工具類及源碼
此工具在我的github上。地址:https://github.com/NashLegend/AndroidResourceCleaner 很多人都知道androidunusedresources.jar這個工具,它可以把Android項目
原创 如何在你的App中應用Material Design設計風格
譯自 http://android-developers.blogspot.com/2014/10/implementing-material-design-in-your.html —— By NashLegend原譯文在我的Github
原创 智能撥號匹配算法(二)
完整源碼在我的github上 https://github.com/NashLegend/QuicKid 接上篇,下面是幾個匹配算法的詳情:1.完全匹配 完全匹配很簡單了,只要判斷string是否相等就行了。這裏
原创 在低版本Android上使用Material Design
譯自http://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html—— By NashLegend原譯文在我的github上
原创 滑動ListView自動隱藏頁面頭部和底部元素的例子
完整工程代碼在這:https://github.com/NashLegend/Auto-Hide-ListView現在很多軟件都有這種滑動列表的時候自動隱藏頁面頭部和底部元素的功能,比如Google+。在剛剛進入Activity的時候,頁面
原创 AnyPref,可直接在SharedPreferences中保存對象實例的SharedPreferences工具類
項目Github地址 https://github.com/NashLegend/AnyPref有時候在寫代碼的時候經常會有一些要持久保存某個對象的需求,這時候如果動用Sqlite又覺得太重,使用SharedPreferences保存的話確