Skip to content

Done - #3

Open
artemohanjanyan wants to merge 4 commits into
yamblz-native:masterfrom
artemohanjanyan:master
Open

Done#3
artemohanjanyan wants to merge 4 commits into
yamblz-native:masterfrom
artemohanjanyan:master

Conversation

@artemohanjanyan

Copy link
Copy Markdown
Contributor

@artemohanjanyan at Slack
Артем Оганджанян
На скриншоте показан пример с четырьмя TextView, у которых layout_width равняются 120dp, wrap_content, match_parent и 120dp соответственно.

screenshot

protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
final int height = bottom - top;
int childCount = getChildCount();
int childLeft = 0;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

не учитываются отступы

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants