N
N
Neonoviiwolf2017-01-04 06:51:19
Android
Neonoviiwolf, 2017-01-04 06:51:19

How to solve the problem of small resolutions in smartphones?

There was a question, I need to make an element for the cardView
in the application, which consists of several buttons and several lines, and it is very necessary that this element fit into one line, the exception is the current text, it is allowed to transfer it, I use dp, of course, but I launched it on the emulator application with a resolution of 480 * 800 well, all the buttons do not fit.
Example: it fits horizontally, but vertically there is no room for the last button
50cc3ab5ae904fb396bef8e0373cbe11.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2017-01-04
@Neonoviiwolf

A very incomprehensible explanation, and the code is not visible, so I don’t know how to solve the problem, I only see a screenshot, I see “icons” on it, maybe this is a problem in them, then you need to either make a version for them ldpi, or do the gray squares themselves to scale the squares to fit the container and their icons to fit the size of the squares.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question