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

delay in taking action at the end of timing #88

Open
volkanciloglu opened this issue Feb 8, 2019 · 0 comments
Open

delay in taking action at the end of timing #88

volkanciloglu opened this issue Feb 8, 2019 · 0 comments

Comments

@volkanciloglu
Copy link

I have a button and when I clicked it goes to another activity. I entered the time value in this button for example app: I used mrl_rippleDuration. But it doesn't take action for about 1 second after the animation ends.

my xml :

<com.balysv.materialripple.MaterialRippleLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:mrl_rippleBackground="@color/colorRed"
            app:mrl_rippleDuration="200">
   <Button
                android:id="@+id/other_activity"
                android:layout_width="350dp"
                android:layout_height="wrap_content"
                android:background="@color/transparent"/>
</com.balysv.materialripple.MaterialRippleLayout>

activity Class

     btn_other_activity = findViewById(R.id.other_activity);
     btn_other_activity.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(context, OtherActivity.class);
                startActivity(intent);
            }
        });
@volkanciloglu volkanciloglu changed the title Duration set delay in taking action at the end of timing Feb 8, 2019
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