Help solve the problem: I make an application, I test it on my phone. on the screen there is a ScrollView inside which there are 3 TextView, below are a few buttons. When you click on one of the buttons, text is added to one of the TextView, as a result of which the TextView is enlarged, and as soon as the text starts to pop out of the screen, that is, you can scroll, you can also see a jamb, when you press a button, the text located in the center is shifted to the upper edge of the button, as if changing the gravity from CENTER to TOP. Before this, the text on all buttons is strictly centered, as soon as the text overflowed the screen, pressing the button with the text in the center changes its position until all buttons have the text at the top, it “returns” back only after the application is restarted, that this can be ? What creates such an effect and why only at the moment of pressing for one button, and not at once for all buttons, well, and how to treat? I apologize if it is not clear outlined. Thanks in advance to all who responded)) PS Yandex googled))
Closed due to the fact that off-topic participants rjhdby , Denis Bubnov , user194374, Nick Volynkin ♦ 25 Feb '17 at 6:33 .
It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:
- “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - rjhdby, Denis Bubnov, Community Spirit, Nick Volynkin
- oneThe IDE used is irrelevant to the problem in question. - pavlofff
|