Merge "docs: Fixed 'MessageStyle' typo" into mnc-io-docs

This commit is contained in:
Eric Schmidt
2016-06-01 18:04:55 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 7 deletions

View File

@@ -119,10 +119,10 @@ use. Some of the changes include:</p>
</li> </li>
<li> <li>
<strong>Message style customization</strong>: You can customize more of the <strong>Messaging style customization</strong>: You can customize more of
user interface labels associated with your notifications using the the user interface labels associated with your notifications using the
<code>MessageStyle</code> class. You can configure the message, conversation <code>MessagingStyle</code> class. You can configure the message,
title, and content view. conversation title, and content view.
</li> </li>
<li> <li>

View File

@@ -16,7 +16,7 @@ trainingnavtop=true
<li><a href="#direct">Direct Reply</a></li> <li><a href="#direct">Direct Reply</a></li>
<li><a href="#bundle">Bundled Notifications</a></li> <li><a href="#bundle">Bundled Notifications</a></li>
<li><a href="#custom">Custom Views</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> </ol>
</div> </div>
@@ -378,14 +378,14 @@ Notification notification = new Notification.Builder()
<h2 id="style">Messaging Style</h2> <h2 id="style">Messaging Style</h2>
<p> <p>
Android N introduces a new API for customizing the style of a notification. 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, labels displayed on the notification, including the conversation title,
additional messages, and the content view for the notification. additional messages, and the content view for the notification.
</p> </p>
<p> <p>
The following code snippet demonstrates how to customize a notification's 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> </p>
<pre> <pre>