android view set padding programmatically

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

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