0
我注意到天氣時間表(例如)在peek和環境中都顯示兩行的通知。我想複製這個我的要求,但我無法這樣做。我試過InboxStyle和BigTextStyle無濟於事。圖標位置也不同,可以顯示更多標題。Android Wear通知佈局 - 兩行在peek和環境中
這是可能的,或者是因爲天氣時間線是一個「穿戴應用程序」?
NotificationCompat.Builder notificationBuilder =
new NotificationCompat.Builder(this)
.setSmallIcon(R.drawable.ic_launcher)
.setContentTitle("TestTitle")
.setContentText("TestContextTextLoremIpsum");