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

Commit 37b4ca58 authored by Andrew Solovay's avatar Andrew Solovay Committed by android-build-merger
Browse files

docs: Moving multi-window docs out of N Preview area for N release

am: dda5e4b1

Change-Id: Icc9a59b6f15a40e22b194de9784a57e7c1faf0ea
parents bb2ecd6a dda5e4b1
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line Diff line number Diff line
# For information about this file's format, see
# For information about this file's format, see
# https://developers.google.com/internal/publishing/redirects
# https://developers.google.com/internal/publishing/redirects
redirects:
redirects:

# Redirects from (removed) N Preview documentation
- from: /preview/features/afw.html
  to: https://developers.google.com/android/work/overview

- from: /about/versions/index.html
- from: /about/versions/index.html
  to: /about/index.html
  to: /about/index.html
- from: /about/versions/api-levels.html
- from: /about/versions/api-levels.html
@@ -1207,6 +1202,11 @@ redirects:
- from: /r/studio-ui/menu-start.html
- from: /r/studio-ui/menu-start.html
  to: /training/index.html?utm_medium=android-studio
  to: /training/index.html?utm_medium=android-studio


# Redirects from (removed) N Preview documentation
- from: /preview/features/afw.html
  to: https://developers.google.com/android/work/overview
- from: /preview/features/multi-window.html
  to: /guide/topics/ui/multi-window.html
- from: /preview/features/icu4j-framework.html
- from: /preview/features/icu4j-framework.html
  to: /guide/topics/resources/icu4j-framework.html
  to: /guide/topics/resources/icu4j-framework.html
- from: /preview/features/key-attestation.html
- from: /preview/features/key-attestation.html
+2 −0
Original line number Original line Diff line number Diff line
@@ -235,6 +235,8 @@ toc:
      path: /guide/topics/search/adding-custom-suggestions.html
      path: /guide/topics/search/adding-custom-suggestions.html
    - title: Searchable Configuration
    - title: Searchable Configuration
      path: /guide/topics/search/searchable-config.html
      path: /guide/topics/search/searchable-config.html
  - title: Multi-Window Support
    path: /guide/topics/ui/multi-window.html
  - title: Drag and Drop
  - title: Drag and Drop
    path: /guide/topics/ui/drag-drop.html
    path: /guide/topics/ui/drag-drop.html
  - title: Accessibility
  - title: Accessibility
+46 −1
Original line number Original line Diff line number Diff line
@@ -35,6 +35,7 @@ parent.link=manifest-intro.html
          android:<a href="#prmsn">permission</a>="<i>string</i>"
          android:<a href="#prmsn">permission</a>="<i>string</i>"
          android:<a href="#proc">process</a>="<i>string</i>"
          android:<a href="#proc">process</a>="<i>string</i>"
          android:<a href="#relinquish">relinquishTaskIdentity</a>=["true" | "false"]
          android:<a href="#relinquish">relinquishTaskIdentity</a>=["true" | "false"]
          android:<a href="#resizeableActivity">resizeableActivity</a>=["true" | "false"]
          android:<a href="#screen">screenOrientation</a>=["unspecified" | "behind" |
          android:<a href="#screen">screenOrientation</a>=["unspecified" | "behind" |
                                     "landscape" | "portrait" |
                                     "landscape" | "portrait" |
                                     "reverseLandscape" | "reversePortrait" |
                                     "reverseLandscape" | "reversePortrait" |
@@ -43,6 +44,7 @@ parent.link=manifest-intro.html
                                     "sensor" | "fullSensor" | "nosensor" |
                                     "sensor" | "fullSensor" | "nosensor" |
                                     "user" | "fullUser" | "locked"]
                                     "user" | "fullUser" | "locked"]
          android:<a href="#state">stateNotNeeded</a>=["true" | "false"]
          android:<a href="#state">stateNotNeeded</a>=["true" | "false"]
          android:<a href="#supportsPIP">supportsPictureInPicture</a>=["true" | "false"]
          android:<a href="#aff">taskAffinity</a>="<i>string</i>"
          android:<a href="#aff">taskAffinity</a>="<i>string</i>"
          android:<a href="#theme">theme</a>="<i>resource or theme</i>"
          android:<a href="#theme">theme</a>="<i>resource or theme</i>"
          android:<a href="#uioptions">uiOptions</a>=["none" | "splitActionBarWhenNarrow"]
          android:<a href="#uioptions">uiOptions</a>=["none" | "splitActionBarWhenNarrow"]
@@ -794,9 +796,39 @@ to "{@code false}". The default value is "{@code false}".
and icons in the <a href="{@docRoot}guide/components/recents.html">overview screen</a>.</p>
and icons in the <a href="{@docRoot}guide/components/recents.html">overview screen</a>.</p>
</dd>
</dd>


<dt id="resizeableActivity"><code>resizeableActivity</code></dt>

<dd>
<p>
  Specifies whether the app supports <a href=
  "{@docRoot}guide/topics/ui/multi-window.html">multi-window display</a>. You
  can set this attribute in either the <code>&lt;activity&gt;</code> or
  <a href="application-element.html"><code>&lt;application&gt;</code></a>
  element.
</p>

