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

  • Home
  • SEARCH
  • 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 6172667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:25:59+00:00 2026-05-23T23:25:59+00:00

MY XMl code looks like : <?xml version=1.0 encoding=utf-8?> <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content>

  • 0

MY XMl code looks like :

 <?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent" android:layout_height="wrap_content">

  <ScrollView 
xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="430dp"
  android:fadingEdge="none"
  >    
  <LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:background="@drawable/descriptionanth"
  android:orientation="vertical"
  android:id="@+id/searchjobslayout"
  >
      <ImageView android:id="@+id/homeimage_one" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:layout_width="fill_parent" android:background="@drawable/logoblack"></ImageView>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent" android:layout_height="match_parent">




     <TextView 
     android:id="@+id/keywords"
     android:text="Search by keyword:"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:textSize="14sp"
     android:textStyle="bold"
      android:textColor="#000000"
     android:layout_marginLeft="10dp"
     ></TextView>

     <EditText
      android:id="@+id/keywordsedit"
      android:hint="  Enter KeyWords"
      android:layout_width="fill_parent"
      android:layout_height="32dp"
      android:layout_marginLeft="10dp"
      android:layout_marginRight="10dp"
      android:textSize="14sp"
      android:background="@drawable/text_field"
      android:layout_marginTop="5dp"
      android:textColorHint="#FFFFFF"
      android:paddingLeft="10dp"
      android:textColor="#000000"
     ></EditText>

      <Button
     android:id="@+id/search"
     android:text="Search"
     android:layout_width="fill_parent"
     android:layout_height="35dp"
     android:textColor="#FFFFFF"
     android:background="@drawable/buttonclick"
     android:layout_marginLeft="10dp"
     android:layout_marginRight="10dp"
     android:layout_marginTop="5dp"

     android:textSize="20sp"
     ></Button>

     <TextView 
     android:id="@+id/browseby"
     android:text="Browse by:"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:textSize="14sp"
     android:textStyle="bold"
      android:textColor="#000000"
     android:layout_marginLeft="10dp"
     android:paddingTop="10dp"></TextView>




    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"

    >


    <Button 
     android:id="@+id/jobsbycity"
     android:text="City"
     android:layout_width="fill_parent"
     android:layout_height="30dp"

     android:textColor="#FFFFFF"
     android:background="@drawable/buttonclick"

     android:layout_marginLeft="10dp"
     android:layout_marginRight="10dp"
     android:layout_marginTop="5dp"
     android:textStyle="bold"
     android:textSize="15sp"
     ></Button>


    <Button 
     android:id="@+id/jobsbytype"
     android:text="Category"
     android:layout_width="fill_parent"
     android:layout_height="30dp"
     android:textColor="#FFFFFF"

     android:background="@drawable/buttonclick"
     android:layout_below="@id/jobsbycity"
     android:layout_marginLeft="10dp"
     android:layout_marginRight="10dp"
     android:textStyle="bold"
     android:layout_marginTop="5dp"

     android:textSize="15sp"
     ></Button>

      <TextView 
     android:id="@+id/signin"
     android:text="Signed in as"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:textSize="12sp"

     android:textColor="#000000"
     android:layout_centerInParent="true"
     android:gravity="center_horizontal"
     android:layout_below="@id/jobsbytype"
     android:paddingTop="10dp"></TextView>

     <TextView 
     android:id="@+id/signinas"
     android:text="mail_id"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:textSize="12sp"
     android:layout_centerInParent="true"
     android:textColor="#000000"

     android:gravity="center_horizontal"
     android:layout_below="@id/signin"
     android:paddingTop="5dp"></TextView>

     <TextView 
     android:id="@+id/logout"
     android:text="Sign out"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:textSize="13sp"

     android:gravity="center_vertical"
     android:textColor="#000000"
      android:layout_below="@id/signinas"
     android:layout_centerInParent="true"
     android:layout_marginTop="20dp"
     android:textStyle="bold" ></TextView>
    </RelativeLayout>





    </LinearLayout>

     <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

     <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />
    <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

     <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

     <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

     <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

     <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

     <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

     <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

     <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />

     <TextView  
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content"   
    />
    </LinearLayout>
    </ScrollView>

  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:background="@drawable/tabbarbottom"
    android:layout_gravity="bottom"


    >

  <Button
     android:id="@+id/jobs"
     android:text="About Us"
     android:layout_width="100dp"
     android:layout_height="fill_parent"
     android:textColor="@drawable/white"
     android:background="@android:color/transparent"

     android:layout_alignParentBottom="true"
     android:textStyle="bold"
     android:textSize="12.5sp"
     ></Button>

     <Button
     android:id="@+id/aboutus"
     android:text="Value"
     android:layout_width="100dp"
     android:layout_height="fill_parent"
      android:textColor="@drawable/white"
     android:layout_toRightOf="@id/jobs"
     android:background="@android:color/transparent"
     android:layout_centerHorizontal="true"
      android:layout_centerVertical="true"
      android:layout_alignParentBottom="true"
      android:layout_marginLeft="10dp"
      android:textStyle="bold"
       android:textSize="12.5sp"
     ></Button>

     <Button
     android:id="@+id/benefits"
     android:text="History"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:textColor="@drawable/white"
     android:layout_toRightOf="@id/aboutus"
     android:background="@android:color/transparent"
     android:layout_centerVertical="true"
     android:layout_alignParentBottom="true"
     android:textStyle="bold"
     android:textSize="12.5sp"
     ></Button>

    </RelativeLayout>




</LinearLayout>

I want to place the relative layout (last relative layout which having 3 buttons it, after scrollview ) at the bottom my screen. but its not happening

what to do??

Edited: The happening is i statically placed the relative layout by specifying padding, when running in portrait mode i made it fix at bottom but when i changed to landscape its not at bottom. How to place relativelayout in bottom in either cases??

Thanks

  • 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-23T23:26:01+00:00Added an answer on May 23, 2026 at 11:26 pm

    Here the solution I tested and which works :

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="vertical" android:layout_width="fill_parent"
        android:layout_height="fill_parent">
    
        <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="fill_parent" android:layout_height="100dp"
            android:layout_weight="1.0" android:fadingEdge="none">
        ...
        </ScrollView>
    
        <RelativeLayout android:orientation="horizontal" 
            android:layout_width="fill_parent" android:layout_height="60dip" 
            android:background="@drawable/tabbarbottom">
    
            <Button android:id="@+id/jobs" android:text="About Us"
                android:layout_width="100dp" android:layout_height="fill_parent"
                ...></Button>
    
            <Button android:id="@+id/aboutus" android:text="Value"
                android:layout_width="100dp" android:layout_height="fill_parent"
                ...></Button>
    
            <Button android:id="@+id/benefits" android:text="History"
                android:layout_width="fill_parent" android:layout_height="fill_parent" ...></Button>
    
        </RelativeLayout>
    </LinearLayout>
    
    • The first LinearLayout should have layout_height="fill_parent".
      This way it takes up the whole screen.
    • The ScrollView should have a
      small fixed height, and an extra android:layout_weight="1.0" : it
      will take up whatever space is remaining.
    • The RelativeLayout should
      have a fixed height (it will always take up the same space at the
      bottom of the screen), and the Buttons inside of it should have
      layout_height="fill_parent" (to have the same height as the
      RelativeLayout).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's my layout code; <?xml version=1.0 encoding=utf-8?> <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent> <TextView android:text=@string/welcome
<?xml version=1.0 encoding=utf-8?> <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent > <TextView android:text=Title android:id=@+id/TextView01 android:layout_width=wrap_content android:layout_height=wrap_content
I've got an XML response that looks like: <?xml version=1.0 encoding=utf-8?> <response> <scheme> <name>name_1</name>
I have some XML code that looks like this <SEARCHRESULTS> <FUNCTION name=BarGraph> <PARAMETER name=numList></PARAMETER>
I have this code (part of bigger script): flashvars.xmlSource = datasource.xml; datasource.xml looks like:
hi i have xml file whitch i want to parse, it looks something like
Here's the XML code I'm working with: <inventory> <drink> <lemonade supplier=mother id=1> <price>$2.50</price> <amount>20</amount>
I've seen a fair share of ungainly XML->JSON code on the web, and having
Here is my sample code: from xml.dom.minidom import * def make_xml(): doc = Document()
I have the following Python code: import xml.dom.minidom import xml.parsers.expat try: domTree = ml.dom.minidom.parse(myXMLFileName)

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.