Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when i change relative layout params #19

Open
Aniskonig opened this issue Feb 24, 2019 · 0 comments
Open

Issue when i change relative layout params #19

Aniskonig opened this issue Feb 24, 2019 · 0 comments

Comments

@Aniskonig
Copy link

why it does not work correctly with Relative Layout Param, i tried to change her position after the click and make it in the button but it does not work my code :

     val  barMenu: RelativeLayout.LayoutParams = RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT,RelativeLayout.LayoutParams.WRAP_CONTENT)
   barMenu.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM)

then in the button click

tapBarMenu.layoutParams = barMenu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant