Skip to content

Issue when i change relative layout params #19

@Aniskonig

Description

@Aniskonig

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions