I would like to know how can I customize SwipeToRefresh layout. In specific, I am trying to hide that loader.
I would like to know how can I customize SwipeToRefresh layout. In specific, I am trying to hide that loader.
Please set following code into SwipetoReferesh Layout java file
layout.setProgressViewEndTarget(false,0);
layout.setProgressBackgroundColorSchemeColor(R.color.tra);
layout.setProgressBackgroundColorSchemeResource(R.color.tra);
In color.xml file set tra =#ffffff
Copy & Past SwipetoReferesh Layout java file
layout.setProgressViewEndTarget(false,0);
layout.setProgressBackgroundColorSchemeColor(R.color.transparent);
layout.setProgressBackgroundColorSchemeResource(R.color.trasparent);
Create Custom color.xml file or make color code into string.xml get that color from the appropriate color file.
Reference link:- https://developer.android.com/reference/android/support/v4/widget/SwipeRefreshLayout
NOTE:- set color code in Hexcode format.