摘要: 1 import java.io.File; 2 3 import android.app.AlertDialog; 4 import android.content.Context; 5 import android.content.DialogInterface; 6 impor... 阅读全文
posted @ 2015-05-14 11:57 will_N 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 1.自定义的CustomDialog.java 1 package com.example.iosalertview; 2 3 import android.app.Dialog; 4 import android.content.Context; 5 import android.co... 阅读全文
posted @ 2015-05-07 19:41 will_N 阅读(983) 评论(0) 推荐(0) 编辑
摘要: TheAndroidManifest.xml Fileandroid:windowSoftInputMode=["stateUnspecified","stateUnchanged", "stateHidden","stateAlwaysHidden", "stateVisible","stateA... 阅读全文
posted @ 2015-05-06 23:18 will_N 阅读(5779) 评论(0) 推荐(0) 编辑
摘要: GitHub上最火的40个Android开源项目(一)GitHub上最火的40个Android开源项目(二)GitHub上最火的74个Android开源项目(三)GitHub上最火的40个iOS开源项目(一)GitHub上最火的40个iOS开源项目(二)GitHub在中国的火爆程度无需多言,越来越多... 阅读全文
posted @ 2015-05-06 21:27 will_N 阅读(736) 评论(0) 推荐(0) 编辑
摘要: 在ScrollView中嵌套使用ListView,ListView只会显示一行到两行的数据。起初我以为是样式的问题,一直在对XML文件的样式进行尝试性设置,但始终得不到想要的效果。后来在网上查了查,ScrollView和ListView两个View都有滚动的效果,在嵌套使用时起了冲突,一般不建议两者... 阅读全文
posted @ 2015-04-28 23:55 will_N 阅读(11571) 评论(2) 推荐(0) 编辑
摘要: This Android SDK requires Android Developer Toolkit version23.0.0or above. Current version is 12.0.0.v201106281929-138431.一般这种原因是误更新了SDK,导致SDK版本过高,ECL... 阅读全文
posted @ 2015-04-28 14:43 will_N 阅读(486) 评论(0) 推荐(0) 编辑
摘要: 今天也遇上这个问题,在点击DrawerLayout中的空白处的时候,底部的content会获得事件。转自http://blog.csdn.net/zhang_duo/article/details/24140195,感谢作者。网上大多数DrawerLayout的实例都是跟google一样,一个lis... 阅读全文
posted @ 2015-04-27 14:55 will_N 阅读(5004) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.sina.com.cn/s/blog_83940dfb0100veas.html用于Activity之间的数据传递 在起始Activity中,发送数据 protected void onCreate(Bundle saveInstanceState){ ... 阅读全文
posted @ 2015-03-30 22:05 will_N 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 网络示例图:RippleView.java 1 /* 2 * The MIT License (MIT) 3 * 4 * Copyright (c) 2014 Robin Chutaux 5 * 6 * Permission is hereby granted, free of... 阅读全文
posted @ 2015-03-30 16:15 will_N 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 部分借鉴:http://blog.csdn.net/flowingflying/article/details/6671548,谢谢作者步骤1:编写preference XML,在res/xml/下加入我们的preference XML文件,例如名字叫preference.xml(不是上图的布局文件... 阅读全文
posted @ 2015-03-30 15:56 will_N 阅读(4992) 评论(0) 推荐(0) 编辑