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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:08:58+00:00 2026-06-08T18:08:58+00:00

I currently have 2 layout folders: layout-sw480dp and layout-sw720dp, both containing main.xml I see

  • 0

I currently have 2 layout folders: layout-sw480dp and layout-sw720dp, both containing main.xml

I see that dev guide states the following:

 - 320dp: a typical phone screen (240x320 ldpi, 320x480 mdpi, 480x800
   hdpi, etc).
 - 480dp: a tweener tablet like the Streak (480x800 mdpi).
 - 600dp: a 7” tablet (600x1024 mdpi).
 - 720dp: a 10” tablet (720x1280 mdpi, 800x1280 mdpi, etc).

I’m developing using my Nexus 7 (emulator is a bit sucky/slow), when I upload my app to my tablet, I can tell it uses layout-sw480dp, but why? Ok it’s not a 10″ tablet but the Nexus 7 does have 800×1280 res, which I guess is irrelevant? I’m just a little confused as to which swdp to have.

According to GSMArena: http://www.gsmarena.com/asus_google_nexus_7-4850.php

 - 800 x 1280 pixels, 7.0 inches (~216 ppi pixel density)
  • 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-08T18:08:59+00:00Added an answer on June 8, 2026 at 6:08 pm

    Its sw600dp which is smallest width 600 dp units not pixels so your code is behaving correctly. The screen is 600 x 961 dp units.

    Refer to this post for a detailed explanation –
    https://plus.google.com/105051985738280261832/posts/6eWwQvFGLV8

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

Sidebar

Related Questions

I currently have an activity that does not have an xml layout file. All
Currently I have the following resource folders: 1. layout-sw600dp 2. layout-sw600dp-notlong The idea is
Currently I have a borderContainer layout as shown below: My code for this layout
I'm currently working out the layout of a WPF Application and seem to have
I have this layout that works correctly, a relative layout with a text view
Currently have a drop down menu that is activated on a hover (from display:none
Currently have password protection on my main and sub directories, however I'd like to
I currently have a XSLT 2.0 Stylesheet that I am trying to remove empty
I currently have one project that currently contains multiple packages. These packages make up
I currently have a large (30K commits) SVN repository that I am in the

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.