Is there anyway to set the no of row in GridView Android
May be i am asking wrong question. But please guys help me out. i want to display images in Grid View format. I have 5 images now i want to display these images like this(in single row scroll able). image1 image2 image3 image4 image5 But in mobile we can display 2 or 3 at a time. Can we set the number of rows in Grid View like numColumn:2 ? Thanks for considering. If you need to display a fixed number of images (for example using ImageView ) horizontally, the best solution is using HorizontalScrollView with a single horizontal LinearLayout child, which will contain the images. It will look