- 博客(11)
- 收藏
- 关注
原创 AnyPref,可直接在SharedPreferences中保存对象实例的SharedPreferences工具类
SharedPreferences实用工具类,可直接保存与读取实例对象,SharedPreferences中的ORM
2016-06-13 23:16:02 883
原创 滑动ListView自动隐藏页面头部和底部元素
现在很多软件都有这种滑动列表的时候自动隐藏页面头部和底部元素的功能,比如Google+。在刚刚进入Activity的时候,页面是一个列表,底部有一个view,头部一个view,当列表向上滑动的时候,隐藏头尾元素,以显示更多内容,当列表向下滑动的时候,再将头尾元素拉出来。比如Google+。
2014-12-04 20:33:58 2570
翻译 在你的Android应用中使用Material Design
译自 http://android-developers.blogspot.com/2014/10/implementing-material-design-in-your.html —— By NashLegendMaterial Design对于多屏幕的视觉、交互和动作设计作了很大的改进。Android 5.0和最新的支持包可以帮助你创建Material风格的UI。这里将概
2014-11-19 22:34:06 3330
翻译 在低版本Android上使用Material Design——AppCompat v21
译自http://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html—— By NashLegend原译文在我的github上:https://github.com/NashLegend/ProjectBabel/blob/master/Material%20Design%20
2014-11-19 22:32:07 3766
翻译 开发人员注意——Android 5.0 API有哪些变化
Android 5.0 API变化译自 http://developer.android.com/intl/zh-cn/about/versions/android-5.0.html —— By NashLegendSample示例在这里找:https://github.com/googlesamples/原译文在我的github上:https://github.com/N
2014-11-18 20:22:37 4433 1
翻译 Android 5.0有哪些变化
Android 5.0 Changes译自 http://developer.android.com/intl/zh-cn/about/versions/android-5.0-changes.html —— By NashLegend原译文在Github上:https://github.com/NashLegend/ProjectBabel/blob/master/Andro
2014-11-18 20:20:14 1608
原创 两个Android选择文件对话框
这个项目以及代码中使用的未在下面代码给出源码的方法都在这里:https://github.com/NashLegend/LegendUtils第二种对话框的源码在这里:https://github.com/NashLegend/LegendExplorer/,这是一个文件浏览器源码。Android文件对话框,一般用的分两种。一是我们自
2014-11-18 20:18:54 1416
原创 像知乎、iOS那样滑动Activity
这里只介绍原理,更详细的实现代码地址在此 :https://github.com/NashLegend/SwipetoFinishActivity这是Activity滑动的示意图像fragment一样,activity本身是没有滑动的方法的,但是我们可以制造一个正在滑动activity的假象,使得这个activity看起来正在被手指滑动。其原理其
2014-11-18 20:17:19 1371
原创 手机智能拨号匹配算法
完整源码在我的github上 https://github.com/NashLegend/QuicKid 国内拨号软件都带的大家都知道,就是输入姓名拼音的一部分就可快速搜索出联系人的拨号方式
2014-11-18 20:11:00 3126 2
原创 Android图形解锁的绘制
先上图:其实很简单,不用过多解释,一点点注释就够了。Java代码:package com.example.graphicunlock;import android.os.Bundle;import android.os.Handler;import android.app.Activity;import android.c
2014-11-18 20:09:04 1773
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人