Android Source Vecotordrawable

Source: Internet
Author: User

1

R.styleable.vectordrawable_viewportwidth

The name of the resource is not vectordrawable_viewportwidth

But the statement under Attrs.xml.

 <!--drawable used to draw vector paths. -    <declare-styleablename= "Vectordrawable">        <!--If Set, specifies the color to apply to the drawable as a tint. By default, no tint is applied. May is a color state list.  -        <attrname= "tint" />        <!--When a tint color was set, specifies its porter-duff blending mode. The default value is src_in, which treats the drawable as an alpha mask.  -        <attrname= "Tintmode" />        <!--indicates if the drawable needs to being mirrored when it layout direction is RTL (right-to-left). -        <attrname= "Automirrored" />        <!--The intrinsic width of the Vector drawable. -        <attrname= "width" />        <!--The intrinsic height of the Vector drawable. -        <attrname= "height" />        <!--The width of the canvas the drawing is on. -        <attrname= "Viewportwidth"format= "float"/>        <!--The height of the canvas the drawing is on. -        <attrname= "Viewportheight"format= "float"/>        <!--The name of this vector drawable -        <attrname= "Name" />        <!--the opacity of the whole vector drawable, as a value between 0 (completely transparent) and 1 (completely opaque).  -        <attrname= "Alpha" />    </declare-styleable>


Pathrenderer.mviewportwidth = A.getfloat (
R.styleable.vectordrawable_viewportwidth, Pathrenderer.mviewportwidth);

Android Source Vecotordrawable

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.