TapBarMenu icon indicating copy to clipboard operation
TapBarMenu copied to clipboard

Issue when i change relative layout params

Open Aniskonig opened this issue 6 years ago • 0 comments

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

Aniskonig avatar Feb 24 '19 19:02 Aniskonig