导航

05 2014 档案

摘要:gridview中设置item的高度。一、BaseAdapter中的getView中设置AbsListView.LayoutParams param = new AbsListView.LayoutParams( android... 阅读全文

posted @ 2014-05-18 23:55 曙光城邦 阅读(199) 评论(0) 推荐(0)

摘要:png图片代码ImageView loading=getActivity().findViewById(R.id.pro_loading); LinearInterpolator lin = new LinearInterpolator(); am = n... 阅读全文

posted @ 2014-05-18 21:25 曙光城邦 阅读(361) 评论(0) 推荐(0)

摘要:$(document).ready(function(){ $("input[name=discount]").each(function(){ $(this).click(function(){ var discount = $(this).val(); ... 阅读全文

posted @ 2014-05-15 17:08 曙光城邦 阅读(13870) 评论(0) 推荐(0)

摘要:首先,response返回有两种,一种是字节流outputstream,一种是字符流printwrite。申明:这里为了方便起见,所有输出都统一用UTF-8编码。先说字节流,要输出“中国",给输出流的必须是转换为utf-8的“中国”,还要告诉浏览器,用utf8来解析数据//这句话的意思,是让浏览器用... 阅读全文

posted @ 2014-05-13 17:32 曙光城邦 阅读(231) 评论(0) 推荐(0)