if you want to customize text only, you can use SpannableString. It allows you to change color, background, align of your title/content text.
if you want to create totally different notification you have to implement smth similar in your wear project
Intent notificationIntent = new Intent(context, WearNotificationActivity.class);
PendingIntent pendingNotificationIntent =
PendingIntent.getActivity(context, 0, notificationIntent,PendingIntent.FLAG_UPDATE_CURRENT);
Notification notification =
new Notification.Builder(context)
.setSmallIcon(R.drawable.ic_launcher)
// .setContentTitle("CustomNotification")
.extend(new Notification.WearableExtender()
.setDisplayIntent(pendingNotificationIntent)
.setCustomSizePreset(Notification.WearableExtender.SIZE_LARGE)
.setStartScrollBottom(false)
.setHintHideIcon(true))
.build();
NotificationManager notificationManager =
(NotificationManager) context.getSystemService(context.NOTIFICATION_SERVICE);
notificationManager.notify(0, notification);
where WearNotificationActivity - activity container of you custom view.
NOTE: you HAVE TO use .setSmallIcon(..)
even if you don't need it.
Seems like a google bug, but without this line notification won't be shown.
and set
android:allowEmbedded="true"
android:taskAffinity=""
for your activity container