Creating Responsiveness with Types of Densities

Asked

Viewed 26 times

0

I have some huge curiosities in the following question:

  • For each type of Density we created types of folders, as an example:

drawable-xxhdpi - [Imagery]

layout-xxhdpi - [XML]

values-xxhdpi - [Colors, Styles, Strings, Dimens]

  • QUESTIONS:

1) We have the dimension to be able to put the size of the texts among others to use on the screens, but is this really useful? Because I could put inside the XML of each type of screen, this size could not will be reusable on another screen so I won’t be repeating code. Colors, String and Style I understand, but dimens not.

2) In addition to the Density types (420DPI,560DPI,HDPI,XHPDI..), in each kind of desnity times one or more Izes, for example: HDPI has 2 types of Izes: Normal and Small, but there are also 2 types of resolutions:480x 800 and 480x854. How it creates responsiveness to this question?

  • If there is something that the answers to the question indicated in the closing do not clarify, edit your question with this specific question.

  • @ramaral, it does not clarify my question. 1) 3), 4) and 5). It positions itself in a generic way. What should I do to my ask air without being duplicated and be answered?

  • Your question is also generic, so it can only be answered in a generic way.

  • I think the question is a little wide too(my vote was that actually).

  • @ramaral, I will edit my question and you check.

  • @diegofm, I edited my question.

  • @ramaral, I edited my question.

  • Despite the editing the question remains duplicate. To answer these two situations would have to repeat the things said there. You have to realize the concepts described there and understand the various approaches to follow. Sometimes it is necessary to apply more than one to get the desired result.

  • @ramaral, for example, as I said above in question 2). I would have to create two different folders for HDPI? If yes with which names I put it?

  • Eventually not. The size difference is so small that I don’t see the need. This is answered in the topic "Responsive layouts (adaptable)" of the answer to the question indicated at the closing.

Show 5 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.