Я пытаюсь показать настраиваемое содержимое уведомления в строке состояния через удаленный просмотр. Я использую fill_parent и для ширины, и для высоты, но с правой стороны всегда есть небольшой зазор. Что я здесь делаю не так?
См. Снимок экрана здесь: http://img684.imageshack.us/img684/2347/devicenq.png
Код макета (я также использовал LinearLayout):
А вот фрагмент кода:
Intent notificationIntent = new Intent(this, MessengerService.class);
PendingIntent contentIntent = PendingIntent.getActivity(
this, 0, notificationIntent, 0);
Notification notification = new Notification(R.drawable.stat_sample,
"Hello", System.currentTimeMillis());
RemoteViews contentView = new RemoteViews(getPackageName(),
R.layout.custom_notification_layout);
notification.contentView = contentView;
notification.contentIntent = contentIntent;
mNM.notify(R.string.remote_service_started, notification);
Я весь день бился головой этим ... Спасибо.