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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:29:57+00:00 2026-06-17T08:29:57+00:00

I have a TableLayout inside a Scrollview, I want to set a FIXED RelativeLayout

  • 0

I have a TableLayout inside a Scrollview, I want to set a FIXED RelativeLayout at the bottom of the ScrollView=>TableLayout. With that XML code, I have always that RelativeLayout above the TableLayout:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:glowpad="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/classement_layout"
    android:background="#000000">


    <ScrollView
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="#FFFFFF"
        android:scrollbarFadeDuration="1000"
        android:id="@+id/scroll_table"
        android:scrollbarSize="12dip" >

        <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
            android:id="@+id/tableLayout1"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:shrinkColumns="*"
            android:stretchColumns="*"
            android:background="#000000" >

        </TableLayout>

    </ScrollView>

    <RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="80dp"
        android:layout_alignBottom="@+id/scroll_table"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true" >

       <ImageView
           android:id="@+id/imageView1"
           android:layout_width="20dp"
           android:layout_height="20dp"
           android:layout_alignParentLeft="true"
           android:layout_alignParentTop="true"
           android:layout_marginLeft="22dp"
           android:src="@drawable/green" />

       <TextView
           android:id="@+id/textView1"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_alignParentTop="true"
           android:layout_toRightOf="@+id/imageView1"
           android:text="Qualification pour la ligue des champions" 
           android:textColor="#ffffff"/>

       <ImageView
           android:id="@+id/imageView2"
           android:layout_width="20dp"
           android:layout_height="20dp"
           android:layout_alignLeft="@+id/imageView1"
           android:layout_centerVertical="true"
           android:src="@drawable/blue" />
    </RelativeLayout>

</RelativeLayout>
  • 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-17T08:29:58+00:00Added an answer on June 17, 2026 at 8:29 am

    Just encase your tablelayout inside of another relativelayout and then place your “footer” relativelayout below the tablelayout and use the layout_below attribute on the footer to keep it under your table layout

    <ScrollView>
    <RelativeLayout
       stuff...>
    
          <TableLayout
             stuff.../>
    
          <RelativeLayout
             android:layout_below="@+id/TableLayout"
             stuff...></RelativeLayout>
    
    </RelativeLayout>
    </ScrollView>
    

    In order to just have the “footer” RelativeLayout at the bottom at all times just place it like this:

    <ScrollView>
    <RelativeLayout
       stuff...>
    
          <TableLayout
             stuff.../>
    
    </RelativeLayout>
    </ScrollView>
    
    <RelativeLayout
        android:layout_below="@+id/ScrollView"
     stuff...></RelativeLayout>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In Android, I have a Parent RelativeLayout . Inside that I have, a ScrollView
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 Layout XML Like this. This is inside LinearLayout. <TableLayout android:layout_width=fill_parent android:layout_height=fill_parent> <TableRow
I have a TableLayout inside a ScrollView, because of some special needs, I need
I have a TableLayout that I am dynamically adding content to in code in
I have following UI hierarchy Scroll View -->TableLayout-->Rows [each row has TextView+EditText] Problem Inside
I have a TableLayout defined in my xml with three columns and four rows
I have a dynamically inflated layout. <TableLayout> <!-- Two more tablelayout here --> <ScrollView>
So I have a table layout that Im adding rows to through code since
I have the following problem spanning dynamically added rows to a TableLayout inside a

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.