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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:02:11+00:00 2026-06-01T22:02:11+00:00

It might be me, but when I calculate minimum app widget sizes according to

  • 0

It might be me, but when I calculate minimum app widget sizes according to the formula given on the android page I don’t get the right widget widths; The formula is as follows:

width(n) = (70 x n) – 30

When I want to have a 5×1 widget, the correct width would be (5 * 70) – 30 = 320dp. However when testing this on a motorola Xoom it resolves to being a 4×1 widget. I’ve tested different values and 400dp seems good for 5×1 on the motorola xoom with Honeycomb, but then I’d test it on a regular Galaxy Tab with Gingerbread and then it resolves to a 6×1 (like one would expect).

So two questions here;

  • What difference between Gingerbread and Honeycomb am I overlooking?
  • Since I know ICS widget size no longer has padding between widgets, is there some rule of thumb here as well?
  • 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-01T22:02:13+00:00Added an answer on June 1, 2026 at 10:02 pm

    Not too many devices fully follow Google’s advised formula. You’re better off using several xml-xxx folders that can specify more accurate minWidth & minHeight that correspond to the varying screens & OSes.

    Right now I four solely based on OS:

    xml       // standard
    xml-v11   // Honeycomb grid
    xml-v14    // ICS's new extra padding
    xml-sw552dp-v14  // ICS tablet padding
    

    But as I fine tune, I may have to add a few new folders for particular dpis or screens.

    Quick update:

    Only some devices use automatic padding. Samsung & HTC have custom UIs that use full-width widgets, so they override the OS padding on their launchers.

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

Sidebar

Related Questions

This might sound daft but how do you get silverlight to run as a
It started as a curiosity but it might get the risk to get philosophical.
I am trying to load an image in memory but might have memory issues
This might seem obvious but I've had this error when trying to use LINQ
This might be simple but I am new to Oracle. I am using Oracle
The question might look subjective but considering Microsoft: Owns the Xbox 360 platform Owns
I think I might be overtired but I cannot for the life of me
FYI I'm programming in objective-C but anyone might be able to help. I've been
Both ideas sound very similar to me, but there might be subtle differences or
I'm not very expert on how processors work, but one might imagine that it

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.