RippleEffect icon indicating copy to clipboard operation
RippleEffect copied to clipboard

Application to Navigation View support library

Open anobilisgorse opened this issue 11 years ago • 0 comments

I am currently using the new Navigation View support library that Android released, and with it I want the menu drawers to have a ripple effect.

So I tried enclosing the new Navigation View widget support for Android with your RippleEffect. But if gives me an invalid argument error.

<com.andexert.library.RippleView> xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/more" android:layout_width="wrap_content" android:layout_height="wrap_content" rv_centered="true">

<android.support.design.widget.NavigationView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/navigation_view" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="start" app:paddingStart="@dimen/spacing_none" app:paddingEnd="@dimen/spacing_none" app:itemTextColor="@color/drawer_color" app:menu="@menu/menu_navigation_drawer" app:headerLayout="@layout/header_navigation_drawer" android:focusable="false"/>

</com.andexert.library.RippleView>

Is this currently supported or not? If not, are there any workarounds to apply Ripple Effect to the menu drawers of the Navigation View?

anobilisgorse avatar Jul 20 '15 10:07 anobilisgorse