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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:41:00+00:00 2026-05-31T17:41:00+00:00

Hello android designers, 1-I have been wondering. Is it a good design approach to

  • 0

Hello android designers,
1-I have been wondering. Is it a good design approach to always use RelativeLayout and layout weights so that it work on multiple screen sizes without the need of having different layout folders?

2-Another question, I have a textview with size 12sp (scaled pixel) that looks good on medium screens but when I run it on large screen it looks really small. Shouldn’t it be scaling accordingly? According to android best practices,using sp is good for scaling. I see it really problematic, to try to guess the correct number for each screen size as 12sp already took mnultiple guesses till I found that this would suit my application relative to other components

Please share your experience/advice. I am always confused about it
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-31T17:41:01+00:00Added an answer on May 31, 2026 at 5:41 pm

    One think to keep in mind about Dip (density independent pixels) and sp (scaling pixels (?)) is that they are tuned for medium density screens. With the introduction of high-density devices, these standards are going to have to be revised by Google.

    With that said:

    1. I have better luck using RelativeLayouts and weights than I do with using explicit DIP. I usually use LinearLayout instead of RelativeLayout– but as long as elements are positioned relative to eachother instead of absolutely it doesn’t quite matter if it’s a RelativeLayout or a LinearLayout or something else entirely.

    2. That is what happens- keep in mind 12sp is “small”, and it will be “small” text on large screens. Instead of scaling the font, scale the TextView– for example, center your text in your TextView and have your TextView take up half the screen (using Weight, no matter the screen size).

    Remember that things will look different on different screen sizes– the trick is to make sure it looks good on each size, as opposed to identical.

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

Sidebar

Related Questions

Hello i'm a new coder to android. I have a program that Plays Pauses
I have the following layout: <Button android:id=@+id/MyButton android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/Hello android:clickable=true android:onClick=Foo /> And
I have a problem with that code setContentView(R.layout.game); TextView text = (TextView) findViewById(R.id.qwe_string); text.setText(Hello
Hello Android Experts, I have the following layout: <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=fill_parent android:layout_height=wrap_content android:gravity=center_horizontal> <ImageButton
When I tried to do a simple modification of the hello android program that
I have developed the Hello World Android application using Eclipse. I can run the
Hello I have developed my first application for Android using the Ice Cream Sandwich
Hello Android programmers, I was trying to make a screen that has an EditText
Hello android/Java developers, When a function call a function and that function call another
I have just put the first step in android,and just started with hello android

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.