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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:26:22+00:00 2026-05-28T16:26:22+00:00

I got so confused after reading the documentation. I’ve designed my app to run

  • 0

I got so confused after reading the documentation. I’ve designed my app to run on small, normal and large screens. my question is: how to prevent my app from being stretched when running on tablets? on other words: I want

the system to draw the application’s layout the same as it would on a normal size handset (emulating a 320dp x 480dp screen), with a black border that fills the remaining area of the screen.

as mentioned in the documentation.
thank you.

  • 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-28T16:26:23+00:00Added an answer on May 28, 2026 at 4:26 pm

    You could possibly create a layout for xlarge screens which contains a RelativeLayout with a black background. In this RelativeLayout import your current layout (see the <include> tag), and position it in the location your require, also set the android:layout_width and android:layout_height in your include tag to 320dp and 480dp, this should force it to keep its size.

    I think this should roughly do what you need.

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

Sidebar

Related Questions

I was actually going through the question 1636644 .. and got confused with this
I got confused when reading about blocking send and receives in MPI. As stated
I'm writing my first location based android app, but got confused about some of
After going through a lot of articles on IDisposable , I got confused about
I'm confused by the dev and dist cert. I got one app in the
I've got an issue with my iPad app. After running for approx. 15 minutes,
What does MEDIA_URL does now? I am particularly confused after I got django.core.exceptions.ImproperlyConfigured: The
I've got confused . We hear a lot about Provider in ASP.NET . Membership-Provider
today I got confused when doing a couple of <%=Html.LabelFor(m=>m.MyProperty)%> in ASP.NET MVC 2
I have the following code and got myself confused: I have a query 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.