A
A
Artemy2018-11-25 11:07:45
Android
Artemy, 2018-11-25 11:07:45

[API 24] What is the equivalent of layout_weight for the textSize attribute of a TextView?

It is necessary to insert a fragment as shown in the screenshot.
The dimensions of the elements can be automatically scaled through layout_weight, but what to do with textSize and padding, so as not to adjust the handles for each dpi?
5bfa55820b1fd687064838.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question