android-cjj / Android-MaterialRefreshLayout

This is a drop-down control, it is more beautiful and powerful than SwipeRefreshLayout
2.11k stars 483 forks source link

Overlay transparent background #77

Open Leonid-Kiev opened 7 years ago

Leonid-Kiev commented 7 years ago

Trying to implement layout as shown on the example (1)if you like SwipeRefreshLayout drop-down refresh effect

687474703a2f2f7777772e61706b6275732e636f6d2f646174612f6174746163686d656e742f666f72756d2f3230313530392f31302f3137313333387938756673786a7273376b32727875332e6a7067

However overlay is not transparent, but white! How to change overlay color? Here is the snippet of code:

<com.cjj.MaterialRefreshLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/refresh"
    app:overlay="true"
    app:wave_show="false"
    >
...
</com.cjj.MaterialRefreshLayout>