diff options
author | Alan Viverette <alanv@google.com> | 2018-02-28 11:36:59 -0500 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2018-02-28 11:36:59 -0500 |
commit | 3db6b4d11638366d45078849d417c3dbd246b991 (patch) | |
tree | 043e046f1a94319207fbd79d0d5c5642152300d5 /data/res/values/attrs.xml | |
parent | 90dfeab341b017a443121455989b489e15b2f77d (diff) | |
download | android-28-3db6b4d11638366d45078849d417c3dbd246b991.tar.gz |
Import Android SDK Platform P DP1 [4622345]
/google/data/ro/projects/android/fetch_artifact \
--bid 4524038 \
--target sdk_phone_armv7-win_sdk \
sdk-repo-linux-platforms-4622345.zip
AndroidVersion.ApiLevel has been modified to appear as 28
Change-Id: Ie92b5a5cbfdb760e861b065791ee98ecb89bc3b1
Diffstat (limited to 'data/res/values/attrs.xml')
-rw-r--r-- | data/res/values/attrs.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/data/res/values/attrs.xml b/data/res/values/attrs.xml index 354d6581..d26567e9 100644 --- a/data/res/values/attrs.xml +++ b/data/res/values/attrs.xml @@ -3036,6 +3036,28 @@ <!-- The title this view should present to accessibility as a pane title. See {@link android.view.View#setAccessibilityPaneTitle(CharSequence)} --> <attr name="accessibilityPaneTitle" format="string" /> + + <!-- Sets the color of the spot shadow that is drawn when the view has a positive Z or + elevation value. + <p> + By default the shadow color is black. Generally, this color will be opaque so the + intensity of the shadow is consistent between different views with different colors. + <p> + The opacity of the final spot shadow is a function of the shadow caster height, the + alpha channel of the outlineSpotShadowColor (typically opaque), and the + {@link android.R.attr#spotShadowAlpha} theme attribute. --> + <attr name="outlineSpotShadowColor" format="color" /> + + <!-- Sets the color of the ambient shadow that is drawn when the view has a positive Z + or elevation value. + <p> + By default the shadow color is black. Generally, this color will be opaque so the + intensity of the shadow is consistent between different views with different colors. + <p> + The opacity of the final ambient shadow is a function of the shadow caster height, + the alpha channel of the outlineAmbientShadowColor (typically opaque), and the + {@link android.R.attr#ambientShadowAlpha} theme attribute. --> + <attr name="outlineAmbientShadowColor" format="color" /> </declare-styleable> <!-- Attributes that can be assigned to a tag for a particular View. --> @@ -5878,6 +5900,13 @@ <attr name="insetBottom" format="fraction|dimension" /> </declare-styleable> + <!-- Drawable used to draw animated images (gif) --> + <declare-styleable name="AnimatedImageDrawable"> + <!-- 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" /> + </declare-styleable> + <!-- Drawable used to draw bitmaps. --> <declare-styleable name="BitmapDrawable"> <!-- Identifier of the bitmap file. This attribute is mandatory. --> @@ -7874,6 +7903,27 @@ <attr name="settingsActivity" /> </declare-styleable> + <!-- Use <code>compatibility-package</code> as a child tag of <code>autofill-service</code> + in the XML resource that describes an {@link android.service.autofill.AutofillService} + to specify a package and an optional max version code for which to request compatibility + mode. If no max version code is specified compatibility mode is requested for all package + versions. The max version code is useful to avoid requesting compatibility mode for newer + package versions that are known to natively support autofill. + --> + <declare-styleable name="AutofillService_CompatibilityPackage"> + <!-- The package name for which compatibility mode is requested. --> + <attr name="name" /> + <!-- The max version code of the package for which compatibility mode is + requested. This corresponds to the long value returned by {@link + 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> + <!-- =============================== --> <!-- Contacts meta-data attributes --> <!-- =============================== --> @@ -8766,6 +8816,16 @@ <attr name="fontProviderCerts" format="reference" /> </declare-styleable> + <!-- Attributes that are read when parsing a tag. --> + <declare-styleable name="VideoView2"> + <attr name="enableControlView" format="boolean" /> + <attr name="enableSubtitle" format="boolean" /> + <attr name="viewType" format="enum"> + <enum name="surfaceView" value="0" /> + <enum name="textureView" value="1" /> + </attr> + </declare-styleable> + <!-- @hide --> <declare-styleable name="RecyclerView"> <attr name="layoutManager" format="string" /> |