android - Notification title cut off -


i have following code show notification title notification message in java class (not activity class):

// display sync success or failure notification. public static void displaysyncendnoti(context mcontext) {     ...     sbuilder = new notification.builder(mcontext);      sbuilder.setcontenttitle(strcontenttitle);     sbuilder.setcontenttext(strcontenttext);     ...     sbuilder.setstyle(new notification.bigtextstyle().bigtext(strcontenttitle));     sbuilder.setstyle(new notification.bigtextstyle().bigtext(strcontenttext)); } 

i used bigtext method when text long, moves sentence next line when gets cut off. so, bigtext worked notification message, doesn't seem work notification title ("at&t address book sync incomplete") following notification shows:

http://i.stack.imgur.com/3fnt4.png

does know how resolve issue?


Comments

Popular posts from this blog

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -