会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Jinger1992223
博客园
首页
博问
闪存
新随笔
订阅
管理
上一页
1
2
3
4
5
6
下一页
2016年7月12日
获取没有key值的数据,用循环器
摘要: JSONObject jsonObject = new JSONObject(json); Iterator<?> it = jsonObject.keys(); while (it.hasNext()) {// 遍历JSONObject key = (String) it.next().toStr
阅读全文
posted @ 2016-07-12 15:54 Jinger1992223
阅读(266)
评论(0)
推荐(0)
编辑
2016年6月15日
//解决scrollview嵌套gridview不默认显示顶部
摘要: //给scrollview嵌套的布局设置以下属性 linear_insideOfScrollView.setFocusable(true); linear_insideOfScrollView.setFocusableInTouchMode(true); linear_insideOfScrollV
阅读全文
posted @ 2016-06-15 10:36 Jinger1992223
阅读(136)
评论(0)
推荐(0)
编辑
2016年5月17日
java截取字符串 如何截取小数点以前的字符?比如1234.56截取后为1234
摘要:
阅读全文
posted @ 2016-05-17 18:00 Jinger1992223
阅读(529)
评论(0)
推荐(0)
编辑
2016年5月7日
解决ScrollView下嵌套ListView进页面不在顶部的问题
摘要: 为了解决scrollview和listview冲突 设置了listview的高度 结果进页面就不是在顶部了 。 解决方案1:ScrollView.post() Java代码 sv_container.post( new Runnable() { public void run() { //sv_co
阅读全文
posted @ 2016-05-07 16:52 Jinger1992223
阅读(288)
评论(0)
推荐(0)
编辑
Android:完美解决ScrollView嵌套GridView
摘要: 本文通过一段实例代码来解决开发过程中遇到的ScrollView嵌套GridView出问题即GridView会显示不全的解决办法。 AD:网+线下沙龙 | 移动APP模式创新:给你一个做APP的理由>> 本文通过一段实例代码来解决开发过程中遇到的ScrollView嵌套GridView出问题即Grid
阅读全文
posted @ 2016-05-07 16:05 Jinger1992223
阅读(730)
评论(0)
推荐(0)
编辑
2016年5月4日
Android RadioButton代码去掉左边默认显示的圆圈
摘要: Drawable drawable = context.getResources().getDrawable( R.drawable.radiobg); drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrin
阅读全文
posted @ 2016-05-04 09:16 Jinger1992223
阅读(1612)
评论(0)
推荐(0)
编辑
2016年4月22日
Android设置虚线、圆角、渐变
摘要: 版权声明:本文为博主原创文章,未经博主允许 也可 随意转载。 版权声明:本文为博主原创文章,未经博主允许 也可 随意转载。 有图又真相,先上图再说。 点击效果: 设置虚线: [html] view plain copy <?xml version="1.0" encoding="utf-8"?> <
阅读全文
posted @ 2016-04-22 15:44 Jinger1992223
阅读(254)
评论(0)
推荐(0)
编辑
2016年4月15日
android在代码中四种设置控件(以及TextView的文字颜色)背景颜色的方法
摘要: TextView tText=(TextView) findViewById(R.id.textv_name); //第1种: tText.setTextColor(android.graphics.Color.RED);//系统自带的颜色类 // 第2种: tText.setTextColor(0
阅读全文
posted @ 2016-04-15 17:32 Jinger1992223
阅读(1623)
评论(0)
推荐(0)
编辑
2016年4月13日
Android开发之Intent跳转到系统应用中的拨号界面、联系人界面、短信界面
摘要: 现在开发中的功能需要直接跳转到拨号、联系人、短信界面等等,查找了很多资料,自己整理了一下。 1、跳转到拨号界面,代码如下: 1)直接拨打 Intent intentPhone = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + phoneNumbe
阅读全文
posted @ 2016-04-13 14:45 Jinger1992223
阅读(443)
评论(0)
推荐(0)
编辑
2016年4月9日
APP发布时一般使用的主题和去掉主题自带的点击颜色
摘要: APP发布时一般使用的主题: <application android:allowBackup="true" android:icon="@drawable/applogo" android:theme="@android:style/Theme.Light.NoTitleBar" > 今天希望在g
阅读全文
posted @ 2016-04-09 17:18 Jinger1992223
阅读(192)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
下一页