How to set layout's attribute programmatically in android? Android How to set layout's attribute programmatically in android? Answer: Use LayoutParams class Learn More : Share this Share on FacebookTweet on TwitterPlus on Google+