chore: update android attrs (platform-36_r02) (PR #2638)
This commit is contained in:
@@ -606,11 +606,9 @@
|
|||||||
<!-- ============ -->
|
<!-- ============ -->
|
||||||
<eat-comment />
|
<eat-comment />
|
||||||
<attr name="floatingToolbarCloseDrawable" format="reference" />
|
<attr name="floatingToolbarCloseDrawable" format="reference" />
|
||||||
<attr name="floatingToolbarForegroundColor" format="reference|color" />
|
|
||||||
<attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
|
<attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
|
||||||
<attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
|
<attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
|
||||||
<attr name="floatingToolbarOpenDrawable" format="reference" />
|
<attr name="floatingToolbarOpenDrawable" format="reference" />
|
||||||
<attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
|
|
||||||
<attr name="floatingToolbarDividerColor" format="reference" />
|
<attr name="floatingToolbarDividerColor" format="reference" />
|
||||||
|
|
||||||
<!-- ============ -->
|
<!-- ============ -->
|
||||||
@@ -1080,6 +1078,11 @@
|
|||||||
<!-- Background color to use for tooltip popups. -->
|
<!-- Background color to use for tooltip popups. -->
|
||||||
<attr name="tooltipBackgroundColor" format="reference|color" />
|
<attr name="tooltipBackgroundColor" format="reference|color" />
|
||||||
|
|
||||||
|
<attr name="tooltipCornerRadius" format="dimension" />
|
||||||
|
<attr name="tooltipHorizontalPadding" format="dimension" />
|
||||||
|
<attr name="tooltipVerticalPadding" format="dimension" />
|
||||||
|
<attr name="tooltipFontSize" format="dimension" />
|
||||||
|
|
||||||
<!-- Theme to use for Search Dialogs. -->
|
<!-- Theme to use for Search Dialogs. -->
|
||||||
<attr name="searchDialogTheme" format="reference" />
|
<attr name="searchDialogTheme" format="reference" />
|
||||||
|
|
||||||
@@ -1214,183 +1217,6 @@
|
|||||||
a value of 'true' will not override any 'false' value in its parent chain nor will
|
a value of 'true' will not override any 'false' value in its parent chain nor will
|
||||||
it prevent any 'false' in any of its children. -->
|
it prevent any 'false' in any of its children. -->
|
||||||
<attr name="forceDarkAllowed" format="boolean" />
|
<attr name="forceDarkAllowed" format="boolean" />
|
||||||
|
|
||||||
<!-- A lower-emphasized variant of the color on the fixed secondary branding color. @hide
|
|
||||||
-->
|
|
||||||
<attr name="materialColorOnSecondaryFixedVariant" format="color"/>
|
|
||||||
<!-- A lower-emphasized variant of the color on the fixed tertiary branding color. @hide
|
|
||||||
-->
|
|
||||||
<attr name="materialColorOnTertiaryFixedVariant" format="color"/>
|
|
||||||
<!-- The container color of surface the most lowered. @hide -->
|
|
||||||
<attr name="materialColorSurfaceContainerLowest" format="color"/>
|
|
||||||
<!-- A lower-emphasized variant of the color on the fixed primary branding color. @hide -->
|
|
||||||
<attr name="materialColorOnPrimaryFixedVariant" format="color"/>
|
|
||||||
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
|
|
||||||
the secondary container color. @hide -->
|
|
||||||
<attr name="materialColorOnSecondaryContainer" format="color"/>
|
|
||||||
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
|
|
||||||
the tertiary container color. @hide -->
|
|
||||||
<attr name="materialColorOnTertiaryContainer" format="color"/>
|
|
||||||
<!-- The container color of surface slightly lowered, which replaces the previous surface
|
|
||||||
at elevation level 1. @hide -->
|
|
||||||
<attr name="materialColorSurfaceContainerLow" format="color"/>
|
|
||||||
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
|
|
||||||
the primary container color. @hide -->
|
|
||||||
<attr name="materialColorOnPrimaryContainer" format="color"/>
|
|
||||||
<!-- A stronger, more emphasized variant of the fixed secondary branding color. @hide -->
|
|
||||||
<attr name="materialColorSecondaryFixedDim" format="color"/>
|
|
||||||
<!-- A tonal variation of the on error color that passes accessibility guidelines for
|
|
||||||
text/iconography when drawn on top of error container. @hide -->
|
|
||||||
<attr name="materialColorOnErrorContainer" format="color"/>
|
|
||||||
<!-- The color text/iconography when drawn on top of the fixed secondary branding color.
|
|
||||||
@hide -->
|
|
||||||
<attr name="materialColorOnSecondaryFixed" format="color"/>
|
|
||||||
<!-- The "on surface" inverse color, useful for inverted backgrounds. @hide -->
|
|
||||||
<attr name="materialColorOnSurfaceInverse" format="color"/>
|
|
||||||
<!-- A stronger, more emphasized variant of the fixed tertiary branding color. @hide -->
|
|
||||||
<attr name="materialColorTertiaryFixedDim" format="color"/>
|
|
||||||
<!-- The color text/iconography when drawn on top of the fixed tertiary branding color.
|
|
||||||
@hide -->
|
|
||||||
<attr name="materialColorOnTertiaryFixed" format="color"/>
|
|
||||||
<!-- A stronger, more emphasized variant of the fixed primary branding color. @hide -->
|
|
||||||
<attr name="materialColorPrimaryFixedDim" format="color"/>
|
|
||||||
<!-- A tonal variation of the secondary color suitable for background color of container
|
|
||||||
views. @hide -->
|
|
||||||
<attr name="materialColorSecondaryContainer" format="color"/>
|
|
||||||
<!-- A tonal variation of the error color suitable for background color of container views.
|
|
||||||
@hide -->
|
|
||||||
<attr name="materialColorErrorContainer" format="color"/>
|
|
||||||
<!-- The color text/iconography when drawn on top of the fixed primary branding color.
|
|
||||||
@hide -->
|
|
||||||
<attr name="materialColorOnPrimaryFixed" format="color"/>
|
|
||||||
<!-- The inverse color of colorPrimary. @hide -->
|
|
||||||
<attr name="materialColorPrimaryInverse" format="color"/>
|
|
||||||
<!-- A secondary branding color for the app, which stays the same between light and dark
|
|
||||||
themes. @hide -->
|
|
||||||
<attr name="materialColorSecondaryFixed" format="color"/>
|
|
||||||
<!-- The surface inverse color, useful for inverted backgrounds. @hide -->
|
|
||||||
<attr name="materialColorSurfaceInverse" format="color"/>
|
|
||||||
<!-- A tonal variation of the surface color. @hide -->
|
|
||||||
<attr name="materialColorSurfaceVariant" format="color"/>
|
|
||||||
<!-- A tonal variation of the tertiary color suitable for background color of container
|
|
||||||
views. @hide -->
|
|
||||||
<attr name="materialColorTertiaryContainer" format="color"/>
|
|
||||||
<!-- A tertiary branding color for the app, which stays the same between light and dark
|
|
||||||
themes. @hide -->
|
|
||||||
<attr name="materialColorTertiaryFixed" format="color"/>
|
|
||||||
<!-- A tonal variation of the primary color suitable for background color of container
|
|
||||||
views. @hide -->
|
|
||||||
<attr name="materialColorPrimaryContainer" format="color"/>
|
|
||||||
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
|
|
||||||
background. @hide -->
|
|
||||||
<attr name="materialColorOnBackground" format="color"/>
|
|
||||||
<!-- A primary branding color for the app, which stays the same between light and dark
|
|
||||||
themes. @hide -->
|
|
||||||
<attr name="materialColorPrimaryFixed" format="color"/>
|
|
||||||
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
|
|
||||||
secondary. @hide -->
|
|
||||||
<attr name="materialColorOnSecondary" format="color"/>
|
|
||||||
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
|
|
||||||
tertiary. @hide -->
|
|
||||||
<attr name="materialColorOnTertiary" format="color"/>
|
|
||||||
<!-- The surface color which always stay the dimmest in either dark or light theme. @hide
|
|
||||||
-->
|
|
||||||
<attr name="materialColorSurfaceDim" format="color"/>
|
|
||||||
<!-- The surface color which always stay the brightest in either dark or light theme. @hide
|
|
||||||
-->
|
|
||||||
<attr name="materialColorSurfaceBright" format="color"/>
|
|
||||||
<!-- The secondary branding color for the app, usually a bright complement to the primary
|
|
||||||
branding color. @hide -->
|
|
||||||
<attr name="materialColorSecondary" format="color"/>
|
|
||||||
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
|
|
||||||
error. @hide -->
|
|
||||||
<attr name="materialColorOnError" format="color"/>
|
|
||||||
<!-- The color of surfaces such as cards, sheets, menus. @hide -->
|
|
||||||
<attr name="materialColorSurface" format="color"/>
|
|
||||||
<!-- The container color of surface slightly elevated, which replaces the previous surface
|
|
||||||
at elevation level 3. @hide -->
|
|
||||||
<attr name="materialColorSurfaceContainerHigh" format="color"/>
|
|
||||||
<!-- The tertiary branding color for the app, usually a bright complement to the primary
|
|
||||||
branding color. @hide -->
|
|
||||||
<attr name="materialColorTertiary" format="color"/>
|
|
||||||
<!-- The container color of surface the most elevated, which replaces the previous surface
|
|
||||||
variant. @hide -->
|
|
||||||
<attr name="materialColorSurfaceContainerHighest" format="color"/>
|
|
||||||
<!-- A tonal variation of the on surface color that passes accessibility guidelines for
|
|
||||||
text/iconography when drawn on top of surface variant. @hide -->
|
|
||||||
<attr name="materialColorOnSurfaceVariant" format="color"/>
|
|
||||||
<!-- A color meant to be used in element outlines. @hide -->
|
|
||||||
<attr name="materialColorOutline" format="color"/>
|
|
||||||
<!-- A color meant to be used in element outlines on the surface-variant color. @hide -->
|
|
||||||
<attr name="materialColorOutlineVariant" format="color"/>
|
|
||||||
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
|
|
||||||
primary. @hide -->
|
|
||||||
<attr name="materialColorOnPrimary" format="color"/>
|
|
||||||
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top of
|
|
||||||
surface. @hide -->
|
|
||||||
<attr name="materialColorOnSurface" format="color"/>
|
|
||||||
<!-- The container color of surface, which replaces the previous surface at elevation level
|
|
||||||
2. @hide -->
|
|
||||||
<attr name="materialColorSurfaceContainer" format="color"/>
|
|
||||||
<!-- The container color of surface, which replaces the previous surface at elevation level
|
|
||||||
2. @hide -->
|
|
||||||
<attr name="materialColorSurfaceContainer" format="color"/>
|
|
||||||
<!-- The primary branding color for the app. By default, this is the color applied to the
|
|
||||||
action bar background. @hide -->
|
|
||||||
<attr name="materialColorPrimary" format="color"/>
|
|
||||||
<!-- The secondary branding color for the app, usually a bright complement to the primary
|
|
||||||
branding color. @hide -->
|
|
||||||
<attr name="materialColorSecondary" format="color"/>
|
|
||||||
<!-- A color that passes accessibility guidelines for text/iconography when drawn on top
|
|
||||||
of tertiary. @hide -->
|
|
||||||
<attr name="materialColorTertiary" format="color"/>
|
|
||||||
<!-- The error color for the app, intended to draw attention to error conditions. @hide -->
|
|
||||||
<attr name="materialColorError" format="color"/>
|
|
||||||
|
|
||||||
<!-- System Custom Tokens-->
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorWidgetBackground" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorClockHour" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorClockMinute" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorClockSecond" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorThemeApp" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorOnThemeApp" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorThemeAppRing" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorOnThemeAppRing" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorBrandA" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorBrandB" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorBrandC" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorBrandD" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorUnderSurface" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorShadeActive" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorOnShadeActive" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorOnShadeActiveVariant" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorShadeInactive" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorOnShadeInactive" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorOnShadeInactiveVariant" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorShadeDisabled" format="color"/>
|
|
||||||
<!-- @hide -->
|
|
||||||
<attr name="customColorOverviewBackground" format="color"/>
|
|
||||||
|
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- **************************************************************** -->
|
<!-- **************************************************************** -->
|
||||||
@@ -2186,6 +2012,344 @@
|
|||||||
<enum name="KEYCODE_DEMO_APP_2" value="302" />
|
<enum name="KEYCODE_DEMO_APP_2" value="302" />
|
||||||
<enum name="KEYCODE_DEMO_APP_3" value="303" />
|
<enum name="KEYCODE_DEMO_APP_3" value="303" />
|
||||||
<enum name="KEYCODE_DEMO_APP_4" value="304" />
|
<enum name="KEYCODE_DEMO_APP_4" value="304" />
|
||||||
|
<enum name="KEYCODE_KEYBOARD_BACKLIGHT_DOWN" value="305" />
|
||||||
|
<enum name="KEYCODE_KEYBOARD_BACKLIGHT_UP" value="306" />
|
||||||
|
<enum name="KEYCODE_KEYBOARD_BACKLIGHT_TOGGLE" value="307" />
|
||||||
|
<enum name="KEYCODE_STYLUS_BUTTON_PRIMARY" value="308" />
|
||||||
|
<enum name="KEYCODE_STYLUS_BUTTON_SECONDARY" value="309" />
|
||||||
|
<enum name="KEYCODE_STYLUS_BUTTON_TERTIARY" value="310" />
|
||||||
|
<enum name="KEYCODE_STYLUS_BUTTON_TAIL" value="311" />
|
||||||
|
<enum name="KEYCODE_RECENT_APPS" value="312" />
|
||||||
|
<enum name="KEYCODE_MACRO_1" value="313" />
|
||||||
|
<enum name="KEYCODE_MACRO_2" value="314" />
|
||||||
|
<enum name="KEYCODE_MACRO_3" value="315" />
|
||||||
|
<enum name="KEYCODE_MACRO_4" value="316" />
|
||||||
|
<enum name="KEYCODE_EMOJI_PICKER" value="317" />
|
||||||
|
<enum name="KEYCODE_SCREENSHOT" value="318" />
|
||||||
|
</attr>
|
||||||
|
|
||||||
|
<!-- @hide same as keycode enum defined above, but to be used to define keycode output.
|
||||||
|
(redefining it to allow keycode and outKeycode to be part of same styleable attribute) -->
|
||||||
|
<attr name="outKeycode">
|
||||||
|
<enum name="KEYCODE_UNKNOWN" value="0" />
|
||||||
|
<enum name="KEYCODE_SOFT_LEFT" value="1" />
|
||||||
|
<enum name="KEYCODE_SOFT_RIGHT" value="2" />
|
||||||
|
<enum name="KEYCODE_HOME" value="3" />
|
||||||
|
<enum name="KEYCODE_BACK" value="4" />
|
||||||
|
<enum name="KEYCODE_CALL" value="5" />
|
||||||
|
<enum name="KEYCODE_ENDCALL" value="6" />
|
||||||
|
<enum name="KEYCODE_0" value="7" />
|
||||||
|
<enum name="KEYCODE_1" value="8" />
|
||||||
|
<enum name="KEYCODE_2" value="9" />
|
||||||
|
<enum name="KEYCODE_3" value="10" />
|
||||||
|
<enum name="KEYCODE_4" value="11" />
|
||||||
|
<enum name="KEYCODE_5" value="12" />
|
||||||
|
<enum name="KEYCODE_6" value="13" />
|
||||||
|
<enum name="KEYCODE_7" value="14" />
|
||||||
|
<enum name="KEYCODE_8" value="15" />
|
||||||
|
<enum name="KEYCODE_9" value="16" />
|
||||||
|
<enum name="KEYCODE_STAR" value="17" />
|
||||||
|
<enum name="KEYCODE_POUND" value="18" />
|
||||||
|
<enum name="KEYCODE_DPAD_UP" value="19" />
|
||||||
|
<enum name="KEYCODE_DPAD_DOWN" value="20" />
|
||||||
|
<enum name="KEYCODE_DPAD_LEFT" value="21" />
|
||||||
|
<enum name="KEYCODE_DPAD_RIGHT" value="22" />
|
||||||
|
<enum name="KEYCODE_DPAD_CENTER" value="23" />
|
||||||
|
<enum name="KEYCODE_VOLUME_UP" value="24" />
|
||||||
|
<enum name="KEYCODE_VOLUME_DOWN" value="25" />
|
||||||
|
<enum name="KEYCODE_POWER" value="26" />
|
||||||
|
<enum name="KEYCODE_CAMERA" value="27" />
|
||||||
|
<enum name="KEYCODE_CLEAR" value="28" />
|
||||||
|
<enum name="KEYCODE_A" value="29" />
|
||||||
|
<enum name="KEYCODE_B" value="30" />
|
||||||
|
<enum name="KEYCODE_C" value="31" />
|
||||||
|
<enum name="KEYCODE_D" value="32" />
|
||||||
|
<enum name="KEYCODE_E" value="33" />
|
||||||
|
<enum name="KEYCODE_F" value="34" />
|
||||||
|
<enum name="KEYCODE_G" value="35" />
|
||||||
|
<enum name="KEYCODE_H" value="36" />
|
||||||
|
<enum name="KEYCODE_I" value="37" />
|
||||||
|
<enum name="KEYCODE_J" value="38" />
|
||||||
|
<enum name="KEYCODE_K" value="39" />
|
||||||
|
<enum name="KEYCODE_L" value="40" />
|
||||||
|
<enum name="KEYCODE_M" value="41" />
|
||||||
|
<enum name="KEYCODE_N" value="42" />
|
||||||
|
<enum name="KEYCODE_O" value="43" />
|
||||||
|
<enum name="KEYCODE_P" value="44" />
|
||||||
|
<enum name="KEYCODE_Q" value="45" />
|
||||||
|
<enum name="KEYCODE_R" value="46" />
|
||||||
|
<enum name="KEYCODE_S" value="47" />
|
||||||
|
<enum name="KEYCODE_T" value="48" />
|
||||||
|
<enum name="KEYCODE_U" value="49" />
|
||||||
|
<enum name="KEYCODE_V" value="50" />
|
||||||
|
<enum name="KEYCODE_W" value="51" />
|
||||||
|
<enum name="KEYCODE_X" value="52" />
|
||||||
|
<enum name="KEYCODE_Y" value="53" />
|
||||||
|
<enum name="KEYCODE_Z" value="54" />
|
||||||
|
<enum name="KEYCODE_COMMA" value="55" />
|
||||||
|
<enum name="KEYCODE_PERIOD" value="56" />
|
||||||
|
<enum name="KEYCODE_ALT_LEFT" value="57" />
|
||||||
|
<enum name="KEYCODE_ALT_RIGHT" value="58" />
|
||||||
|
<enum name="KEYCODE_SHIFT_LEFT" value="59" />
|
||||||
|
<enum name="KEYCODE_SHIFT_RIGHT" value="60" />
|
||||||
|
<enum name="KEYCODE_TAB" value="61" />
|
||||||
|
<enum name="KEYCODE_SPACE" value="62" />
|
||||||
|
<enum name="KEYCODE_SYM" value="63" />
|
||||||
|
<enum name="KEYCODE_EXPLORER" value="64" />
|
||||||
|
<enum name="KEYCODE_ENVELOPE" value="65" />
|
||||||
|
<enum name="KEYCODE_ENTER" value="66" />
|
||||||
|
<enum name="KEYCODE_DEL" value="67" />
|
||||||
|
<enum name="KEYCODE_GRAVE" value="68" />
|
||||||
|
<enum name="KEYCODE_MINUS" value="69" />
|
||||||
|
<enum name="KEYCODE_EQUALS" value="70" />
|
||||||
|
<enum name="KEYCODE_LEFT_BRACKET" value="71" />
|
||||||
|
<enum name="KEYCODE_RIGHT_BRACKET" value="72" />
|
||||||
|
<enum name="KEYCODE_BACKSLASH" value="73" />
|
||||||
|
<enum name="KEYCODE_SEMICOLON" value="74" />
|
||||||
|
<enum name="KEYCODE_APOSTROPHE" value="75" />
|
||||||
|
<enum name="KEYCODE_SLASH" value="76" />
|
||||||
|
<enum name="KEYCODE_AT" value="77" />
|
||||||
|
<enum name="KEYCODE_NUM" value="78" />
|
||||||
|
<enum name="KEYCODE_HEADSETHOOK" value="79" />
|
||||||
|
<enum name="KEYCODE_FOCUS" value="80" />
|
||||||
|
<enum name="KEYCODE_PLUS" value="81" />
|
||||||
|
<enum name="KEYCODE_MENU" value="82" />
|
||||||
|
<enum name="KEYCODE_NOTIFICATION" value="83" />
|
||||||
|
<enum name="KEYCODE_SEARCH" value="84" />
|
||||||
|
<enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
|
||||||
|
<enum name="KEYCODE_MEDIA_STOP" value="86" />
|
||||||
|
<enum name="KEYCODE_MEDIA_NEXT" value="87" />
|
||||||
|
<enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
|
||||||
|
<enum name="KEYCODE_MEDIA_REWIND" value="89" />
|
||||||
|
<enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
|
||||||
|
<enum name="KEYCODE_MUTE" value="91" />
|
||||||
|
<enum name="KEYCODE_PAGE_UP" value="92" />
|
||||||
|
<enum name="KEYCODE_PAGE_DOWN" value="93" />
|
||||||
|
<enum name="KEYCODE_PICTSYMBOLS" value="94" />
|
||||||
|
<enum name="KEYCODE_SWITCH_CHARSET" value="95" />
|
||||||
|
<enum name="KEYCODE_BUTTON_A" value="96" />
|
||||||
|
<enum name="KEYCODE_BUTTON_B" value="97" />
|
||||||
|
<enum name="KEYCODE_BUTTON_C" value="98" />
|
||||||
|
<enum name="KEYCODE_BUTTON_X" value="99" />
|
||||||
|
<enum name="KEYCODE_BUTTON_Y" value="100" />
|
||||||
|
<enum name="KEYCODE_BUTTON_Z" value="101" />
|
||||||
|
<enum name="KEYCODE_BUTTON_L1" value="102" />
|
||||||
|
<enum name="KEYCODE_BUTTON_R1" value="103" />
|
||||||
|
<enum name="KEYCODE_BUTTON_L2" value="104" />
|
||||||
|
<enum name="KEYCODE_BUTTON_R2" value="105" />
|
||||||
|
<enum name="KEYCODE_BUTTON_THUMBL" value="106" />
|
||||||
|
<enum name="KEYCODE_BUTTON_THUMBR" value="107" />
|
||||||
|
<enum name="KEYCODE_BUTTON_START" value="108" />
|
||||||
|
<enum name="KEYCODE_BUTTON_SELECT" value="109" />
|
||||||
|
<enum name="KEYCODE_BUTTON_MODE" value="110" />
|
||||||
|
<enum name="KEYCODE_ESCAPE" value="111" />
|
||||||
|
<enum name="KEYCODE_FORWARD_DEL" value="112" />
|
||||||
|
<enum name="KEYCODE_CTRL_LEFT" value="113" />
|
||||||
|
<enum name="KEYCODE_CTRL_RIGHT" value="114" />
|
||||||
|
<enum name="KEYCODE_CAPS_LOCK" value="115" />
|
||||||
|
<enum name="KEYCODE_SCROLL_LOCK" value="116" />
|
||||||
|
<enum name="KEYCODE_META_LEFT" value="117" />
|
||||||
|
<enum name="KEYCODE_META_RIGHT" value="118" />
|
||||||
|
<enum name="KEYCODE_FUNCTION" value="119" />
|
||||||
|
<enum name="KEYCODE_SYSRQ" value="120" />
|
||||||
|
<enum name="KEYCODE_BREAK" value="121" />
|
||||||
|
<enum name="KEYCODE_MOVE_HOME" value="122" />
|
||||||
|
<enum name="KEYCODE_MOVE_END" value="123" />
|
||||||
|
<enum name="KEYCODE_INSERT" value="124" />
|
||||||
|
<enum name="KEYCODE_FORWARD" value="125" />
|
||||||
|
<enum name="KEYCODE_MEDIA_PLAY" value="126" />
|
||||||
|
<enum name="KEYCODE_MEDIA_PAUSE" value="127" />
|
||||||
|
<enum name="KEYCODE_MEDIA_CLOSE" value="128" />
|
||||||
|
<enum name="KEYCODE_MEDIA_EJECT" value="129" />
|
||||||
|
<enum name="KEYCODE_MEDIA_RECORD" value="130" />
|
||||||
|
<enum name="KEYCODE_F1" value="131" />
|
||||||
|
<enum name="KEYCODE_F2" value="132" />
|
||||||
|
<enum name="KEYCODE_F3" value="133" />
|
||||||
|
<enum name="KEYCODE_F4" value="134" />
|
||||||
|
<enum name="KEYCODE_F5" value="135" />
|
||||||
|
<enum name="KEYCODE_F6" value="136" />
|
||||||
|
<enum name="KEYCODE_F7" value="137" />
|
||||||
|
<enum name="KEYCODE_F8" value="138" />
|
||||||
|
<enum name="KEYCODE_F9" value="139" />
|
||||||
|
<enum name="KEYCODE_F10" value="140" />
|
||||||
|
<enum name="KEYCODE_F11" value="141" />
|
||||||
|
<enum name="KEYCODE_F12" value="142" />
|
||||||
|
<enum name="KEYCODE_NUM_LOCK" value="143" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_0" value="144" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_1" value="145" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_2" value="146" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_3" value="147" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_4" value="148" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_5" value="149" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_6" value="150" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_7" value="151" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_8" value="152" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_9" value="153" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_ADD" value="157" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_DOT" value="158" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_COMMA" value="159" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_ENTER" value="160" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
|
||||||
|
<enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
|
||||||
|
<enum name="KEYCODE_VOLUME_MUTE" value="164" />
|
||||||
|
<enum name="KEYCODE_INFO" value="165" />
|
||||||
|
<enum name="KEYCODE_CHANNEL_UP" value="166" />
|
||||||
|
<enum name="KEYCODE_CHANNEL_DOWN" value="167" />
|
||||||
|
<enum name="KEYCODE_ZOOM_IN" value="168" />
|
||||||
|
<enum name="KEYCODE_ZOOM_OUT" value="169" />
|
||||||
|
<enum name="KEYCODE_TV" value="170" />
|
||||||
|
<enum name="KEYCODE_WINDOW" value="171" />
|
||||||
|
<enum name="KEYCODE_GUIDE" value="172" />
|
||||||
|
<enum name="KEYCODE_DVR" value="173" />
|
||||||
|
<enum name="KEYCODE_BOOKMARK" value="174" />
|
||||||
|
<enum name="KEYCODE_CAPTIONS" value="175" />
|
||||||
|
<enum name="KEYCODE_SETTINGS" value="176" />
|
||||||
|
<enum name="KEYCODE_TV_POWER" value="177" />
|
||||||
|
<enum name="KEYCODE_TV_INPUT" value="178" />
|
||||||
|
<enum name="KEYCODE_STB_POWER" value="179" />
|
||||||
|
<enum name="KEYCODE_STB_INPUT" value="180" />
|
||||||
|
<enum name="KEYCODE_AVR_POWER" value="181" />
|
||||||
|
<enum name="KEYCODE_AVR_INPUT" value="182" />
|
||||||
|
<enum name="KEYCODE_PROG_GRED" value="183" />
|
||||||
|
<enum name="KEYCODE_PROG_GREEN" value="184" />
|
||||||
|
<enum name="KEYCODE_PROG_YELLOW" value="185" />
|
||||||
|
<enum name="KEYCODE_PROG_BLUE" value="186" />
|
||||||
|
<enum name="KEYCODE_APP_SWITCH" value="187" />
|
||||||
|
<enum name="KEYCODE_BUTTON_1" value="188" />
|
||||||
|
<enum name="KEYCODE_BUTTON_2" value="189" />
|
||||||
|
<enum name="KEYCODE_BUTTON_3" value="190" />
|
||||||
|
<enum name="KEYCODE_BUTTON_4" value="191" />
|
||||||
|
<enum name="KEYCODE_BUTTON_5" value="192" />
|
||||||
|
<enum name="KEYCODE_BUTTON_6" value="193" />
|
||||||
|
<enum name="KEYCODE_BUTTON_7" value="194" />
|
||||||
|
<enum name="KEYCODE_BUTTON_8" value="195" />
|
||||||
|
<enum name="KEYCODE_BUTTON_9" value="196" />
|
||||||
|
<enum name="KEYCODE_BUTTON_10" value="197" />
|
||||||
|
<enum name="KEYCODE_BUTTON_11" value="198" />
|
||||||
|
<enum name="KEYCODE_BUTTON_12" value="199" />
|
||||||
|
<enum name="KEYCODE_BUTTON_13" value="200" />
|
||||||
|
<enum name="KEYCODE_BUTTON_14" value="201" />
|
||||||
|
<enum name="KEYCODE_BUTTON_15" value="202" />
|
||||||
|
<enum name="KEYCODE_BUTTON_16" value="203" />
|
||||||
|
<enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
|
||||||
|
<enum name="KEYCODE_MANNER_MODE" value="205" />
|
||||||
|
<enum name="KEYCODE_3D_MODE" value="206" />
|
||||||
|
<enum name="KEYCODE_CONTACTS" value="207" />
|
||||||
|
<enum name="KEYCODE_CALENDAR" value="208" />
|
||||||
|
<enum name="KEYCODE_MUSIC" value="209" />
|
||||||
|
<enum name="KEYCODE_CALCULATOR" value="210" />
|
||||||
|
<enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
|
||||||
|
<enum name="KEYCODE_EISU" value="212" />
|
||||||
|
<enum name="KEYCODE_MUHENKAN" value="213" />
|
||||||
|
<enum name="KEYCODE_HENKAN" value="214" />
|
||||||
|
<enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
|
||||||
|
<enum name="KEYCODE_YEN" value="216" />
|
||||||
|
<enum name="KEYCODE_RO" value="217" />
|
||||||
|
<enum name="KEYCODE_KANA" value="218" />
|
||||||
|
<enum name="KEYCODE_ASSIST" value="219" />
|
||||||
|
<enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
|
||||||
|
<enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
|
||||||
|
<enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
|
||||||
|
<enum name="KEYCODE_MEDIA_SLEEP" value="223" />
|
||||||
|
<enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
|
||||||
|
<enum name="KEYCODE_PAIRING" value="225" />
|
||||||
|
<enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
|
||||||
|
<enum name="KEYCODE_11" value="227" />
|
||||||
|
<enum name="KEYCODE_12" value="228" />
|
||||||
|
<enum name="KEYCODE_LAST_CHANNEL" value="229" />
|
||||||
|
<enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
|
||||||
|
<enum name="KEYCODE_VOICE_ASSIST" value="231" />
|
||||||
|
<enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
|
||||||
|
<enum name="KEYCODE_TV_TELETEXT" value="233" />
|
||||||
|
<enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
|
||||||
|
<enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
|
||||||
|
<enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
|
||||||
|
<enum name="KEYCODE_TV_SATELLITE" value="237" />
|
||||||
|
<enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
|
||||||
|
<enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
|
||||||
|
<enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
|
||||||
|
<enum name="KEYCODE_TV_NETWORK" value="241" />
|
||||||
|
<enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
|
||||||
|
<enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
|
||||||
|
<enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
|
||||||
|
<enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
|
||||||
|
<enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
|
||||||
|
<enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
|
||||||
|
<enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
|
||||||
|
<enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
|
||||||
|
<enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
|
||||||
|
<enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
|
||||||
|
<enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
|
||||||
|
<enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
|
||||||
|
<enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
|
||||||
|
<enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
|
||||||
|
<enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
|
||||||
|
<enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
|
||||||
|
<enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
|
||||||
|
<enum name="KEYCODE_HELP" value="259" />
|
||||||
|
<enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
|
||||||
|
<enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
|
||||||
|
<enum name="KEYCODE_NAVIGATE_IN" value="262" />
|
||||||
|
<enum name="KEYCODE_NAVIGATE_OUT" value="263" />
|
||||||
|
<enum name="KEYCODE_STEM_PRIMARY" value="264" />
|
||||||
|
<enum name="KEYCODE_STEM_1" value="265" />
|
||||||
|
<enum name="KEYCODE_STEM_2" value="266" />
|
||||||
|
<enum name="KEYCODE_STEM_3" value="267" />
|
||||||
|
<enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
|
||||||
|
<enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
|
||||||
|
<enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
|
||||||
|
<enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
|
||||||
|
<enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
|
||||||
|
<enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
|
||||||
|
<enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
|
||||||
|
<enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
|
||||||
|
<enum name="KEYCODE_SOFT_SLEEP" value="276" />
|
||||||
|
<enum name="KEYCODE_CUT" value="277" />
|
||||||
|
<enum name="KEYCODE_COPY" value="278" />
|
||||||
|
<enum name="KEYCODE_PASTE" value="279" />
|
||||||
|
<enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" />
|
||||||
|
<enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" />
|
||||||
|
<enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
|
||||||
|
<enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
|
||||||
|
<enum name="KEYCODE_ALL_APPS" value="284" />
|
||||||
|
<enum name="KEYCODE_REFRESH" value="285" />
|
||||||
|
<enum name="KEYCODE_THUMBS_UP" value="286" />
|
||||||
|
<enum name="KEYCODE_THUMBS_DOWN" value="287" />
|
||||||
|
<enum name="KEYCODE_PROFILE_SWITCH" value="288" />
|
||||||
|
<enum name="KEYCODE_VIDEO_APP_1" value="289" />
|
||||||
|
<enum name="KEYCODE_VIDEO_APP_2" value="290" />
|
||||||
|
<enum name="KEYCODE_VIDEO_APP_3" value="291" />
|
||||||
|
<enum name="KEYCODE_VIDEO_APP_4" value="292" />
|
||||||
|
<enum name="KEYCODE_VIDEO_APP_5" value="293" />
|
||||||
|
<enum name="KEYCODE_VIDEO_APP_6" value="294" />
|
||||||
|
<enum name="KEYCODE_VIDEO_APP_7" value="295" />
|
||||||
|
<enum name="KEYCODE_VIDEO_APP_8" value="296" />
|
||||||
|
<enum name="KEYCODE_FEATURED_APP_1" value="297" />
|
||||||
|
<enum name="KEYCODE_FEATURED_APP_2" value="298" />
|
||||||
|
<enum name="KEYCODE_FEATURED_APP_3" value="299" />
|
||||||
|
<enum name="KEYCODE_FEATURED_APP_4" value="300" />
|
||||||
|
<enum name="KEYCODE_DEMO_APP_1" value="301" />
|
||||||
|
<enum name="KEYCODE_DEMO_APP_2" value="302" />
|
||||||
|
<enum name="KEYCODE_DEMO_APP_3" value="303" />
|
||||||
|
<enum name="KEYCODE_DEMO_APP_4" value="304" />
|
||||||
|
<enum name="KEYCODE_KEYBOARD_BACKLIGHT_DOWN" value="305" />
|
||||||
|
<enum name="KEYCODE_KEYBOARD_BACKLIGHT_UP" value="306" />
|
||||||
|
<enum name="KEYCODE_KEYBOARD_BACKLIGHT_TOGGLE" value="307" />
|
||||||
|
<enum name="KEYCODE_STYLUS_BUTTON_PRIMARY" value="308" />
|
||||||
|
<enum name="KEYCODE_STYLUS_BUTTON_SECONDARY" value="309" />
|
||||||
|
<enum name="KEYCODE_STYLUS_BUTTON_TERTIARY" value="310" />
|
||||||
|
<enum name="KEYCODE_STYLUS_BUTTON_TAIL" value="311" />
|
||||||
|
<enum name="KEYCODE_RECENT_APPS" value="312" />
|
||||||
|
<enum name="KEYCODE_MACRO_1" value="313" />
|
||||||
|
<enum name="KEYCODE_MACRO_2" value="314" />
|
||||||
|
<enum name="KEYCODE_MACRO_3" value="315" />
|
||||||
|
<enum name="KEYCODE_MACRO_4" value="316" />
|
||||||
|
<enum name="KEYCODE_EMOJI_PICKER" value="317" />
|
||||||
|
<enum name="KEYCODE_SCREENSHOT" value="318" />
|
||||||
</attr>
|
</attr>
|
||||||
|
|
||||||
<!-- ***************************************************************** -->
|
<!-- ***************************************************************** -->
|
||||||
@@ -2573,7 +2737,7 @@
|
|||||||
The default is true. -->
|
The default is true. -->
|
||||||
<attr name="windowIsFrameRatePowerSavingsBalanced" format="boolean"/>
|
<attr name="windowIsFrameRatePowerSavingsBalanced" format="boolean"/>
|
||||||
|
|
||||||
<!-- Flag indicating whether this window would opt-out the edge-to-edge enforcement.
|
<!-- Flag indicating whether this window would opt out the edge-to-edge enforcement.
|
||||||
|
|
||||||
<p>If this is false, the edge-to-edge enforcement will be applied to the window if it
|
<p>If this is false, the edge-to-edge enforcement will be applied to the window if it
|
||||||
belongs to an app targeting
|
belongs to an app targeting
|
||||||
@@ -2589,10 +2753,13 @@
|
|||||||
<li>The framework will set {@link android.R.attr#statusBarColor},
|
<li>The framework will set {@link android.R.attr#statusBarColor},
|
||||||
{@link android.R.attr#navigationBarColor}, and
|
{@link android.R.attr#navigationBarColor}, and
|
||||||
{@link android.R.attr#navigationBarDividerColor} to transparent.
|
{@link android.R.attr#navigationBarDividerColor} to transparent.
|
||||||
|
<li>The frameworks will send Configuration no longer considering system insets.
|
||||||
|
The Configuration will be stable regardless of the system insets change.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>If this is true, the edge-to-edge enforcement won't be applied. However, this
|
<p>If this is true, the edge-to-edge enforcement won't be applied. But if the window
|
||||||
attribute will be deprecated and disabled in a future SDK level.
|
belongs to an app targeting {@link android.os.Build.VERSION_CODES#BAKLAVA BAKLAVA} or
|
||||||
|
above, this attribute is ignored and the enforcement is applied regardless.
|
||||||
|
|
||||||
<p>This is false by default. -->
|
<p>This is false by default. -->
|
||||||
<attr name="windowOptOutEdgeToEdgeEnforcement" format="boolean"/>
|
<attr name="windowOptOutEdgeToEdgeEnforcement" format="boolean"/>
|
||||||
@@ -3143,6 +3310,11 @@
|
|||||||
representation this attribute can be used for providing such. -->
|
representation this attribute can be used for providing such. -->
|
||||||
<attr name="contentDescription" format="string" localization="suggested" />
|
<attr name="contentDescription" format="string" localization="suggested" />
|
||||||
|
|
||||||
|
<!-- Provides brief supplemental information for the view, such as the purpose of
|
||||||
|
the view when that purpose is not conveyed within its textual representation.
|
||||||
|
This property is used primarily for accessibility. -->
|
||||||
|
<attr name="supplementalDescription" format="string" localization="suggested" />
|
||||||
|
|
||||||
<!-- Sets the id of a view that screen readers are requested to visit after this view.
|
<!-- Sets the id of a view that screen readers are requested to visit after this view.
|
||||||
Requests that a screen-reader visits the content of this view before the content of the
|
Requests that a screen-reader visits the content of this view before the content of the
|
||||||
one it precedes. This does nothing if either view is not important for accessibility.
|
one it precedes. This does nothing if either view is not important for accessibility.
|
||||||
@@ -3966,7 +4138,7 @@
|
|||||||
<attr name="settingsActivity" format="string" />
|
<attr name="settingsActivity" format="string" />
|
||||||
<!-- Component name of an activity that allows the user to modify
|
<!-- Component name of an activity that allows the user to modify
|
||||||
on-screen keyboards variants (e.g. different language or layout) for this service. -->
|
on-screen keyboards variants (e.g. different language or layout) for this service. -->
|
||||||
<!-- @FlaggedApi("android.view.inputmethod.ime_switcher_revamp") -->
|
<!-- @FlaggedApi("android.view.inputmethod.ime_switcher_revamp_api") -->
|
||||||
<attr name="languageSettingsActivity" format="string"/>
|
<attr name="languageSettingsActivity" format="string"/>
|
||||||
<!-- Set to true in all of the configurations for which this input
|
<!-- Set to true in all of the configurations for which this input
|
||||||
method should be considered an option as the default. -->
|
method should be considered an option as the default. -->
|
||||||
@@ -4069,6 +4241,10 @@
|
|||||||
<declare-styleable name="InputMethod_Subtype">
|
<declare-styleable name="InputMethod_Subtype">
|
||||||
<!-- The name of the subtype. -->
|
<!-- The name of the subtype. -->
|
||||||
<attr name="label" />
|
<attr name="label" />
|
||||||
|
<!-- The layout label of the subtype.
|
||||||
|
{@link android.view.inputmethod.InputMethodSubtype#getLayoutDisplayName} returns the
|
||||||
|
value specified in this attribute. -->
|
||||||
|
<attr name="layoutLabel" format="reference" />
|
||||||
<!-- The icon of the subtype. -->
|
<!-- The icon of the subtype. -->
|
||||||
<attr name="icon" />
|
<attr name="icon" />
|
||||||
<!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR)
|
<!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR)
|
||||||
@@ -4460,6 +4636,12 @@
|
|||||||
<!-- Whether the device should default to observe mode when this service is
|
<!-- Whether the device should default to observe mode when this service is
|
||||||
default or in the foreground. -->
|
default or in the foreground. -->
|
||||||
<attr name="shouldDefaultToObserveMode" format="boolean"/>
|
<attr name="shouldDefaultToObserveMode" format="boolean"/>
|
||||||
|
<!-- Whether this service should share the same AID routing priority as the role
|
||||||
|
owner. This package and the role owner must have the same signature, and the
|
||||||
|
role owner must opt into this behavior by using the property named by
|
||||||
|
{@link android.nfc.cardemulation.CardEmulation.PROPERTY_ALLOW_SHARED_ROLE_PRIORITY }
|
||||||
|
in the <code><application&rt;</code> tag. -->
|
||||||
|
<attr name="wantsRoleHolderPriority" format="boolean"/>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
|
<!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
|
||||||
@@ -4487,6 +4669,7 @@
|
|||||||
<!-- Whether the device should default to observe mode when this service is
|
<!-- Whether the device should default to observe mode when this service is
|
||||||
default or in the foreground. -->
|
default or in the foreground. -->
|
||||||
<attr name="shouldDefaultToObserveMode"/>
|
<attr name="shouldDefaultToObserveMode"/>
|
||||||
|
<attr name="wantsRoleHolderPriority"/>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- Specify one or more <code>aid-group</code> elements inside a
|
<!-- Specify one or more <code>aid-group</code> elements inside a
|
||||||
@@ -4905,6 +5088,11 @@
|
|||||||
the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
|
the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
|
||||||
<attr name="measureAllChildren" format="boolean" />
|
<attr name="measureAllChildren" format="boolean" />
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
<!-- @hide -->
|
||||||
|
<declare-styleable name="MaxHeightFrameLayout">
|
||||||
|
<!-- An optional argument to supply a maximum height for this view. -->
|
||||||
|
<attr name="maxHeight" format="dimension" />
|
||||||
|
</declare-styleable>
|
||||||
<declare-styleable name="ExpandableListView">
|
<declare-styleable name="ExpandableListView">
|
||||||
<!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
|
<!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
|
||||||
<attr name="groupIndicator" format="reference" />
|
<attr name="groupIndicator" format="reference" />
|
||||||
@@ -5383,6 +5571,22 @@
|
|||||||
</attr>
|
</attr>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
|
<!-- @hide internal use only -->
|
||||||
|
<declare-styleable name="NotificationProgressBar">
|
||||||
|
<!-- Minimum required drawing width for segments. The drawing width refers to the width
|
||||||
|
after the original segments have been adjusted for the neighboring Points and gaps.
|
||||||
|
This is enforced by stretching the segments that are too short. -->
|
||||||
|
<attr name="segMinWidth" format="dimension" />
|
||||||
|
<!-- The gap between two segments. -->
|
||||||
|
<attr name="segSegGap" format="dimension" />
|
||||||
|
<!-- The gap between a segment and a point. -->
|
||||||
|
<attr name="segPointGap" format="dimension" />
|
||||||
|
<!-- Draws the tracker on a NotificationProgressBar. -->
|
||||||
|
<attr name="tracker" format="reference" />
|
||||||
|
<!-- Height of the tracker. -->
|
||||||
|
<attr name="trackerHeight" format="dimension" />
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
<declare-styleable name="StackView">
|
<declare-styleable name="StackView">
|
||||||
<!-- Color of the res-out outline. -->
|
<!-- Color of the res-out outline. -->
|
||||||
<attr name="resOutColor" format="color" />
|
<attr name="resOutColor" format="color" />
|
||||||
@@ -6738,6 +6942,8 @@
|
|||||||
<enum name="line" value="2" />
|
<enum name="line" value="2" />
|
||||||
<!-- Ring shape. -->
|
<!-- Ring shape. -->
|
||||||
<enum name="ring" value="3" />
|
<enum name="ring" value="3" />
|
||||||
|
<!-- ARC shape. -->
|
||||||
|
<enum name="arc" value="4"/>
|
||||||
</attr>
|
</attr>
|
||||||
<!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
|
<!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
|
||||||
if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
|
if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
|
||||||
@@ -6770,6 +6976,12 @@
|
|||||||
<attr name="opticalInsetRight" />
|
<attr name="opticalInsetRight" />
|
||||||
<!-- Bottom optical inset. -->
|
<!-- Bottom optical inset. -->
|
||||||
<attr name="opticalInsetBottom" />
|
<attr name="opticalInsetBottom" />
|
||||||
|
<!-- Attributes that customize the stroke line cap. @hide -->
|
||||||
|
<attr name="strokeCap" format="enum">
|
||||||
|
<enum name="butt" value="0"/>
|
||||||
|
<enum name="round" value="1"/>
|
||||||
|
<enum name="square" value="2"/>
|
||||||
|
</attr>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- Used to specify the size of the shape for GradientDrawable. -->
|
<!-- Used to specify the size of the shape for GradientDrawable. -->
|
||||||
@@ -7372,6 +7584,32 @@
|
|||||||
<attr name="animation" />
|
<attr name="animation" />
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
|
<!-- ================================== -->
|
||||||
|
<!-- NotificationProgressDrawable class -->
|
||||||
|
<!-- ================================== -->
|
||||||
|
|
||||||
|
<!-- Used to config the segments of a NotificationProgressDrawable. -->
|
||||||
|
<!-- @hide internal use only -->
|
||||||
|
<declare-styleable name="NotificationProgressDrawableSegments">
|
||||||
|
<!-- Height of the solid segments. -->
|
||||||
|
<attr name="height" />
|
||||||
|
<!-- Height of the faded segments. -->
|
||||||
|
<attr name="fadedHeight" format="dimension" />
|
||||||
|
<!-- Corner radius of the segment rect. -->
|
||||||
|
<attr name="cornerRadius" format="dimension" />
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
|
<!-- Used to config the points of a NotificationProgressDrawable. -->
|
||||||
|
<!-- @hide internal use only -->
|
||||||
|
<declare-styleable name="NotificationProgressDrawablePoints">
|
||||||
|
<!-- Radius (1/2 size) of the point rect. -->
|
||||||
|
<attr name="radius" />
|
||||||
|
<!-- Inset of the point icon or rect. -->
|
||||||
|
<attr name="inset" />
|
||||||
|
<!-- Corner radius of the point rect. -->
|
||||||
|
<attr name="cornerRadius"/>
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- ========================== -->
|
<!-- ========================== -->
|
||||||
<!-- Animation class attributes -->
|
<!-- Animation class attributes -->
|
||||||
<!-- ========================== -->
|
<!-- ========================== -->
|
||||||
@@ -8844,6 +9082,8 @@
|
|||||||
<flag name="home_screen" value="0x1" />
|
<flag name="home_screen" value="0x1" />
|
||||||
<flag name="keyguard" value="0x2" />
|
<flag name="keyguard" value="0x2" />
|
||||||
<flag name="searchbox" value="0x4" />
|
<flag name="searchbox" value="0x4" />
|
||||||
|
<!-- @FlaggedApi("android.appwidget.flags.not_keyguard_category") -->
|
||||||
|
<flag name="not_keyguard" value="0x8" />
|
||||||
</attr>
|
</attr>
|
||||||
<!-- Flags indicating various features supported by the widget. These are hints to the
|
<!-- Flags indicating various features supported by the widget. These are hints to the
|
||||||
widget host, and do not actually change the behavior of the widget. -->
|
widget host, and do not actually change the behavior of the widget. -->
|
||||||
@@ -9700,6 +9940,14 @@
|
|||||||
<attr name="hotSpotY" format="dimension" />
|
<attr name="hotSpotY" format="dimension" />
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
|
<!-- @hide -->
|
||||||
|
<declare-styleable name="PointerIconVectorTheme">
|
||||||
|
<attr name="pointerIconVectorFill" format="color" />
|
||||||
|
<attr name="pointerIconVectorFillInverse" format="color" />
|
||||||
|
<attr name="pointerIconVectorStroke" format="color" />
|
||||||
|
<attr name="pointerIconVectorStrokeInverse" format="color" />
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
<declare-styleable name="Storage">
|
<declare-styleable name="Storage">
|
||||||
<!-- path to mount point for the storage. -->
|
<!-- path to mount point for the storage. -->
|
||||||
<attr name="mountPoint" format="string" />
|
<attr name="mountPoint" format="string" />
|
||||||
@@ -9838,6 +10086,71 @@
|
|||||||
<attr name="productId" format="integer" />
|
<attr name="productId" format="integer" />
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
|
<!-- @hide -->
|
||||||
|
<declare-styleable name="KeyboardGlyphMap">
|
||||||
|
<attr name="glyphMap" format="reference" />
|
||||||
|
<attr name="vendorId" format="integer" />
|
||||||
|
<attr name="productId" format="integer" />
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
|
<!-- @hide -->
|
||||||
|
<declare-styleable name="KeyGlyph">
|
||||||
|
<attr name="keycode" />
|
||||||
|
<attr name="glyphDrawable" format="reference" />
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
|
<!-- @hide -->
|
||||||
|
<declare-styleable name="ModifierGlyph">
|
||||||
|
<!-- The values are taken from public constants for modifier state defined in
|
||||||
|
{@see KeyEvent.java}. Here we explicitly allow only one modifier bit as value, since
|
||||||
|
this represents the modifier key -->
|
||||||
|
<attr name="modifier">
|
||||||
|
<enum name="META" value="0x10000" />
|
||||||
|
<enum name="CTRL" value="0x1000" />
|
||||||
|
<enum name="ALT" value="0x02" />
|
||||||
|
<enum name="SHIFT" value="0x1" />
|
||||||
|
<enum name="SYM" value="0x4" />
|
||||||
|
<enum name="FUNCTION" value="0x8" />
|
||||||
|
<enum name="CAPS_LOCK" value="0x100000" />
|
||||||
|
<enum name="NUM_LOCK" value="0x200000" />
|
||||||
|
<enum name="SCROLL_LOCK" value="0x400000" />
|
||||||
|
</attr>
|
||||||
|
<attr name="glyphDrawable" format="reference" />
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
|
<!-- @hide -->
|
||||||
|
<attr name="modifierState">
|
||||||
|
<flag name="META" value="0x10000" />
|
||||||
|
<flag name="CTRL" value="0x1000" />
|
||||||
|
<flag name="ALT" value="0x02" />
|
||||||
|
<flag name="SHIFT" value="0x1" />
|
||||||
|
<flag name="SYM" value="0x4" />
|
||||||
|
<flag name="FUNCTION" value="0x8" />
|
||||||
|
<flag name="CAPS_LOCK" value="0x100000" />
|
||||||
|
<flag name="NUM_LOCK" value="0x200000" />
|
||||||
|
<flag name="SCROLL_LOCK" value="0x400000" />
|
||||||
|
</attr>
|
||||||
|
|
||||||
|
<!-- @hide -->
|
||||||
|
<declare-styleable name="HardwareDefinedShortcut">
|
||||||
|
<attr name="keycode" />
|
||||||
|
<!-- The values are taken from public constants for modifier state defined in
|
||||||
|
{@see KeyEvent.java}. Here we allow multiple modifier flags as value, since this
|
||||||
|
represents the modifier state -->
|
||||||
|
<attr name="modifierState" />
|
||||||
|
<attr name="outKeycode" />
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
|
<!-- @hide -->
|
||||||
|
<declare-styleable name="FunctionRowKey">
|
||||||
|
<attr name="keycode" />
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
|
<declare-styleable name="Bookmark">
|
||||||
|
<attr name="keycode" />
|
||||||
|
<attr name="modifierState" />
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
<declare-styleable name="MediaRouteButton">
|
<declare-styleable name="MediaRouteButton">
|
||||||
<!-- This drawable is a state list where the "activated" state
|
<!-- This drawable is a state list where the "activated" state
|
||||||
indicates active media routing. Non-activated indicates
|
indicates active media routing. Non-activated indicates
|
||||||
@@ -10089,6 +10402,32 @@
|
|||||||
|
|
||||||
<declare-styleable name="DateTimeView">
|
<declare-styleable name="DateTimeView">
|
||||||
<attr name="showRelative" format="boolean" />
|
<attr name="showRelative" format="boolean" />
|
||||||
|
<!-- For relative times, controls what kinds of times get disambiguation text.
|
||||||
|
|
||||||
|
The default value is "future".
|
||||||
|
|
||||||
|
Does nothing if showRelative=false.
|
||||||
|
-->
|
||||||
|
<attr name="relativeTimeDisambiguationText">
|
||||||
|
<!-- Times in the past will have extra clarifying text indicating that the time is in
|
||||||
|
the past. For example, 1 minute ago is represented as "1m ago". If this flag is not
|
||||||
|
set, times in the past are represented as just "1m". -->
|
||||||
|
<flag name="past" value="0x01" />
|
||||||
|
<!-- Times in the future will have extra clarifying text indicating that the time is in
|
||||||
|
the future. For example, 1 minute in the future is represented as "in 1m". If this
|
||||||
|
flag is not set, times in the future are represented as just "1m". -->
|
||||||
|
<flag name="future" value="0x02" />
|
||||||
|
</attr>
|
||||||
|
<!-- For relative times, sets the length of the time unit displayed (minutes, hours, etc.).
|
||||||
|
|
||||||
|
Does nothing if showRelative=false.
|
||||||
|
-->
|
||||||
|
<attr name="relativeTimeUnitDisplayLength">
|
||||||
|
<!-- The time unit will be shown as a short as possible (1 character if possible). -->
|
||||||
|
<enum name="shortest" value="0" />
|
||||||
|
<!-- The time unit will be shortened to a medium length (2-3 characters in general). -->
|
||||||
|
<enum name="medium" value="1" />
|
||||||
|
</attr>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<declare-styleable name="ResolverDrawerLayout_LayoutParams">
|
<declare-styleable name="ResolverDrawerLayout_LayoutParams">
|
||||||
|
|||||||
@@ -846,12 +846,40 @@
|
|||||||
This enum value is introduced in API level 31. -->
|
This enum value is introduced in API level 31. -->
|
||||||
<enum name="singleInstancePerTask" value="4" />
|
<enum name="singleInstancePerTask" value="4" />
|
||||||
</attr>
|
</attr>
|
||||||
<!-- Specify the orientation an activity should be run in. If not
|
<!-- Specify the orientation an activity should run in. If the orientation is not specified, the
|
||||||
specified, it will run in the current preferred orientation
|
system determines the best orientation for the activity.
|
||||||
of the screen.
|
|
||||||
<p>This attribute is supported by the <a
|
<p>This attribute is supported by the <a
|
||||||
href="{@docRoot}guide/topics/manifest/activity-element.html">{@code <activity>}</a>
|
href="{@docRoot}guide/topics/manifest/activity-element.html">{@code <activity>}</a>
|
||||||
element. -->
|
element.
|
||||||
|
<aside class="note"><b>Note:</b>
|
||||||
|
<ul>
|
||||||
|
<li>To improve the layout of apps on form factors with smallest width >= 600dp, the
|
||||||
|
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
|
||||||
|
owners (select trusted and privileged apps) can configure devices they manage to
|
||||||
|
override (ignore) this attribute to improve app layout. See also
|
||||||
|
<a href="https://source.android.com/docs/core/permissions/app-streaming">
|
||||||
|
Companion app streaming</a>.</li>
|
||||||
|
</ul>
|
||||||
|
<p>See <a href="{@docRoot}guide/practices/device-compatibility-mode">Device
|
||||||
|
compatibility mode</a>.</p>
|
||||||
|
</aside> -->
|
||||||
<attr name="screenOrientation">
|
<attr name="screenOrientation">
|
||||||
<!-- No preference specified: let the system decide the best
|
<!-- No preference specified: let the system decide the best
|
||||||
orientation. This will either be the orientation selected
|
orientation. This will either be the orientation selected
|
||||||
@@ -1047,6 +1075,19 @@
|
|||||||
<!-- The font weight adjustment value has changed. Used to reflect the user increasing font
|
<!-- The font weight adjustment value has changed. Used to reflect the user increasing font
|
||||||
weight. -->
|
weight. -->
|
||||||
<flag name="fontWeightAdjustment" value="0x10000000" />
|
<flag name="fontWeightAdjustment" value="0x10000000" />
|
||||||
|
<!-- The assets paths have changed. For example a runtime overlay is installed and enabled.
|
||||||
|
Corresponds to {@link android.content.pm.ActivityInfo#CONFIG_ASSETS_PATHS}. -->
|
||||||
|
<flag name="assetsPaths" value="0x80000000" />
|
||||||
|
<!-- This is probably not the flag you want, the resources compiler supports a less
|
||||||
|
dangerous version of it, 'allKnown', that only suppresses all currently existing
|
||||||
|
configuration change restarts depending on your target SDK rather than whatever the
|
||||||
|
latest SDK supports, allowing the application to work with resources on future Platform
|
||||||
|
versions.
|
||||||
|
Activity doesn't use Android Resources at all and doesn't need to be restarted on any
|
||||||
|
configuration changes. This overrides all other flags, and this is recommended to be
|
||||||
|
used individually. Corresponds to
|
||||||
|
{@link android.content.pm.ActivityInfo#CONFIG_RESOURCES_UNUSED}. -->
|
||||||
|
<flag name="resourcesUnused" value="0x8000000" />
|
||||||
</attr>
|
</attr>
|
||||||
|
|
||||||
<!-- Indicate that the activity can be launched as the embedded child of another
|
<!-- Indicate that the activity can be launched as the embedded child of another
|
||||||
@@ -1447,13 +1488,31 @@
|
|||||||
no other apps in multi-window visible on screen (e.g. picture-in-picture) or on other
|
no other apps in multi-window visible on screen (e.g. picture-in-picture) or on other
|
||||||
displays. Therefore, this flag cannot be used to assure an exclusive resource access.
|
displays. Therefore, this flag cannot be used to assure an exclusive resource access.
|
||||||
|
|
||||||
<p>NOTE: A task's root activity value is applied to all additional activities launched in
|
<p>A task's root activity value is applied to all additional activities launched in
|
||||||
the task. That is if the root activity of a task is resizeable then the system will treat
|
the task. That is if the root activity of a task is resizeable then the system will treat
|
||||||
all other activities in the task as resizeable and will not if the root activity isn't
|
all other activities in the task as resizeable and will not if the root activity isn't
|
||||||
resizeable.
|
resizeable.
|
||||||
|
|
||||||
<p>NOTE: The value of {@link android.R.attr#screenOrientation} is ignored for
|
<aside class="note"><b>Note:</b>
|
||||||
resizeable activities when in multi-window mode before Android 12. -->
|
<ul>
|
||||||
|
<li>On Android 11 (API level 30) and lower, the value of
|
||||||
|
{@link android.R.attr#screenOrientation} is ignored for resizeable activities
|
||||||
|
in multi-window mode.</li>
|
||||||
|
<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>
|
||||||
|
<li>Device manufacturers can configure devices to override (ignore) this attribute
|
||||||
|
to force apps to resize. The override does not affect the app's support for
|
||||||
|
multi-window mode.</li>
|
||||||
|
<li>On devices with Android 16 (API level 36) or higher installed, virtual device
|
||||||
|
owners (select trusted and privileged apps) can configure devices they manage to
|
||||||
|
override (ignore) this attribute to force apps to resize. See
|
||||||
|
also <a href="https://source.android.com/docs/core/permissions/app-streaming">
|
||||||
|
Companion app streaming</a>.</li>
|
||||||
|
</ul>
|
||||||
|
<p>See <a href="{@docRoot}guide/practices/device-compatibility-mode"> Device
|
||||||
|
compatibility mode</a>.</p>
|
||||||
|
</aside> -->
|
||||||
<attr name="resizeableActivity" format="boolean" />
|
<attr name="resizeableActivity" format="boolean" />
|
||||||
|
|
||||||
<!-- Indicates that the activity specifically supports the picture-in-picture form of
|
<!-- Indicates that the activity specifically supports the picture-in-picture form of
|
||||||
@@ -1470,28 +1529,54 @@
|
|||||||
<!-- This value indicates the maximum aspect ratio the activity supports. If the app runs on a
|
<!-- This value indicates the maximum aspect ratio the activity supports. If the app runs on a
|
||||||
device with a wider aspect ratio, the system automatically letterboxes the app, leaving
|
device with a wider aspect ratio, the system automatically letterboxes the app, leaving
|
||||||
portions of the screen unused so the app can run at its specified maximum aspect ratio.
|
portions of the screen unused so the app can run at its specified maximum aspect ratio.
|
||||||
<p>
|
<p>Maximum aspect ratio, expressed as (longer dimension / shorter dimension) in decimal
|
||||||
Maximum aspect ratio, expressed as (longer dimension / shorter dimension) in decimal
|
|
||||||
form. For example, if the maximum aspect ratio is 7:3, set value to 2.33.
|
form. For example, if the maximum aspect ratio is 7:3, set value to 2.33.
|
||||||
<p>
|
<p>Value needs to be greater or equal to 1.0, otherwise it is ignored.
|
||||||
Value needs to be greater or equal to 1.0, otherwise it is ignored.
|
<aside class="note"><b>Note:</b>
|
||||||
<p>
|
<ul>
|
||||||
NOTE: This attribute is ignored if the activity has
|
<li>This attribute is ignored if the activity has
|
||||||
{@link android.R.attr#resizeableActivity} set to true. -->
|
{@link android.R.attr#resizeableActivity} set to {@code true}.</li>
|
||||||
|
<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>
|
||||||
|
<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
|
||||||
|
owners (select trusted and privileged apps) can configure devices they manage to
|
||||||
|
override (ignore) this attribute to improve app layout. See
|
||||||
|
<a href="https://source.android.com/docs/core/permissions/app-streaming">
|
||||||
|
Companion app streaming</a>.</li>
|
||||||
|
</ul>
|
||||||
|
<p>See <a href="{@docRoot}guide/practices/device-compatibility-mode"> Device
|
||||||
|
compatibility mode</a>.</p>
|
||||||
|
</aside> -->
|
||||||
<attr name="maxAspectRatio" format="float" />
|
<attr name="maxAspectRatio" format="float" />
|
||||||
|
|
||||||
<!-- This value indicates the minimum aspect ratio the activity supports. If the app runs on a
|
<!-- This value indicates the minimum aspect ratio the activity supports. If the app runs on a
|
||||||
device with a narrower aspect ratio, the system automatically letterboxes the app, leaving
|
device with a narrower aspect ratio, the system automatically letterboxes the app, leaving
|
||||||
portions of the screen unused so the app can run at its specified minimum aspect ratio.
|
portions of the screen unused so the app can run at its specified minimum aspect ratio.
|
||||||
<p>
|
<p>Minimum aspect ratio, expressed as (longer dimension / shorter dimension) in decimal
|
||||||
Minimum aspect ratio, expressed as (longer dimension / shorter dimension) in decimal
|
form. For example, if the minimum aspect ratio is 4:3, set value to 1.33.
|
||||||
form. For example, if the minimum aspect ratio is 4:3, set value to 1.33.
|
<p>Value needs to be greater or equal to 1.0, otherwise it is ignored.
|
||||||
<p>
|
<aside class="note"><b>Note:</b>
|
||||||
Value needs to be greater or equal to 1.0, otherwise it is ignored.
|
<ul>
|
||||||
<p>
|
<li>This attribute is ignored if the activity has
|
||||||
NOTE: This attribute is ignored if the activity has
|
{@link android.R.attr#resizeableActivity} set to {@code true}.</li>
|
||||||
{@link android.R.attr#resizeableActivity} set to true. -->
|
<li>To improve the layout of apps on form factors with smallest width >= 600dp, the
|
||||||
<attr name="minAspectRatio" format="float" />
|
system ignores this attribute for apps that target Android 16 (API level 36) or
|
||||||
|
higher.</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
|
||||||
|
owners (select trusted and privileged apps) can configure devices they manage to
|
||||||
|
override (ignore) this attribute to improve app layout. See
|
||||||
|
<a href="https://source.android.com/docs/core/permissions/app-streaming">
|
||||||
|
Companion app streaming</a>.</li>
|
||||||
|
</ul>
|
||||||
|
<p>See <a href="{@docRoot}guide/practices/device-compatibility-mode"> Device
|
||||||
|
compatibility mode</a>.</p>
|
||||||
|
</aside> -->
|
||||||
|
<attr name="minAspectRatio" format="float" />
|
||||||
|
|
||||||
<!-- This value indicates how tasks rooted at this activity will behave in lockTask mode.
|
<!-- This value indicates how tasks rooted at this activity will behave in lockTask mode.
|
||||||
While in lockTask mode the system will not launch non-permitted tasks until
|
While in lockTask mode the system will not launch non-permitted tasks until
|
||||||
@@ -1817,13 +1902,56 @@
|
|||||||
{@link android.R.styleable#AndroidManifestProcess process} tag, or to an
|
{@link android.R.styleable#AndroidManifestProcess process} tag, or to an
|
||||||
{@link android.R.styleable#AndroidManifestApplication application} tag (to supply
|
{@link android.R.styleable#AndroidManifestApplication application} tag (to supply
|
||||||
a default setting for all application components). -->
|
a default setting for all application components). -->
|
||||||
<attr name="memtagMode">
|
<attr name="memtagMode">
|
||||||
<enum name="default" value="-1" />
|
<enum name="default" value="-1" />
|
||||||
<enum name="off" value="0" />
|
<enum name="off" value="0" />
|
||||||
<enum name="async" value="1" />
|
<enum name="async" value="1" />
|
||||||
<enum name="sync" value="2" />
|
<enum name="sync" value="2" />
|
||||||
</attr>
|
</attr>
|
||||||
|
|
||||||
|
<!-- This attribute overrides the user-set or platform-set 16 KB page size
|
||||||
|
compatibility mode, so that page agnostic compatibility is always enabled
|
||||||
|
or always disabled, rather than according to the user's preference.
|
||||||
|
|
||||||
|
<p>On 4 KB systems, this attribute is ignored and apps are installed
|
||||||
|
normally.
|
||||||
|
|
||||||
|
<p>On 16 KB systems, if an app is built for 16 KB page sizes, this
|
||||||
|
attribute is ignored and apps are installed normally.
|
||||||
|
|
||||||
|
<p>This attribute only affects 16 KB systems for apps that are built
|
||||||
|
with 4 KB page size (old) options.
|
||||||
|
|
||||||
|
<p>When page agnostic compatibility is enabled (either through this
|
||||||
|
flag or via the user's preference), the system specializes the app
|
||||||
|
installation process in ways known to improve compatibility of 4 KB
|
||||||
|
built apps on 16 KB systems. That is, apps which do not have aligned
|
||||||
|
libraries in APK files are extracted, requiring more space on the
|
||||||
|
device. An additional specialization when this option is enabled is
|
||||||
|
that the linker loads the application in a special mode intended
|
||||||
|
to allow 4 KB aligned program segments to load on a 16 KB page system.
|
||||||
|
|
||||||
|
<p>Here are the situations where this attribute should be most useful:
|
||||||
|
<ul>
|
||||||
|
<li>If an app works on 16 KB mode, but is not built for it, enabling this
|
||||||
|
attribute forces the app to be installed in 16 KB mode without
|
||||||
|
the user having to set these options themself.
|
||||||
|
<li>If an app is fully working in 16 KB mode, you can set this
|
||||||
|
attribute to disabled, so that any regression causes a clear failure
|
||||||
|
and this compatibility mode is not used.
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
@FlaggedApi(android.content.pm.Flags.FLAG_APP_COMPAT_OPTION_16KB) -->
|
||||||
|
<attr name="pageSizeCompat">
|
||||||
|
<!-- value for enabled must match with
|
||||||
|
ApplicationInfo.PAGE_SIZE_APP_COMPAT_FLAG_MANIFEST_OVERRIDE_ENABLED -->
|
||||||
|
<enum name="enabled" value="32" />
|
||||||
|
<!-- value for disabled must match with
|
||||||
|
ApplicationInfo.PAGE_SIZE_APP_COMPAT_FLAG_MANIFEST_OVERRIDE_DISABLED -->
|
||||||
|
<enum name="disabled" value="64" />
|
||||||
|
</attr>
|
||||||
|
|
||||||
|
|
||||||
<!-- Attribution tag to be used for permission sub-attribution if a
|
<!-- Attribution tag to be used for permission sub-attribution if a
|
||||||
permission is checked in {@link android.content.Context#sendBroadcast(Intent, String)}.
|
permission is checked in {@link android.content.Context#sendBroadcast(Intent, String)}.
|
||||||
Multiple tags can be specified separated by '|'.
|
Multiple tags can be specified separated by '|'.
|
||||||
@@ -1838,6 +1966,34 @@
|
|||||||
@hide @SystemApi @FlaggedApi("android.content.res.manifest_flagging") -->
|
@hide @SystemApi @FlaggedApi("android.content.res.manifest_flagging") -->
|
||||||
<attr name="featureFlag" format="string" />
|
<attr name="featureFlag" format="string" />
|
||||||
|
|
||||||
|
<!-- This attribute provides a way to fine-tune how incoming intents are matched to application
|
||||||
|
components. By default, no special matching rules are applied. This attribute can be specified
|
||||||
|
on the {@code <application>} tag as well as at the component tags such as {@code <activity>},
|
||||||
|
{@code <activity-alias>}, {@code <receiver>}, {@code <service>}, {@code <provider>} and the
|
||||||
|
attribute on the component can be used to override what's on the {@code <application>} tag. -->
|
||||||
|
<attr name="intentMatchingFlags">
|
||||||
|
<!-- Disables all special matching rules for incoming intents. When specifying multiple
|
||||||
|
flags, conflicting values are resolved by giving precedence to the "none" flag. -->
|
||||||
|
<flag name="none" value="0x0001" />
|
||||||
|
|
||||||
|
<!-- Enforces stricter matching for incoming intents:
|
||||||
|
<ul>
|
||||||
|
<li>Explicit intents should match the target component's intent filter
|
||||||
|
<li>Intents without an action should not match any intent filter
|
||||||
|
</ul>
|
||||||
|
-->
|
||||||
|
<flag name="enforceIntentFilter" value="0x0002" />
|
||||||
|
|
||||||
|
<!-- Relaxes the matching rules to allow intents without a action to match. This flag to be
|
||||||
|
used in conjunction with enforceIntentFilter to achieve a specific behavior:
|
||||||
|
<ul>
|
||||||
|
<li>Explicit intents should match the target component's intent filter
|
||||||
|
<li>Intents without an action are allowed to match any intent filter
|
||||||
|
</ul>
|
||||||
|
-->
|
||||||
|
<flag name="allowNullAction" value="0x0004" />
|
||||||
|
</attr>
|
||||||
|
|
||||||
<!-- The <code>manifest</code> tag is the root of an
|
<!-- The <code>manifest</code> tag is the root of an
|
||||||
<code>AndroidManifest.xml</code> file,
|
<code>AndroidManifest.xml</code> file,
|
||||||
describing the contents of an Android package (.apk) file. One
|
describing the contents of an Android package (.apk) file. One
|
||||||
@@ -2146,6 +2302,9 @@
|
|||||||
|
|
||||||
<attr name="memtagMode" />
|
<attr name="memtagMode" />
|
||||||
|
|
||||||
|
<!-- @FlaggedApi(android.content.pm.Flags.FLAG_APP_COMPAT_OPTION_16KB) -->
|
||||||
|
<attr name="pageSizeCompat" />
|
||||||
|
|
||||||
<!-- If {@code true} enables automatic zero initialization of all native heap
|
<!-- If {@code true} enables automatic zero initialization of all native heap
|
||||||
allocations. -->
|
allocations. -->
|
||||||
<attr name="nativeHeapZeroInitialized" format="boolean" />
|
<attr name="nativeHeapZeroInitialized" format="boolean" />
|
||||||
@@ -2205,6 +2364,24 @@
|
|||||||
{@link android.window.OnBackInvokedCallback#onBackInvoked
|
{@link android.window.OnBackInvokedCallback#onBackInvoked
|
||||||
OnBackInvokedCallback.onBackInvoked()} on the focused window. -->
|
OnBackInvokedCallback.onBackInvoked()} on the focused window. -->
|
||||||
<attr name="enableOnBackInvokedCallback" format="boolean"/>
|
<attr name="enableOnBackInvokedCallback" format="boolean"/>
|
||||||
|
|
||||||
|
<attr name="intentMatchingFlags"/>
|
||||||
|
|
||||||
|
<!-- Specifies the set of drawable resources that can be used in place
|
||||||
|
of an existing declared icon or banner for activities that appear
|
||||||
|
in the app launcher. The resource referenced must be an array of
|
||||||
|
drawable resources and can contain at most 500 items.
|
||||||
|
{@link android.content.pm.PackageManager#changeLauncherIconConfig}
|
||||||
|
@FlaggedApi(android.content.pm.Flags.FLAG_CHANGE_LAUNCHER_BADGING) -->
|
||||||
|
<attr name="alternateLauncherIcons" format="reference" />
|
||||||
|
|
||||||
|
<!-- Specifies the set of string resources that can be used in place
|
||||||
|
of an existing declared label for activities that appear
|
||||||
|
in the app launcher. The resource referenced must be an array of
|
||||||
|
string resources and can contain at most 500 items.
|
||||||
|
{@link android.content.pm.PackageManager#changeLauncherIconConfig}
|
||||||
|
@FlaggedApi(android.content.pm.Flags.FLAG_CHANGE_LAUNCHER_BADGING) -->
|
||||||
|
<attr name="alternateLauncherLabels" format="reference" />
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- An attribution is a logical part of an app and is identified by a tag.
|
<!-- An attribution is a logical part of an app and is identified by a tag.
|
||||||
@@ -2787,6 +2964,17 @@
|
|||||||
<attr name="name" />
|
<attr name="name" />
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
|
<!-- Private tag to declare the package name that the permissions of this package
|
||||||
|
is based on. Only used for packages installed in the system image. If
|
||||||
|
given, the permissions from the other package will be propagated into the
|
||||||
|
new package.
|
||||||
|
|
||||||
|
<p>This appears as a child tag of the root
|
||||||
|
{@link #AndroidManifest manifest} tag. -->
|
||||||
|
<declare-styleable name="AndroidManifestAdoptPermissions" parent="AndroidManifest">
|
||||||
|
<attr name="name" />
|
||||||
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- The <code>processes</code> tag specifies the processes the application will run code in
|
<!-- The <code>processes</code> tag specifies the processes the application will run code in
|
||||||
and optionally characteristics of those processes. This tag is optional; if not
|
and optionally characteristics of those processes. This tag is optional; if not
|
||||||
specified, components will simply run in the processes they specify. If supplied,
|
specified, components will simply run in the processes they specify. If supplied,
|
||||||
@@ -2892,6 +3080,7 @@
|
|||||||
contained here. -->
|
contained here. -->
|
||||||
<attr name="attributionTags" />
|
<attr name="attributionTags" />
|
||||||
<attr name="systemUserOnly" format="boolean" />
|
<attr name="systemUserOnly" format="boolean" />
|
||||||
|
<attr name="intentMatchingFlags"/>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- Attributes that can be supplied in an AndroidManifest.xml
|
<!-- Attributes that can be supplied in an AndroidManifest.xml
|
||||||
@@ -3051,6 +3240,7 @@
|
|||||||
-->
|
-->
|
||||||
<attr name="allowSharedIsolatedProcess" format="boolean" />
|
<attr name="allowSharedIsolatedProcess" format="boolean" />
|
||||||
<attr name="systemUserOnly" format="boolean" />
|
<attr name="systemUserOnly" format="boolean" />
|
||||||
|
<attr name="intentMatchingFlags"/>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- @hide The <code>apex-system-service</code> tag declares an apex system service
|
<!-- @hide The <code>apex-system-service</code> tag declares an apex system service
|
||||||
@@ -3118,6 +3308,7 @@
|
|||||||
Context.createAttributionContext() using the first attribution tag
|
Context.createAttributionContext() using the first attribution tag
|
||||||
contained here. -->
|
contained here. -->
|
||||||
<attr name="attributionTags" />
|
<attr name="attributionTags" />
|
||||||
|
<attr name="intentMatchingFlags"/>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- The <code>activity</code> tag declares an
|
<!-- The <code>activity</code> tag declares an
|
||||||
@@ -3258,8 +3449,8 @@
|
|||||||
usually TVs.
|
usually TVs.
|
||||||
<p>Requires permission {@code android.permission.DISABLE_SYSTEM_SOUND_EFFECTS}. -->
|
<p>Requires permission {@code android.permission.DISABLE_SYSTEM_SOUND_EFFECTS}. -->
|
||||||
<attr name="playHomeTransitionSound" format="boolean"/>
|
<attr name="playHomeTransitionSound" format="boolean"/>
|
||||||
<!-- Indicates whether the activity can be displayed on a remote device which may or
|
<!-- Indicates whether the activity can be displayed on a display that may belong to a
|
||||||
may not be running Android. -->
|
remote device which may or may not be running Android. -->
|
||||||
<attr name="canDisplayOnRemoteDevices" format="boolean"/>
|
<attr name="canDisplayOnRemoteDevices" format="boolean"/>
|
||||||
<attr name="allowUntrustedActivityEmbedding" />
|
<attr name="allowUntrustedActivityEmbedding" />
|
||||||
<attr name="knownActivityEmbeddingCerts" />
|
<attr name="knownActivityEmbeddingCerts" />
|
||||||
@@ -3312,6 +3503,7 @@
|
|||||||
URIs. -->
|
URIs. -->
|
||||||
<enum name="readAndWrite" value="4" />
|
<enum name="readAndWrite" value="4" />
|
||||||
</attr>
|
</attr>
|
||||||
|
<attr name="intentMatchingFlags"/>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- The <code>activity-alias</code> tag declares a new
|
<!-- The <code>activity-alias</code> tag declares a new
|
||||||
@@ -3354,6 +3546,7 @@
|
|||||||
<attr name="attributionTags" />
|
<attr name="attributionTags" />
|
||||||
<attr name="allowUntrustedActivityEmbedding" />
|
<attr name="allowUntrustedActivityEmbedding" />
|
||||||
<attr name="knownActivityEmbeddingCerts" />
|
<attr name="knownActivityEmbeddingCerts" />
|
||||||
|
<attr name="intentMatchingFlags"/>
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<!-- The <code>meta-data</code> tag is used to attach additional
|
<!-- The <code>meta-data</code> tag is used to attach additional
|
||||||
|
|||||||
+11311
-10534
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user