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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:21:52+00:00 2026-05-28T01:21:52+00:00

I have tableLayout filled with a lot of rows (in xml). I wrapped it

  • 0

I have tableLayout filled with a lot of rows (in xml). I wrapped it in a scrollView and it scrolls great. However I’m trying to get the fastScrolling feature to work (the slider bar on the right) and saying android:fastScrollEnabled="true" for both the tableLayout and the scrollView does nothing. Does anyone know how to fix this?

Here is a simplified version of the layout code

<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/frameLayout"
android:layout_width="match_parent" android:layout_height="wrap_content"> 
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent" android:id="@+id/tableLayoutParent">
    <TableLayout android:id="@+id/tableLayout" android:fastScrollEnabled="true" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <TableRow android:layout_width="match_parent" android:layout_height="wrap_content">
            <Button
                    android:text="◦"
                    android:id="@+id/spaceColumn"
                    android:background="@drawable/top_button"
                    android:clickable="true"
                    android:onClick="showSlider"
                    android:gravity="center"
                    android:padding="2dip"
                    android:textSize="15px"
                    android:layout_height="wrap_content"
                    android:layout_width="15dip"/>
            <ToggleButton
                    android:textOn="Title ▼"
                    android:textOff="Title"
                    android:id="@+id/titleColumn"
                    android:background="@drawable/top_button"
                    android:clickable="true"
                    android:onClick="sortSong"
                    android:gravity="center"
                    android:padding="2dip"
                    android:textSize="15px"
                    android:layout_weight="1"
                    android:layout_height="wrap_content"
                    android:layout_width="0dip"/>
            <ToggleButton
                    android:textOn="Artist ▼"
                    android:textOff="Artist"
                    android:id="@+id/artistColumn"
                    android:background="@drawable/top_button"
                    android:clickable="true"
                    android:onClick="sortArtist"
                    android:gravity="center"
                    android:padding="2dip"
                    android:textSize="15px"
                    android:layout_weight="1"
                    android:layout_height="wrap_content"
                    android:layout_width="0dip"/>
            <ToggleButton
                    android:textOn="Time ▼"
                    android:textOff="Time"
                    android:id="@+id/timeColumn"
                    android:background="@drawable/top_button"
                    android:clickable="true"
                    android:onClick="sortTime"
                    android:gravity="center"
                    android:padding="2dip"
                    android:textSize="15px"
                    android:layout_height="wrap_content"
                    android:layout_width="45dip"/>
            <ToggleButton
                    android:textOn="Album ▼"
                    android:textOff="Album"
                    android:id="@+id/albumColumn"
                    android:background="@drawable/top_button"
                    android:clickable="true"
                    android:onClick="sortAlbum"
                    android:gravity="center"
                    android:padding="2dip"
                    android:textSize="15px"
                    android:layout_weight="1"
                    android:layout_height="wrap_content"
                    android:layout_width="0dip"/>
        </TableRow>
     </TableLayout>
  </ScrollView>
</FrameLayout>

song data is then read from a SQLite database and filled into the table layout

  • 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-28T01:21:53+00:00Added an answer on May 28, 2026 at 1:21 am

    ScrollView doesn’t support fast scroll out of the box as far as I know, what you are looking for is ListView.

    Edit: Unless you implement it yourself ofcourse.

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

Sidebar

Related Questions

I have a TableLayout defined in my xml with three columns and four rows
I have this TableLayout: <?xml version=1.0 encoding=utf-8?> <ScrollView xmlns:android=http://schemas.android.com/apk/res/android android:id=@+id/layout android:layout_height=fill_parent android:layout_alignParentBottom=true android:scrollbars=horizontal|vertical android:layout_width=fill_parent
I have following UI hierarchy Scroll View -->TableLayout-->Rows [each row has TextView+EditText] Problem Inside
I have a TAbleLayout in my XML with 1 row i.e. te headings row.
I have a TabLayout. In that I have a tablelayout with dynamically added rows.
In my XML, I have a TableLayout with only 1 TableRow i.e. the heading.
I have a TableLayout within ScrollView with a background image. The problem I face
I have a TableLayout with 3 rows at present and each row has one
I have a layout that contains a TableLayout with three rows. Each row has
I have an xml file right now which has a TableLayout within a LinearLayout.

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.