'android: indeterminateDrawable' creating the wrong image size

android:indeterminateDrawable

creates the wrong image size.

<ProgressBar
    android:id="@+id/loading_process_dialog_progressBar"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:indeterminateDrawable="@anim/loading"/

      

This is the layout description: The Nexus 5 will show three round bars, but only two on the Nexus.

The image size in @ anim / load is 48px. What can be done to correct the size?


+3


source to share





All Articles