By default the ProgressBar has a certain padding above and below the bar itself. Is there a way to remove this padding so as to only have the bar in the end?
I use minHeight and maxHeigh. It helps for different Api versions.
It needs to use both. Api 23 works nice with
android:layout_height="wrap_content" android:minHeight="0dp"
But lower Api versions increase progress bar height to maxHeight in that case.