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

Commit 02b5686c authored by Jon Eckenrode's avatar Jon Eckenrode
Browse files

Added list of ignored values to screenOrientation attribute.

Flag: DOCS_ONLY
Test: Built docs
NO_BUG: None created
Staged: https://android.devsite.corp.google.com/reference/android/R.attr#screenOrientation

Change-Id: I2e6152cb14098f3155f32a782e4f59b5aa278854
parent f896c7a1
Loading
Loading
Loading
Loading
+15 −2
Original line number Diff line number Diff line
@@ -854,8 +854,21 @@
         <aside class="note"><b>Note:</b>
            <ul>
                <li>To improve the layout of apps on form factors with smallest width >= 600dp, the
                    system ignores this attribute for apps that target Android 16 (API level 36) or
                    higher.</li>
                    system ignores the following values of this attribute for apps that target
                    Android 16 (API level 36) or higher:
                    <ul>
                      <li><code>portrait</code></li>
                      <li><code>landscape</code></li>
                      <li><code>reversePortrait</code></li>
                      <li><code>reverseLandscape</code></li>
                      <li><code>sensorPortrait</code></li>
                      <li><code>sensorLandscape</code></li>
                      <li><code>userPortrait</code></li>
                      <li><code>userLandscape</code></li>
                    </ul>
                    <p>The values are treated as if the app had set orientation as
                       <code>unspecified</code>.</p>
                </li>
                <li>Device manufacturers can configure devices to override (ignore) this attribute
                    to improve the layout of apps.</li>
                <li>On devices with Android 16 (API level 36) or higher installed, virtual device