@@ -10,8 +10,8 @@ parent.link=manifest-intro.html
1010 android:<a href="#clear">clearTaskOnLaunch</a>=["true" | "false"]
1111 android:<a href="#config">configChanges</a>=["mcc", "mnc", "locale",
1212 "touchscreen", "keyboard", "keyboardHidden",
13- "navigation", "orientation ", "screenLayout ",
14- "fontScale ", "uiMode "]
13+ "navigation", "screenLayout ", "fontScale", "uiMode ",
14+ "orientation ", "screenSize", "smallestScreenSize "]
1515 android:<a href="#enabled">enabled</a>=["true" | "false"]
1616 android:<a href="#exclude">excludeFromRecents</a>=["true" | "false"]
1717 android:<a href="#exported">exported</a>=["true" | "false"]
@@ -205,10 +205,6 @@ separated by '{@code |}' — for example, "{@code locale|navigation|orientat
205205 <td>"{@code navigation}"</td>
206206 <td>The navigation type (trackball/dpad) has changed. (This should never normally happen.)</td>
207207</tr><tr>
208- <td>"{@code orientation}"</td>
209- <td>The screen orientation has changed — the user has rotated
210- the device.</td>
211- </tr><tr>
212208 <td>"{@code screenLayout}"</td>
213209 <td>The screen layout has changed — this might be caused by a
214210 different display being activated.</td>
@@ -221,7 +217,34 @@ separated by '{@code |}' — for example, "{@code locale|navigation|orientat
221217 <td>The user interface mode has changed — this can be caused when the user places the
222218device into a desk/car dock or when the the night mode changes. See {@link
223219android.app.UiModeManager}. <em>Introduced in API Level 8</em>.</td>
224- </tr>
220+ </tr><tr>
221+ <td>"{@code orientation}"</td>
222+ <td>The screen orientation has changed — the user has rotated the device.
223+ <p class="note"><strong>Note:</strong> If your application targets API level 13 or higher (as
224+ declared by the <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
225+ minSdkVersion}</a> and <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
226+ targetSdkVersion}</a> attributes), then you should also declare the {@code "screenSize"}
227+ configuration, because it also changes when a device switches between portrait and landscape
228+ orientations.</p></td>
229+ </tr><tr>
230+ <td>"{@code screenSize}"</td>
231+ <td>The current available screen size has changed. This represents a change in the currently
232+ available size, relative to the current aspect ratio, so will change when the user switches between
233+ landscape and portrait. However, if your application targets API level 12 or lower, then your
234+ activity always handles this configuration change itself (this configuration change does not restart
235+ your activity, even when running on an Android 3.2 or higher device).
236+ <p><em>Added in API level 13.</em></p></td>
237+ </tr><tr>
238+ <td>"{@code smallestScreenSize}"</td>
239+ <td>The physical screen size has changed. This represents a change in size regardless of
240+ orientation, so will only change when the actual physical screen size has changed such as switching
241+ to an external display. A change to this configuration corresponds to a change in the <a
242+ href="{@docRoot}guide/topics/resources/providing-resources.html#SmallestScreenWidthQualifier">
243+ smallestWidth configuration</a>. However, if your application targets API level 12 or lower, then
244+ your activity always handles this configuration change itself (this configuration change does not
245+ restart your activity, even when running on an Android 3.2 or higher device).
246+ <p><em>Added in API level 13.</em></p></td>
247+ </tr>
225248</table>
226249
227250<p>
0 commit comments