Open kashifandroiddev opened 8 years ago
i cannot get round corner ripple effect
<android.support.v7.widget.CardView android:id="@+id/pic_cV_hdShare" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_margin="6dp" android:layout_weight="1" card_view:cardCornerRadius="10dp"> <com.balysv.materialripple.MaterialRippleLayout android:id="@+id/pic_rpV_hdshare" android:layout_width="match_parent" android:layout_height="wrap_content" app:mrl_rippleAlpha="0.2" app:mrl_rippleColor="@color/colorPrimary" app:mrl_rippleDelayClick="true" app:mrl_rippleDuration="500" app:mrl_rippleRoundedCorners="10dp"> <TextView android:padding="5dp" android:id="@+id/pic_tv_hdshare" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:text="HD SHARE" android:textAppearance="?android:attr/textAppearanceSmall" android:textSize="20sp" /> </com.balysv.materialripple.MaterialRippleLayout> </android.support.v7.widget.CardView>
i cannot get round corner ripple effect
<android.support.v7.widget.CardView android:id="@+id/pic_cV_hdShare" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_margin="6dp" android:layout_weight="1" card_view:cardCornerRadius="10dp"> <com.balysv.materialripple.MaterialRippleLayout android:id="@+id/pic_rpV_hdshare" android:layout_width="match_parent" android:layout_height="wrap_content" app:mrl_rippleAlpha="0.2" app:mrl_rippleColor="@color/colorPrimary" app:mrl_rippleDelayClick="true" app:mrl_rippleDuration="500" app:mrl_rippleRoundedCorners="10dp"> <TextView android:padding="5dp" android:id="@+id/pic_tv_hdshare" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:text="HD SHARE" android:textAppearance="?android:attr/textAppearanceSmall" android:textSize="20sp" /> </com.balysv.materialripple.MaterialRippleLayout> </android.support.v7.widget.CardView>