SyntaxFix
Write A Post
Hire A Developer
Questions
Or simply:
view.getLayoutParams().width = 400; view.requestLayout();