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

Problem with NoActionBar bar activity #19

Open
sdevpura5 opened this issue Jun 24, 2018 · 14 comments
Open

Problem with NoActionBar bar activity #19

sdevpura5 opened this issue Jun 24, 2018 · 14 comments

Comments

@sdevpura5
Copy link

Hi, I tried to use this in my new app and it's working fine but when I used this with a no NoActionBar activity it's not showing properly on Flashbar.Gravity.TOP

This is my code which I am writing

Flashbar.Builder builder = new Flashbar.Builder(activity) .gravity(gravity) .title(title) .message(body) .enableSwipeToDismiss() .backgroundColorRes(R.color.colorPrimarylight) .enterAnimation(FlashAnim.with(activity) .animateBar() .duration(Flashbar.DURATION_SHORT) .alpha() .overshoot()); _flashBar=builder.build();

This is the preview of the problem

untitled

What should I do ?

@itishrishikesh
Copy link

I have the same problem

@guilhermeestevao
Copy link

Me too @itishrishikesh

@Slake07
Copy link

Slake07 commented Jul 24, 2018

I am facing same problem.

@klevisndoka
Copy link

Me 2

@elek90
Copy link
Contributor

elek90 commented Aug 15, 2018

This is fixed in 1.0.3

@ArLabDev
Copy link

Sorry, what is the expected behavior?
I'm testing the 1.0.3 both with ActionBar or NoActionBar theme (using then a Support ActionBar), the Flashbar appears over the ActionBar. Is it correct?
Is there a way to place it under the ActionBar like Material Design banners?https://material.io/design/components/banners.html

Thanks

@dhaivat77
Copy link

dhaivat77 commented Mar 5, 2019

I am using the latest version 1.0.3

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
window.setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS,
WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS)
}

If I am using in full screen with no limits layout. Flashbar is hiding behind the status bar.

And applying the theme "Theme.AppCompat.Light.NoActionBar"

flashbar

@findyourexit
Copy link

I'm experience the same behaviour where the Flashbar instance appears behind the status bar. I'm using the AppCompat.NoActionBar theme and have tried everything that I can think of to have the Flashbar render below the status bar, rather than beneath it. No luck so far! (Using Flashbar 1.0.3)

@kazaky
Copy link

kazaky commented May 23, 2019

me too having the same prob!

@swetanandha
Copy link

This is fixed in 1.0.3

not working

@lastpeony
Copy link

same problem

2 similar comments
@LuiguiBalarezo
Copy link

same problem

@rolama
Copy link

rolama commented Nov 4, 2022

same problem

@bybozyurt
Copy link

I had the same problem, it was fixed when I started using version 1.0.3

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