Added a space between text and icon

This commit is contained in:
Sebastian Kaspari 2010-03-06 20:37:58 +01:00
parent 48e5771e05
commit 0d0173f2e6
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class Message {
public SpannableString render(Context context)
{
if (canvas == null) {
String prefix = hasIcon() ? "\n " : "\n";
String prefix = hasIcon() ? "\n " : "\n";
canvas = new SpannableString(prefix + text);
if (hasIcon()) {
Drawable drawable = context.getResources().getDrawable(icon);