I want to re-adjust the elevation of the Swipe Refresh Layout
.
In App Bar Layout
we can get the effect by calling abl.setElevation(elevation);
.
Is it possible for the Swipe Refresh Layout
?
I want to re-adjust the elevation of the Swipe Refresh Layout
.
In App Bar Layout
we can get the effect by calling abl.setElevation(elevation);
.
Is it possible for the Swipe Refresh Layout
?
According to the SwipeRefreshLayout Documentation page, it is possible.
It inherits the following method from android.view.View
class:
void setElevation(float arg0)
So, I think it is possible for any view or layout which inherits android.view.View
class.