Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加水波纹点击效果,点击时出现明显卡顿 #36

Open
ErQi opened this issue Aug 26, 2020 · 0 comments
Open

添加水波纹点击效果,点击时出现明显卡顿 #36

ErQi opened this issue Aug 26, 2020 · 0 comments

Comments

@ErQi
Copy link

ErQi commented Aug 26, 2020

在布局中使用水波纹点击效果时,点击出现明显卡顿

<com.loopeer.shadow.ShadowView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginStart="11dp"
    android:layout_marginTop="4dp"
    android:layout_marginEnd="11dp"
    android:layout_marginBottom="8dp"
    android:foreground="?attr/selectableItemBackground"
    app:cornerRadius="4dp"
    app:shadowColor="#140282FF"
    app:shadowMargin="4dp"
    app:shadowRadius="4dp">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant