I am trying to show several images in an activity.And user can view them by scrolling.I have done this by adding two ImageView for two image.But there is huge space/gap between two images This is looking very unsmart.How can I solve this problem.
Can I make one ImageView to show several images and obviously not using GridView.
My .xml code is here:
<ScrollView
android:id="@+id/scrollView1"
android:layout_width="wrap_content"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/circle" />
<ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/circle2" />
</LinearLayout>
</ScrollView>