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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:07:22+00:00 2026-06-12T05:07:22+00:00

I currently have an android application created using android 4.0. I originally developed it

  • 0

I currently have an android application created using android 4.0. I originally developed it for a phone screen size but decided I wanted to try it out on my real life tablet. The problem is (which most of you probably already know) is that all the textviews and buttons remain small because it’s ment for a phone. I was talking to a professor of mine and she had mentioned a one line piece of code that goes into the xml manifest which will automatically scale up everything for me. Searching around the only thing I found that seemed the simplest to implement was this:

<supports-screens android:largeScreens="true" />

When I added in this code it didn’t see to make a difference. I even tried the xlragescreens just in case.

Am I doing something wrong or is there really an easy way to make my apps scale up easily or do i have to make a tablet version?

Also a few quick points that may help:
The tablet is: nexus 7 (running 4.1)
I do have the targetSdkVersion set at 15 (looking on the net I saw that you need to set it above 11 for scaling).

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-12T05:07:24+00:00Added an answer on June 12, 2026 at 5:07 am

    Create a /res/layout-large folder and name the XML file the same as the one you are already using in /res/layout. This layout will then be used when loaded on large screens like tablets. Also, it is best practice to use match_parent and wrap_content to size your UI elements and not define them using px or dp.

    For more info on creating a UI for all displays go here:

    http://developer.android.com/guide/practices/tablets-and-handsets.html

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

Sidebar

Related Questions

I am currently developing an android application using eclipse and I already have a
Currently i am working in Android chat screen application, Using TabHost to set five
I am currently porting an application from iOS into Android and I have ran
I currently using android NDK to write some native code in C. I have
I am having trouble with developing my Android application, I am currently using Eclipse
I have created a webview application to run a web application on an android
I have recently created an Android application that allows users to add shopping items
I have starting learning Java and android application development side-by-side. Currently, I a String-array
I have a Android App I have developed, It has been created from a
I have created an application for Android that has an activity that has a

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.