I have a custom view that extends ViewGroup. It includes a ProgressBar and a WebView. I\'m displaying the ProgressBar whi
ViewGroup
ProgressBar
WebView
Single line solution, try this
progressBar.setPadding(0,24,0,24);//left,top,right,bottom