diff options
Diffstat (limited to 'data/res/values/attrs.xml')
-rw-r--r-- | data/res/values/attrs.xml | 75 |
1 files changed, 71 insertions, 4 deletions
diff --git a/data/res/values/attrs.xml b/data/res/values/attrs.xml index d26567e9..31354559 100644 --- a/data/res/values/attrs.xml +++ b/data/res/values/attrs.xml @@ -1019,6 +1019,9 @@ <!-- Corner radius of buttons. --> <attr name="buttonCornerRadius" format="dimension" /> + <!-- Corner radius of progress bars. --> + <attr name="progressBarCornerRadius" format="dimension" /> + <!-- Style for the search query widget. --> <attr name="searchViewStyle" format="reference" /> @@ -1111,6 +1114,9 @@ <!-- The color applied to framework switch thumbs in their normal state. --> <attr name="colorSwitchThumbNormal" format="color" /> + <!-- The color applied to framework progress and seek bar backgrounds in their normal state. --> + <attr name="colorProgressBackgroundNormal" format="color" /> + <!-- The color applied to the edge effect on scrolling containers. --> <attr name="colorEdgeEffect" format="color" /> @@ -2113,6 +2119,51 @@ Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR} on the decor view. --> <attr name="windowLightNavigationBar" format="boolean" /> + + <!-- 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 --> + <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 + --> + <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 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 + --> + <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} --> + <enum name="always" value="1" /> + <!-- The window is never allowed to overlap with the DisplayCutout 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 + --> + <enum name="never" value="2" /> + </attr> </declare-styleable> <!-- The set of attributes that describe a AlertDialog's theme. --> @@ -4472,6 +4523,8 @@ <attr name="textSize" /> <!-- Style (normal, bold, italic, bold|italic) for the text. --> <attr name="textStyle" /> + <!-- Weight for the font used in the TextView. --> + <attr name="textFontWeight" /> <!-- Typeface (normal, sans, serif, monospace) for the text. --> <attr name="typeface" /> <!-- Font family (named by string or as a font resource reference) for the text. --> @@ -4561,6 +4614,8 @@ <attr name="typeface" /> <!-- Style (normal, bold, italic, bold|italic) for the text. --> <attr name="textStyle" /> + <!-- Weight for the font used in the TextView. --> + <attr name="textFontWeight" /> <!-- Font family (named by string or as a font resource reference) for the text. --> <attr name="fontFamily" /> <!-- Text color for links. --> @@ -5905,6 +5960,17 @@ <!-- Identifier of the image file. This attribute is mandatory. It must be an image file with multiple frames, e.g. gif or webp --> <attr name="src" /> + <!-- Indicates if the drawable needs to be mirrored when its layout direction is + RTL (right-to-left). --> + <attr name="autoMirrored" /> + <!-- Replace the loop count in the encoded data. A repeat count of 0 means that + the animation will play once, regardless of the number of times specified + in the encoded data. Setting this to infinite (-1) will result in the + animation repeating as long as it is displayed (once start() is called). --> + <attr name="repeatCount"/> + <!-- When true, automatically start animating. The default is false, meaning + that the animation will not start until start() is called. --> + <attr name="autoStart" /> </declare-styleable> <!-- Drawable used to draw bitmaps. --> @@ -6328,6 +6394,9 @@ <!-- Special option for window animations: if this window is on top of a wallpaper, don't animate the wallpaper with it. --> <attr name="detachWallpaper" format="boolean" /> + <!-- Special option for window animations: show the wallpaper behind when running this + animation. --> + <attr name="showWallpaper" format="boolean" /> </declare-styleable> <declare-styleable name="AnimationSet"> @@ -7918,10 +7987,6 @@ android.content.pm.PackageInfo#getLongVersionCode()} for the target package. --> <attr name="maxLongVersionCode" format="string" /> - <!-- The resource id of view that contains the URL bar of the HTML page being loaded. - Typically used when compatibility mode is used in a browser. - --> - <attr name="urlBarResourceId" format="string" /> </declare-styleable> <!-- =============================== --> @@ -8000,6 +8065,8 @@ <attr name="icon"/> <!-- The activity to launch when the setting is clicked on. --> <attr name="settingsActivity"/> + <!-- The user restriction for this preference. --> + <attr name="userRestriction"/> </declare-styleable> <!-- =============================== --> |