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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:58:43+00:00 2026-06-05T18:58:43+00:00

I have a little Problem with the app that I’m developing. In the App

  • 0

I have a little Problem with the app that I’m developing.

In the App I have a MapView with an overlay (a simple arrow which is drawn programatically) which is centerd on the screen.

Also I have a Layout which consists of two buttons and two textviews, basically forming a bar.

Now I want to clip the bar to the overlay so it stays centered with a little y-axis offset so it’s basically over the bar with the same offset, regardless of screensize or resolution.

As requestet here is a layout sketch:

enter image description here

I appreciate any help or hint.

Thank you in advance!

  • 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-05T18:58:44+00:00Added an answer on June 5, 2026 at 6:58 pm

    Put both the MapView and your bar layout inside a RelativeLayout. List the bar after the map to cause it to be rendered “on top.” To form the offset above center, add a Space view somewhat larger than the overlay arrow centered on both dimensions. Align the bar vertically above the Space and centered horizontally. (In fact you could do the centered arrow as an ImageView or shape drawable view also in XML and use it rather than the space.)

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

Sidebar

Related Questions

I have a simple little email app that allows a user to pick certain
I have a little problem with memory management in my iOS App. I load
I have a little problem with Xcode. I import a header which contains this
I have a little app that runs fine on local dev appengine, but appengine
I've got yet another deployment problem. What I have: little Windows Forms application that
I have a quick little app that steps through the possible symmetric encryption methods.
So I have a little Linux problem, geez that will teach me to spend
I have a little problem with my app when updating to iOS5. In my
I have coded a little app that does something like the following: sprintf(command, ......sending
So this is a really strange problem. I have a Java app that acts

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.