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 8358925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:58:07+00:00 2026-06-09T10:58:07+00:00

Actually having two listviews with scrollbars, one of the listview is not scrolling it.

  • 0

Actually having two listviews with scrollbars, one of the listview is not scrolling it.
Below is the code of the main.xml

  • Code
<TableLayout
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" >

    <TableRow
        android:id="@+id/tableRow1"
        android:layout_width="fill_parent"
        android:layout_height="230dp" >
        <LinearLayout
            android:id="@+id/Container"
            android:layout_width="230dp"
            android:layout_height="230dp"
            android:layout_marginLeft="50dp"
            android:orientation="horizontal" >

            <ImageView
                android:id="@+id/ImageView01"
                android:layout_width="100dp"
                android:layout_height="100dp"
                android:layout_marginTop="50dp"
                android:src="@drawable/sky2_bgr" >
            </ImageView>
            <ImageView
                android:id="@+id/ImageView02"
                android:layout_width="100dp"
                android:layout_height="100dp"
                android:layout_marginTop="50dp"
                android:src="@drawable/sky_2bgr" >
            </ImageView>
            <ImageView
                android:id="@+id/ImageView03"
                android:layout_width="100dp"
                android:layout_height="100dp"
                android:layout_marginTop="50dp"
                android:src="@drawable/sky_3bgr" >
            </ImageView>
        </LinearLayout>
    </TableRow>
</TableLayout>

<TableRow
    android:id="@+id/tableRow2"
    android:layout_width="fill_parent"
    android:layout_height="230dp"
    android:layout_marginTop="10dp" >


    <RelativeLayout
        android:id="@+id/rel"
        android:layout_width="140dp"
        android:layout_height="230dp"
        android:layout_marginLeft="5dp"
        android:orientation="horizontal"
        align_parentTop="true"  >
        <TextView
            android:id="@+id/activity1_name"
            android:layout_width="75dp"
            android:layout_height="30dp"
            android:text="Friends Activity"
            android:textSize="10dip"
            android:textStyle="bold" />
        <ListView
            android:id="@+id/contentlist"
            android:layout_width="fill_parent"
            android:layout_height="230dp"
            android:layout_below="@+id/activity1_name"
            android:layout_weight="1"
            android:scrollbars="vertical"
            android:textSize="10dip" >
        </ListView>
    </RelativeLayout>

    <RelativeLayout
        android:layout_width="150dp"
        android:layout_height="300dp"
        android:layout_marginLeft="5dp"
        android:orientation="horizontal">
        <TextView
            android:id="@+id/activity2_name"
            android:layout_width="75dip"
            android:layout_height="30dip"
            android:text="News Feed"
            android:textSize="10dip"
            android:textStyle="bold" >
        </TextView>
        <ListView
            android:id="@+id/newslist"
            android:layout_width="fill_parent"
            android:layout_height="280dp"
            android:layout_below="@+id/activity2_name"
            android:layout_weight="1"
            android:scrollbars="vertical"
            android:textSize="10dip">
        </ListView>
    </RelativeLayout>
</TableRow>

  • Image

enter image description here

  • 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-06-09T10:58:09+00:00Added an answer on June 9, 2026 at 10:58 am
    <TableRow
        android:id="@+id/tableRow2"
        android:layout_width="fill_parent"
        android:layout_height="230dp"
        android:layout_marginTop="10dp" >
    
    <ScrollView 
            android:layout_width="fill_parent" 
            android:layout_height="fill_parent" 
            android:overScrollMode="always" 
            android:isScrollContainer="true" 
            android:scrollbarAlwaysDrawVerticalTrack="true" 
            android:scrollbarStyle="outsideInset" 
            android:scrollbars="vertical">
    
        <RelativeLayout
            android:id="@+id/rel"
            android:layout_width="140dp"
            android:layout_height="230dp"
            android:layout_marginLeft="5dp"
            android:orientation="horizontal"
            android:layout_alignParentTop="true"  >
            <TextView
                android:id="@+id/activity1_name"
                android:layout_width="75dp"
                android:layout_height="30dp"
                android:text="Friends Activity"
                android:textSize="10dip"
                android:textStyle="bold" />
            <ListView
                android:id="@+id/contentlist"
                android:layout_width="fill_parent"
                android:layout_height="230dp"
                android:layout_below="@+id/activity1_name"
                android:layout_weight="1"
                android:scrollbars="vertical"
                android:textSize="10dip" >
            </ListView>
        </RelativeLayout>
    </ScrollView>
    
    <ScrollView 
            android:layout_width="fill_parent" 
            android:layout_height="fill_parent" 
            android:overScrollMode="always" 
            android:isScrollContainer="true" 
            android:scrollbarAlwaysDrawVerticalTrack="true" 
            android:scrollbarStyle="outsideInset" 
            android:scrollbars="vertical">
    
        <RelativeLayout
            android:layout_width="150dp"
            android:layout_height="300dp"
            android:layout_marginLeft="5dp"
            android:orientation="horizontal">
            <TextView
                android:id="@+id/activity2_name"
                android:layout_width="75dip"
                android:layout_height="30dip"
                android:text="News Feed"
                android:textSize="10dip"
                android:textStyle="bold" >
            </TextView>
            <ListView
                android:id="@+id/newslist"
                android:layout_width="fill_parent"
                android:layout_height="280dp"
                android:layout_below="@+id/activity2_name"
                android:layout_weight="1"
                android:scrollbars="vertical"
                android:textSize="10dip">
            </ListView>
        </RelativeLayout>
    </ScrollView>
    </TableRow>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am actually having a list of text boxes. I am using below code
Having val a: IndexedSeq[String] = Array(one, two, three) def f(s: String): Int = s
actually i got a problem while creating my project. I am having one list
I'm having a rare CSS issue in Internet Explorer 7 (I'm actually testing it
I'm having a hard time conceptualizing c++ sets, actually sets in general. What are
Actually I am developing one application in that when application run first time it
Actually I am stuck in middle of some mysql code. Can anyone suggest a
I actually have two questions: (1) Is it possible to put another image on
I am having two problems with viewcontrollerss in landscape orientation on the iPad. (1)
I keep on having these same two problems. I have been trying to use

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.