Something is missing in the snippet below. Type in the input field what should be there instead of the gap to make the correct determinate ProgressBar with R.drawable.custom_progress_drawable as progress drawable.
<ProgressBar
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:indeterminateOnly="false"
android:maxHeight="20dp"
android:minHeight="20dp"
android:progress="25"
_________________________________________________
android:secondaryProgress="50" />