Note that there are some explanatory texts on larger screens.

plurals
  1. POhorizontal scrolling for list of images
    primarykey
    data
    text
    <p>I have tried to make a Horizontal scrolling of list of 5 images in my app.I wrote the following XML in my app. The problem that i am facing is it leaves a blank area to the left and right of the screen ,i.e is blamk area before the image list starts and some blank area after the image list . </p> <p>XML</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center"&gt; &lt;LinearLayout android:id="@+id/LinearLayout02" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_weight="1" android:orientation="horizontal" &gt; &lt;ImageView android:id="@+id/imageView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:paddingRight="20dp" android:src="@drawable/people" /&gt; &lt;ImageView android:id="@+id/imageView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:paddingRight="20dp" android:src="@drawable/people" /&gt; &lt;ImageView android:id="@+id/imageView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:paddingRight="20dp" android:src="@drawable/people" /&gt; &lt;ImageView android:id="@+id/imageView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:paddingRight="20dp" android:src="@drawable/people" /&gt; &lt;/LinearLayout&gt; &lt;/HorizontalScrollView&gt; </code></pre> <p>Can anyone Help me how to remove this unwanted blank area ? <img src="https://i.stack.imgur.com/vvQ2G.png" alt="enter image description here"> I tried NagarjunaReddy suggestion, but I got the result as shown in screenshot below.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload