Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6855231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:43:53+00:00 2026-05-27T01:43:53+00:00

I thought this would be really simple but its proving to be very difficult.

  • 0

I thought this would be really simple but its proving to be very difficult. Im trying to create a simple view with a list of 13 images that I can scroll down. Im using the xml code below but the result is not what I expected. I’m getting a scrollable list of images starting with the bottom part of the 5th image and complete images of 6 – 13. at the bottom of the scrollview there is a bunch of empty space about the same size as the space I imagine the missing images would take up….. any ideas?

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:id="@+id/LinearLayout01" android:layout_width="fill_parent" 
    android:layout_height="wrap_content" android:background="@color/back"
    xmlns:android="http://schemas.android.com/apk/res/android">
    <ScrollView android:id="@+id/ScrollView01" android:layout_gravity="center"           
        android:layout_height="wrap_content" android:layout_width="fill_parent">
        <LinearLayout android:id="@+id/LinearLayout02" android:orientation="vertical"  
            android:layout_gravity="center" android:layout_height="wrap_content"              
            android:layout_width="fill_parent">
            <ImageView android:src="@drawable/s1" android:id="@+id/imageView1"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s2" android:id="@+id/imageView2"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s3" android:id="@+id/imageView7"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s4" android:id="@+id/imageView11"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s5" android:id="@+id/imageView10"                
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s6" android:id="@+id/imageView9"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s7" android:id="@+id/imageView8"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s8" android:id="@+id/imageView4"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s9" android:id="@+id/imageView5"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s10" android:id="@+id/imageView6"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s11" android:id="@+id/imageView3"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s12" android:id="@+id/imageView13"  
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
            <ImageView android:src="@drawable/s13" android:id="@+id/imageView12"    
                android:layout_height="fill_parent" 
                android:layout_width="fill_parent"/>
        </LinearLayout>
    </ScrollView>
</LinearLayout>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:43:54+00:00Added an answer on May 27, 2026 at 1:43 am

    I think that using a ‘GridView’ in your case could be a better and most clean solution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I thought this would be simple, but its not working .. in both the
Sounds simple, but struggling to get this working. I thought it would be easy
Hey guys, I thought this would be an incredibly simple thing to do, but
I'm trying to do something that I thought would be quite simple but as
Any thoughts on why this isn't working? I really thought 'ignore' would do the
I thought this would be fairly easy, but I'm totally baffled. I want one
I thought this would be very easy. I downloaded the JDK, extracted src.zip, modified
I thought this would be pretty easy but I'm running into all sorts of
I would have thought this would be an easy one to Google, but I've
Okay at first I thought this would be pretty straightforward. But I can't think

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.