Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

SupertActivityToast position not work #114

Open
juanm4 opened this issue Jun 6, 2017 · 2 comments
Open

SupertActivityToast position not work #114

juanm4 opened this issue Jun 6, 2017 · 2 comments

Comments

@juanm4
Copy link

juanm4 commented Jun 6, 2017

Hi, I am testing this library and is great, but there are a problem width function gravity. This is mi code:
`
SuperActivityToast superActivityToast = new SuperActivityToast(context, Style.TYPE_PROGRESS_CIRCLE);

        superActivityToast.setText("Hello world!");
        superActivityToast.setIndeterminate(true);
        superActivityToast.setProgressIndeterminate(true);
        superActivityToast.setGravity(Gravity.CENTER);
        superActivityToast.show();`

The problem is that the toast always appear at bottom-left on the screen. I have tried to change between all types of gravity, but the toast always appear at bottom-left.

Does it is a bug? or Does my code is wrong?

Thanks in advance!
Best regards!

@akshaykumar9762
Copy link

Same here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants