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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:18:11+00:00 2026-06-09T16:18:11+00:00

I am working on a small app, with 3 buttons on left corner(Vertically) and

  • 0

I am working on a small app, with 3 buttons on left corner(Vertically) and a edit box which covers rest of the screen.

I want to run this app to be able to work on all screen resolutions.
So I have used Relative layout, linear layout and Android:weight for buttons, which equally share the size of the buttons and works fine.

My Question is am I doing it wrong?

Should we design different layouts for different screens or using same layout out but adding properties like weight and padding is fine??

  • 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-09T16:18:12+00:00Added an answer on June 9, 2026 at 4:18 pm

    So, you want a responsive layout for your android app.

    Pointing to your question :

    [+1] layout -> Relative / Linear (in addition to the relative layout)

    property (Buttons) -> Android:weight

    is the right thing you are doing for your app.

    Alternative:

    But if you want a more responsive design then you could follow responsive design techniques by using html5 & css3 media queries etc. . And, could opt for a fluid layout also. By doing this the advantages you will have are:

    • Won’t have a native UI only for android but the same could be used for other platforms (iOS,blackberry etc.) if you require.

    • The design would be more seamless with the native browser and the widgets won’t get obsolete ever in the newer versions of your android
      platform also and changes once done would be reflected over the other
      platforms too.

    More info: MUST READ IF YOU WANT CLEAR UNDERSTANDING OF HOW TO DESIGN FOR ANDROID

    http://developer.android.com/design/style/devices-displays.html
    http://developer.android.com/design/style/metrics-grids.html#48dp-rhythm

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

Sidebar

Related Questions

I'm working on a small app that uses the Facebook API. What I want
Alright, I am working on a small app which recursively deletes empty directories. I
I'm working on a small app ... and I want to force pushviewcontroller. What
I'm working on a small Windows Phone 7 Silver Light app. I simply want
I'm working in small app for iPhone which uses openGL. The app is supposed
I've been working on a small project with Facebook like buttons and I've run
I am working on a small app where I need to remove the starting
I am working on a small app and am using jQuery Tools Tooltip (
I am currently working on a small app engine project with python, jquery. I
I have a small app I'm working on where I'm trying to use Django's

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.