android view set padding programmatically

Solutions on MaxInterview for android view set padding programmatically by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "android view set padding programmatically"
Eleonora
03 Oct 2017
1myView.setPadding(left, top, right, bottom);
2/* 	The params are int values (pixel). 
3	If you want to use a different measure (i.e. dips), you have to 
4	convert these values first!	*/
similar questions
queries leading to this page
android view set padding programmatically