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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:02:28+00:00 2026-05-24T21:02:28+00:00

I am stuck in a situation. I created an application for Samsung Galaxy Tab

  • 0

I am stuck in a situation.
I created an application for Samsung Galaxy Tab 7″. The same application when i run on the HTC Flyer it shows very small fonts.

I tried following :
I thought may be the screen of HTC Flyer is xhdmi so i crated folders accordingly

res -> values-large-xhdmi -> styles.xml -> <item textsize>20</item>
res -> values-large-> styles.xml -> <item textsize>16</item>

this is not working.. 🙁
any help will be highly appreciable in this regard.

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-05-24T21:02:29+00:00Added an answer on May 24, 2026 at 9:02 pm

    Check out this recent blog post on sizes: http://android-developers.blogspot.com/2011/07/new-tools-for-managing-screen-sizes.html

    A typical 7” tablet has a 1024×600 mdpi screen. This also counts as a
    large screen.

    The original Samsung Galaxy Tab is an interesting case. Physically it
    is a 1024×600 7” screen and thus classified as “large”. However the
    device configures its screen as hdpi, which means after applying the
    appropriate ⅔ scaling factor the actual space on the screen is 682dp x
    400dp. This actually moves it out of the “large” bucket and into a
    “normal” screen size. The Tab actually reports that it is “large”;
    this was a mistake in the framework’s computation of the size for that
    device that we made. Today no devices should ship like this.

    So you need to think of the Galaxy as a large sized screen but with hdpi.
    THe HTC Flyer will be large sized screen but with mdpi.

    When specifying sizes you need to stick with dp, as this normalizes all sizes to scale appropriately for the different density screens. Use a dimension to specify in a xml value resource.

    As milind hinted (i think), it is probably better to use the same style for these two screen sizes and specify a dimen resource. This resource can then be customized for the different displays.

    The bottom line, however, is that you are using text size differences based on the screen size. The text size should be indicated in dp, so it will scale accordingly to any screen density. Really, the only resources that should be based on screen size are layouts.

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

Sidebar

Related Questions

I am stuck in a very weird situation. There is a two method defined
I'm stuck for about 2 days in the same situation and i'd really appreciate
I am stuck onto a very strange situation. I have a workflow that i
I'm using ASP.NET MVC 2 and stuck with the situation when needed to store
I am new to iPhone programming, and stuck in a situation. The situation is
I'm working on a crawler project. I'm stuck in a situation wherein the href
I'm using jquery plugin tablesorter and I'm stuck with the following situation: my grid
I got stuck while adding records to contacts of iphone. Situation is this I
While RIA services seems very good for table operations & queries, I am stuck
I have a strange situation in my .NET CF 3.5 Windows Mobile 6.5 application.

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.