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

SupertActivityToast position not work #114

@juanm4

Description

@juanm4

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions