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

Commit 65436b09 authored by Eric Schmidt's avatar Eric Schmidt Committed by android-build-merger
Browse files

Merge "docs: Fixed \'MessageStyle\' typo" into mnc-io-docs am: 8ef79a92 am: 51500a1c

am: 28ed1887

* commit '28ed1887':
  docs: Fixed 'MessageStyle' typo

Change-Id: I784af12e3d721d4af9fa747e794677c17b7434f6
parents 62eb79e6 28ed1887
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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>
+3 −3
Original line number Diff line number Diff line
@@ -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>