SyntaxFix
Write A Post
Hire A Developer
Questions
You can use something like code below, if you need to affect only specific value, and not touch others:
view.getLayoutParams().width = newWidth;