<p>
  If you set this attribute to true, the user can launch the activity in
  split-screen and freeform modes. If you set the attribute to false, the
  activity does not support multi-window mode. If this value is false, and the
  user attempts to launch the activity in multi-window mode, the activity takes
  over the full screen.
</p>

<p>
  If your app targets API level 24 or higher, but you do not specify a value
  for this attribute, the attribute's value defaults to true.
</p>

<p>
  This attribute was added in API level 24.
</p>
</dd>


<dt><a name="screen"></a>{@code android:screenOrientation}</dt>
<dt><a name="screen"></a>{@code android:screenOrientation}</dt>
<dd>The orientation of the activity's display on the device.
<dd>The orientation of the activity's display on the device. The system ignores
  this attribute if the activity is running in <a
  href="{@docRoot}guide/topics/ui/multi-window.html">multi-window mode</a>.


<p>The value can be any one of the following strings:</p>
<p>The value can be any one of the following strings:</p>


@@ -921,6 +953,19 @@ home screen uses this setting to make sure that it does not get removed if it
crashes for some reason.
crashes for some reason.
</p></dd>
</p></dd>


<dt id="supportsPIP"><code>supportsPictureInPicture</code></dt>

<dd>
<p>
  Specifies whether the activity supports <a href=
  "{@docRoot}training/tv/playback/picture-in-picture.jd">Picture-in-Picture</a>
  display. The system ignores this attribute if <a href=
  "#resizeableActivity"><code>android:resizeableActivity</code></a> is false.
</p>

<p>This attribute was added in API level 24.</p>
</dd>

<dt><a name="aff"></a>{@code android:taskAffinity}</dt>
<dt><a name="aff"></a>{@code android:taskAffinity}</dt>
<dd>The task that the activity has an affinity for.  Activities with
<dd>The task that the activity has an affinity for.  Activities with
the same affinity conceptually belong to the same task (to the same
the same affinity conceptually belong to the same task (to the same
+29 −0
Original line number Original line Diff line number Diff line
@@ -26,6 +26,7 @@ page.title=&lt;application&gt;
             android:<a href="#proc">process</a>="<i>string</i>"
             android:<a href="#proc">process</a>="<i>string</i>"
             android:<a href="#restoreany">restoreAnyVersion</a>=["true" | "false"]
             android:<a href="#restoreany">restoreAnyVersion</a>=["true" | "false"]
             android:<a href="#requiredAccountType">requiredAccountType</a>="<i>string</i>"
             android:<a href="#requiredAccountType">requiredAccountType</a>="<i>string</i>"
             android:<a href="#resizeableActivity">resizeableActivity</a>=["true" | "false"]
             android:<a href="#restrictedAccountType">restrictedAccountType</a>="<i>string</i>"
             android:<a href="#restrictedAccountType">restrictedAccountType</a>="<i>string</i>"
             android:<a href="#supportsrtl">supportsRtl</a>=["true" | "false"]
             android:<a href="#supportsrtl">supportsRtl</a>=["true" | "false"]
             android:<a href="#aff">taskAffinity</a>="<i>string</i>"
             android:<a href="#aff">taskAffinity</a>="<i>string</i>"
@@ -358,6 +359,34 @@ your app to access personal information that belongs to the owner user.</p>
</dd>
</dd>




<dt id="resizeableActivity"><code>resizeableActivity</code></dt>

<dd>
<p>
  Specifies whether the app supports <a href=
  "{@docRoot}guide/topics/ui/multi-window.html">multi-window display</a>. You
  can set this attribute in either the <a href="activity-element">
  <code>&lt;activity&gt;</code></a> or <code>&lt;application&gt;</code> element.
</p>

<p>
  If you set this attribute to true, the user can launch the activity in
  split-screen and freeform modes. If you set the attribute to false, the
  activity does not support multi-window mode. If this value is false, and the
  user attempts to launch the activity in multi-window mode, the activity takes
  over the full screen.
</p>

<p>
  If your app targets API level 24 or higher, but you do not specify a value
  for this attribute, the attribute's value defaults to true.
</p>

<p>
  This attribute was added in API level 24.
</p>
</dd>

<dt><a name="restrictedAccountType"></a>{@code android:restrictedAccountType}</dt>
<dt><a name="restrictedAccountType"></a>{@code android:restrictedAccountType}</dt>
<dd>Specifies the account type required by this application and indicates that restricted profiles
<dd>Specifies the account type required by this application and indicates that restricted profiles
are allowed to access such accounts that belong to the owner user. If your app requires an
are allowed to access such accounts that belong to the owner user. If your app requires an
+2 −0
Original line number Original line Diff line number Diff line
@@ -17,6 +17,8 @@ page.tags=activity,lifecycle
    <li><a href="accessing-resources.html">Accessing Resources</a></li>
    <li><a href="accessing-resources.html">Accessing Resources</a></li>
    <li><a href="http://android-developers.blogspot.com/2009/02/faster-screen-orientation-change.html">Faster
    <li><a href="http://android-developers.blogspot.com/2009/02/faster-screen-orientation-change.html">Faster
        Screen Orientation Change</a></li>
        Screen Orientation Change</a></li>
    <li><a href="{@docRoot}guide/topics/ui/multi-window.html#lifecycle">
      Multi-Window Lifecycle</a></li>
  </ol>
  </ol>
</div>
</div>
</div>
</div>
Loading