You have to use your own layout for that.
This is deprecated, because now you should use builder for everything, but sometimes you just need to do something special.
String ns = Context.NOTIFICATION_SERVICE;
mNotificationManager = (NotificationManager) ctx.getSystemService(ns);
int icon = R.drawable.icon;
CharSequence tickerText = "Ticker Text";
long when = System.currentTimeMillis();
notification = new Notification(icon, tickerText, when);
String packageName = ctx.getPackageName();
contentView = new RemoteViews(packageName, R.layout.notificationlayout);
notification.contentView = contentView;
contentView.setTextViewText(R.id.textView1, "Text");
Intent notificationIntent = new Intent(ctx, TargetActivity.class);
PendingIntent contentIntent = PendingIntent.getActivity(ctx, 0, notificationIntent, 0);
notification.contentIntent = contentIntent;
mNotificationManager.notify(NOTIFICATION_ID, notification);