In my app I can't see in my notification all the text I display. I put \n but this doesn't help me and I don't understand why.
this is proba.xml
android:orientation="horizontal" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:padding="3dp">
android:layout_height="fill_parent" android:layout_marginRight="10dp" />
android:layout_height="fill_parent" android:textColor="#000" />
and here is the code :
RemoteViews contentView = new RemoteViews(getPackageName(),
R.layout.proba);
contentView.setImageViewResource(R.id.image, R.drawable.icon);
contentView.setTextViewText(R.id.notif,
"Today,you must go for shopping for your list '" + list + "'. "
+ "Don't forget!!!" + "\n" + "You must buy :" + "\n"
+ s.toString() + "\n");
notification.contentView = contentView;
where in s is a StringBuilder and in s I have something like this :" onions 1kg,tomatoes 2 kg,..."