Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80448222 authored by Eric Schmidt's avatar Eric Schmidt
Browse files

docs: Fixed 'MessageStyle' typo

Bug: 28964745
Change-Id: Ida96fbae10fa70c4cfffdad8642cfb4c8132c3a3
parent 160ce941
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -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>
+3 −3
Original line number Original line Diff line number Diff line
@@ -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>