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
IMOB-12148 set DisplayShowTitleEnabled #4480
IMOB-12148 set DisplayShowTitleEnabled #4480
Conversation
@@ -160,7 +160,6 @@ private void handleSetIcon(String url) | |||
private void handleSetTitle(String title) | |||
{ | |||
if (actionBar != null) { | |||
actionBar.setDisplayShowTitleEnabled(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you deleting this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After deleting this . worked fine for me. I tested this scenario also
It seems that this is an ICS issue: https://code.google.com/p/styled-action-bar/issues/detail?id=3 Can you verifiy if this is happening only on ICS (4.0+), or does it happening with 2.3.x and 4.2.x as well? |
@@ -194,6 +193,8 @@ private void handleSetBackgroundImage(String url) | |||
|
|||
Drawable backgroundImage = getDrawableFromUrl(url); | |||
if (backgroundImage != null) { | |||
actionBar.setDisplayShowTitleEnabled(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should probably leave a comment for this workaround (with link to the original android bug). I.e: This is a workaround due to https://code.google.com/p/styled-action-bar/issues/detail?id=3. [TIMOB-12148]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Any update on this? |
actionBar.setDisplayShowTitleEnabled(false); Is this ok for this bug ? |
Yes, that fix is ok for this issue, but please add a comment above actionBar.setDisplayShowTitleEnabled(false); |
Any update for this issue? |
I will check and update soon |
Looks good, merging. |
…setPropertyInClick IMOB-12148 set DisplayShowTitleEnabled
https://jira.appcelerator.org/browse/TIMOB-12148