- 博客(5)
- 收藏
- 关注
原创 控制EditText不让输入中文(输入内容类型)
控制EditText不让输入中文(输入内容类型)自定义EditText重写onCreateInputConnection()方法 在该方法内返回自定义的MyInputConnecttion @Override public InputConnection onCreateInputConnection(EditorInfo outAttrs) { return new MyInputConnec
2016-10-10 17:52:16
1154
原创 AndroidDatePicker-日期选择器
GITHUB: https://github.com/lpy19930103/AndroidDatePicker 使用: compile ‘com.github.lpy19930103:AndroidDatePicker:5d17ef4c2c’ 方法setSelectedItem(int year, int month, int day)选择默认展示的年月日setRange(int sta
2016-09-21 17:47:21
425
原创 让popuwindow的父类上的控件处理Touch事件,不让自处理
让popuwindow的父类上的控件处理Touch事件,不让自处理 public static void setPopupWindowTouchModal(PopupWindow popupWindow, boolean touchModal) { if (null == popupWindow) { return; }
2016-03-01 14:17:44
527
原创 仿余额宝折线图
仿余额宝折线图完整代码 github 地址https://github.com/lpy19930103/AndroidLineChart /** * Created with Android Studio. * User: lipy * 折线图 */ public class Common
2016-02-29 14:42:45
1817
1
原创 代码修改 drawleft 图标大小
代码修改 drawleft 图标大小 Drawable drawable = getResources().getDrawable(int drawableId); drawable.setBounds(0, 0, width, height);(一定要先设置这个) radioButton.setCompoundDrawables(null, null, drawable, null);(要使用这
2016-02-29 10:15:22
660
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