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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:42:32+00:00 2026-06-09T21:42:32+00:00

I am working on an application which is like a menu and my relative

  • 0

I am working on an application which is like a menu and my relative layout for the menu with options is covered by another relative layout that contains an image. Could you guys tell me where am I going wrong? Realistically, I would want the menu to be at the top with options in the middle and the image to be at the bottom.

Here’s my xml code:

<RelativeLayout
    android:id="@+id/RelativeLayout02"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android >

    <ImageView
        android:id="@+id/imageView3"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_alignParentTop="false"
        android:contentDescription="@string/desc"
        android:scaleType="fitEnd"
        android:src="@drawable/half" />

</RelativeLayout>

<RelativeLayout
    android:id="@+id/RelativeLayout01"
    android:layout_width="match_parent"
    android:layout_height="247dp" >



    <ImageView
        android:id="@+id/imageView1"
        android:layout_width="50dp"
        android:layout_height="50dp"
        android:layout_alignParentLeft="true"
        android:layout_alignParentTop="true"
        android:contentDescription="@string/desc"
        android:src="@drawable/paranoid_android" />

    <TextView
        android:layout_width="200dp"
        android:layout_height="50dp"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_centerInParent="true"
        android:text="@string/menu"
        android:textColor="@color/white"
        android:textSize="@dimen/titlefont" />

    <ImageView
        android:id="@+id/imageView2"
        android:layout_width="50dp"
        android:layout_height="50dp"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true"
        android:contentDescription="@string/desc"
        android:src="@drawable/paranoid_android" />
</RelativeLayout>    

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-06-09T21:42:33+00:00Added an answer on June 9, 2026 at 9:42 pm

    Just put it all in one relative layout – that’s what relative layouts are for. Add the image before or after the rest of the components to have it below or above them. Relative layouts are designed such that moving one view around in them has no effect on the positioning of other views in the layout, so you can layer views on top of each other.

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

Sidebar

Related Questions

In an application I'm working on there is a select menu which has options
Hi I am working on an application which creates dynamic components like buttons etc.
i am working with a complex application and like to know which files it
I'm working on an application which allows employees to Request time off that post
i am working on an application which uses the iPod like application in iPhone..
I'm working on a application which has sidebar on the right side. That displays
I'm working on a browser-like application which gets HTML from a site (any website)
I'm working on an application which big part will be a spreadsheet-like view (with
I am working on an application that has three fragments which are defined in
I'm working on a project in which I'm writing a c# windows application that

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.