我是参照这个例子写了一个listviewDrop,但是当我按住icon拖动条目的时候,条目变小,不知道什么原因,求解http://bigcat.easymorse.com/?p=677
解决方案 »
- 关于墨迹天气的数据来源问题
- 无焦点 popwindow中的EditText跳不出软键盘输入问题,高手速来
- android简单的计算器有错,求好心人帮忙(80分)
- 关于Android SD卡处理问题!
- eclipse building 卡住
- 求助!关于Android Bluetooth
- 做出来的应用卡的原因是什么?
- 编译android4.2.2源码,出现Invalid LOCAL_SDK_VERSION ' CURRENT' choices. stop, 请大神帮忙解决?
- PullToRefresh里嵌入viewPager轮播图片
- android调用js版本问题.
- 求教:如何让点击edittext后,显示特定的输入字符比如只出现数字
- Android浏览器开发的问题
public View getView(int position, View convertView, ViewGroup parent) {
View row = convertView;
if (row == null) {
LayoutInflater inflater = getLayoutInflater();
row = inflater.inflate(R.layout.mylist, parent, false);
}
TextView label = (TextView) row.findViewById(R.id.title);
label.setText(array.get(position).get("title").toString());
ImageView imageView = (ImageView) row.findViewById(R.id.img);
imageView.setImageResource(Integer.valueOf(array.get(position)
.get("img").toString()));
ImageButton picture=(ImageButton) row.findViewById(R.id.picture);
picture.setImageResource(Integer.valueOf(array.get(position)
.get("picture").toString()));
return (row);
}