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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:32:48+00:00 2026-06-17T14:32:48+00:00

So I used the following code below to have my application to scale screen

  • 0

So I used the following code below to have my application to scale screen size on different android devices but when I am testing on my Nexus 7 its does not scale and its as if it was on a 4 inch screen. When I run it in the emulator on a 7 inch screen it works. Anything wrong with my manifest file?

<supports-screens 
android:resizeable="true"
android:smallScreens="true" 
android:largeScreens="true"
android:xlargeScreens="true"  
android:normalScreens="true" 
android:anyDensity="true"
/>

this code goes right before the “application” part right?

  • 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-17T14:32:49+00:00Added an answer on June 17, 2026 at 2:32 pm

    Ok, so what you have to know is that support-screens doesn’t make your application look ‘nice’ on screens you are supporting (check this link). It just tells that users with such screens will be able to download your application, but it’s up to you to make it display properly. You have to create layouts for specific screens on your own.

    More about it you can read in Android’s documentation: http://developer.android.com/guide/practices/screens_support.html

    Basically, you have to properly name your directories in which layout files are stored in order to let Android know which one should it pick up for specific device. If for example your layout’s file was “layout.xml” you should have:

    /res/layout/layout.xml         // Default layout
    /res/layout-small/layout.xml   // Small screens
    /res/layout-large/layout.xml   // Large screens
    /res/layout-xlarge/layout.xml  // Extra large screens
    

    You can go even further and make also different layouts for portrait and landscape views by specyfing another keyword in directory’s name:

    /res/layout-small-land/layout.xml      // Small screens, landscape view
    /res/layout-small-portrait/layout.xml  // Small screens, portrait view
    

    Remember that tags order is important, so you can’t write layout-portrait-small.

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

Sidebar

Related Questions

I used following code, but it displays only 2 digit of ISO country name.
I have used following code to convert string to json and parse it. String
i have used following code to repeat a process creation/close iteratively dim vProcessInfo as
I have used following code to create a simple PDF file. It executes fine
I am trying to used following code but I am not getting good performance
I used the following code to download/save an image and open it later, but
The following code is used as a visual filter on an application I'm building.
I used the following code to fetch data from XML to Excel. But the
I have the following code to create a ViewStack which is used as a
I have horizontally stacked divs using the following code below: .basic { width:100px; position:relative;

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.