Here are my answers!
What is the difference between Normal ProgressBar and ContentLoadingProgressbar?
ContentLoadingProgressbar
waits for the minimum time that needs to be removed until the use of hide()
is shown, for example, from 0.5 sec. So even the called show()
call can be fired before it appears on the screen.
What is the practical use of the ContentLoadingProgressBar
This prevents very fast flickering material, which you can see with naive implementations.
Can we show / hide this progress indicator in accordance with our requirement
Yes
How can I customize this progress bar
<android.support.v4.widget.ContentLoadingProgressBar android:id="@+id/address_looking_up" style="?android:attr/progressBarStyleLarge" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:visibility="visible" />
replace style with android:theme
fooobar.com/questions/25865 / ...
source share