Merge "docs: Fixed \'MessageStyle\' typo" into mnc-io-docs
am: 8ef79a9246
* commit '8ef79a9246eba129c22e5d54654ecb85414edf22':
docs: Fixed 'MessageStyle' typo
Change-Id: Ie9bfc94d89f388763e360841ae129d214156d6d2
This commit is contained in:
@@ -119,10 +119,10 @@ use. Some of the changes include:</p>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<strong>Message style customization</strong>: You can customize more of the
|
||||
user interface labels associated with your notifications using the
|
||||
<code>MessageStyle</code> class. You can configure the message, conversation
|
||||
title, and content view.
|
||||
<strong>Messaging style customization</strong>: You can customize more of
|
||||
the user interface labels associated with your notifications using the
|
||||
<code>MessagingStyle</code> class. You can configure the message,
|
||||
conversation title, and content view.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
@@ -16,7 +16,7 @@ trainingnavtop=true
|
||||
<li><a href="#direct">Direct Reply</a></li>
|
||||
<li><a href="#bundle">Bundled Notifications</a></li>
|
||||
<li><a href="#custom">Custom Views</a></li>
|
||||
<li><a href="#style">Message Style</a></li>
|
||||
<li><a href="#style">Messaging Style</a></li>
|
||||
</ol>
|
||||
|
||||
</div>
|
||||
@@ -378,14 +378,14 @@ Notification notification = new Notification.Builder()
|
||||
<h2 id="style">Messaging Style</h2>
|
||||
<p>
|
||||
Android N introduces a new API for customizing the style of a notification.
|
||||
Using the <code>MessageStyle</code> class, you can change several of the
|
||||
Using the <code>MessagingStyle</code> class, you can change several of the
|
||||
labels displayed on the notification, including the conversation title,
|
||||
additional messages, and the content view for the notification.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The following code snippet demonstrates how to customize a notification's
|
||||
style using the <code>MessageStyle</code> class.
|
||||
style using the <code>MessagingStyle</code> class.
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
|
||||
Reference in New Issue
Block a user