Issue
I try setWidth() and setheight() method but it not work
Solution
Try using LayoutParams. For example
button.setLayoutParams (new LayoutParams(50, LayoutParams.WRAP_CONTENT)
Answered By - Flavio
I try setWidth() and setheight() method but it not work
Try using LayoutParams. For example
button.setLayoutParams (new LayoutParams(50, LayoutParams.WRAP_CONTENT)
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.