开发者

ListView different ImageViews in one row (each one clickable itself)

开发者 https://www.devze.com 2023-03-26 01:09 出处:网络
I would like to make a 开发者_StackOverflow中文版ListView, all ImageViews should be in this order:

I would like to make a 开发者_StackOverflow中文版ListView, all ImageViews should be in this order:

Order of ImageViews

I would like to select ImageView1 then ImageView2, but at the moment I can only select row1 or row2.

    HashMap<String, Object> map = new HashMap<String, Object>();
    map.put("Image1", R.drawable.IMG1);
    map.put("Image2", R.drawable.IMG2);

Hope you can help me... Thanks


It looks like you should be using a Grid View:

http://developer.android.com/resources/tutorials/views/hello-gridview.html

0

精彩评论

暂无评论...
验证码 换一张
取 消