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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -