Skip to content

Воронина Веда @Vedochka - #9

Open
Veda345 wants to merge 2 commits into
yamblz-native:masterfrom
Veda345:master
Open

Воронина Веда @Vedochka#9
Veda345 wants to merge 2 commits into
yamblz-native:masterfrom
Veda345:master

Conversation

@Veda345

@Veda345 Veda345 commented Jul 18, 2016

Copy link
Copy Markdown

Viable custom layout.
Ideas for improvements:

  1. deal with wrong arguments (2 and more match_parent)
  2. ability of setting layout_gravity
    device-2016-07-18-154025
    Первый и третий элемент - wrap_content, второй - match_parent, четвертый - fixed size.

Veda345 added 2 commits July 18, 2016 14:46
Ideas for improvements:
1) deal with wrong arguments (2 and more match_parent)
2) ability of setting layout_gravity
@bracadabra

Copy link
Copy Markdown
Collaborator

Всё хорошо

eab5afc4bfb52ccd3656aa60daadafe63fc4b65147a15766b4d43ba96c89f20f

// frame within its container.
Gravity.apply(lp.gravity, width, height, mTmpContainerRect, mTmpChildRect);

// Place the child.

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