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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:06:32+00:00 2026-05-28T20:06:32+00:00

I need to design almost similar structure as defined in Adding component at the

  • 0

I need to design almost similar structure as defined in Adding component at the bottom

I followed the answer given in that thread. But my problem is, if I use tag to import another xml which has some components in LinearLayout and if I try to add that xml in my xml having RelativeLayout, the component which was imported using tag won’t go to the bottom of the screen. But strangely, if I replace that imported component with some component like a button in that same xml, the button goes to the bottom. Please help me.

Here’s the code-

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >

    <!-- Title Bar -->

    <include
        android:layout_alignParentTop="true"
        android:id="@+id/title_bar"
        layout="@layout/title_bar" 
        android:layout_marginBottom="1dip"/>


    <!-- Options Bar -->

    <include
    android:layout_alignParentBottom="true"
        android:id="@+id/options_bar"
        layout="@layout/options_bar"
        />

 <!--
    <Button android:layout_alignParentBottom="true"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Test"/> 
 -->
</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-05-28T20:06:33+00:00Added an answer on May 28, 2026 at 8:06 pm

    Every thing look fine. Please 1st check you option_bar.xml. I am thinking the issue is its height. May be you have set the option_bar.xml

    android:layout_height = “fill_parent”

    If so then please change it to “wrap_content” or “match_parent”.

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

Sidebar

Related Questions

I need to design a data structure that supports the following operations: search element
I need to design a system that will control access to certain information. The
I need to design a page for a web application that makes sense for
I need to design a function to return negative numbers unchanged but should add
I often need to design a dialog in Delphi/C++Builder that allows various properties of
I had problems covering videos on Youtube itself but solved that with a design
Why do we need design patterns like Factory, Abstract Factory and Singleton?
I need to design a small project for generating excel reports in .NET, which
I need to design a notifications framework written solely in .Net. I was wondering
I need to design a simple piece of software, and i was wondering the

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.