Answers for "android view set padding programmatically"

0

android view set padding programmatically

myView.setPadding(left, top, right, bottom);
/* 	The params are int values (pixel). 
	If you want to use a different measure (i.e. dips), you have to 
	convert these values first!	*/
Posted by: Guest on February-25-2021

Code answers related to "android view set padding programmatically"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language