diff options
Diffstat (limited to 'data/res/values/attrs.xml')
-rw-r--r-- | data/res/values/attrs.xml | 62 |
1 files changed, 33 insertions, 29 deletions
diff --git a/data/res/values/attrs.xml b/data/res/values/attrs.xml index 31354559..aceba087 100644 --- a/data/res/values/attrs.xml +++ b/data/res/values/attrs.xml @@ -2123,44 +2123,48 @@ <!-- Controls how the window is laid out if there is a {@code DisplayCutout}. <p> Defaults to {@code default}. - - @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT - @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES - @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER - @see android.view.DisplayCutout - @see android.R.attr#layoutInDisplayCutoutMode --> + <p> + See also + {@link android.view.WindowManager.LayoutParams#layoutInDisplayCutoutMode + WindowManager.LayoutParams.layoutInDisplayCutoutMode}, + {@link android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT}, + {@link android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES}, + {@link android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER}, + and {@link android.view.DisplayCutout DisplayCutout} + --> <attr name="windowLayoutInDisplayCutoutMode"> - <!-- The window is allowed to extend into the {@code DisplayCutout} area, only if the - {@code DisplayCutout} is fully contained within a system bar. Otherwise, the window is - laid out such that it does not overlap with the {@code DisplayCutout} area. - - @see android.view.DisplayCutout - @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT + <!-- <p> + The window is allowed to extend into the <code>DisplayCutout</code> area, only if + the <code>DisplayCutout</code> is fully contained within a system bar. Otherwise, the + window is laid out such that it does not overlap with the <code>DisplayCutout</code> + area. + <p> + Corresponds to <code>LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT</code>. --> <enum name="default" value="0" /> - <!-- - The window is always allowed to extend into the {@code DisplayCutout} areas on the short - edges of the screen even if fullscreen or in landscape. - The window will never extend into a {@link DisplayCutout} area on the long edges of the - screen. + <!-- <p> + The window is always allowed to extend into the <code>DisplayCutout</code> areas on the + short edges of the screen even if fullscreen or in landscape. + The window will never extend into a <code>DisplayCutout</code> area on the long edges of + the screen. <p> The window must make sure that no important content overlaps with the - {@link DisplayCutout}. - - @see android.view.DisplayCutout - @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES + <code>DisplayCutout</code>. + <p> + Corresponds to <code>LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES</code>. --> <enum name="shortEdges" value="1" /> - <!-- Use {@code shortEdges} instead. This is temporarily here to unblock pushing the SDK - until all usages have been migrated to {@code shortEdges} --> + <!-- Use <code>shortEdges</code> instead. This is temporarily here to unblock pushing + the SDK until all usages have been migrated to <code>shortEdges</code> --> <enum name="always" value="1" /> - <!-- The window is never allowed to overlap with the DisplayCutout area. + <!-- <p> + The window is never allowed to overlap with the <code>DisplayCutout</code> area. <p> - This should be used with windows that transiently set {@code SYSTEM_UI_FLAG_FULLSCREEN} - to avoid a relayout of the window when the flag is set or cleared. - - @see android.view.DisplayCutout - @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER + This should be used with windows that transiently set + <code>SYSTEM_UI_FLAG_FULLSCREEN</code> to avoid a relayout of the window when the + flag is set or cleared. + <p> + Corresponds to <code>LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER</code>. --> <enum name="never" value="2" /> </attr> |