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

ActionBar transparent background crahses on android with NS 2.5.0 #3565

Closed
tsonevn opened this issue Feb 3, 2017 · 5 comments · Fixed by #3567
Closed

ActionBar transparent background crahses on android with NS 2.5.0 #3565

tsonevn opened this issue Feb 3, 2017 · 5 comments · Fixed by #3567
Assignees
Milestone

Comments

@tsonevn
Copy link
Contributor

tsonevn commented Feb 3, 2017

From @ullalaaron on February 2, 2017 15:24

Setting

ActionBar{
         background-color : transparent;
}

makes the Android app crash.

Copied from original issue: NativeScript/nativescript-cli#2479

@NickIliev
Copy link
Contributor

NickIliev commented Feb 3, 2017

Reproduced with this test app . Not crashing with the Actionbar from the template-hello-word but crashing when the Actionbar has NavButton and ActionItems.

@ullalaaron as a workaround to achieving transparent background you can use rgba and control your alpha channel

e.g.

ActionBar{
         background-color : rgba(200, 54, 54, 0.5); 
}

@NickIliev NickIliev added bug and removed question labels Feb 3, 2017
@NathanaelA

This comment was marked as abuse.

@vakrilov
Copy link
Contributor

vakrilov commented Feb 3, 2017

Managed to reproduce it with transparent and fix is on the way.
However, other named color(ex. red, green, etc.) worked as expected. @NathanaelA can you give more information about which colors caused a crash on your end?

@NathanaelA

This comment was marked as abuse.

vakrilov pushed a commit that referenced this issue Feb 3, 2017
@vchimev vchimev added this to the 2.5.1 milestone Feb 6, 2017
@lock
Copy link

lock bot commented Aug 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants