wasabeef / Blurry

Blurry is an easy blur library for Android
Apache License 2.0
5.57k stars 602 forks source link

Can I use This library for Blurry LinearLayout ? #92

Open Sanaebadi97 opened 5 years ago

Sanaebadi97 commented 5 years ago

I have not ImageView instead of this, I have LinearLayout . and this has the background. how can set blurry on the image of this?

<RelativeLayout
    android:id="@+id/include_sliding_panel_childtwo"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

//this is my linearLayout
        <LinearLayout
            android:id="@+id/play_list_bg"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_above="@+id/bottom_palyLayout2"
            android:layout_alignParentStart="true"
            android:layout_alignParentTop="true"
            android:background="@drawable/bg_player"
            android:clickable="true"
            android:focusable="true"
            android:orientation="vertical">

//this is my linearLayout

            <RelativeLayout
                android:id="@+id/rl_small"
                android:layout_width="match_parent"
                android:layout_height="?attr/actionBarSize">

                <include
                    android:id="@+id/slidepanelchildtwo_topviewone"
                    layout="@layout/include_slidepanelchildtwo_topviewone"
                    android:layout_width="match_parent"
                    android:layout_height="?attr/actionBarSize"
                    android:visibility="invisible"/>