Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

how i can get exact height width for the image drawn with path #28

@tahir90

Description

@tahir90

I am trying to adjust height and width of my AnimatedSvgView but couldn't get it exact . I think aspect ratio is the problem can you guide me how i can resolve this issue to get exact height and width of image which i provided in dp as layout_height and layout_width in xml, below is my xml

 <oak.svg.AnimatedSvgView
    android:id="@+id/animated_svg_view"
    android:layout_width="100dp"
    android:layout_height="100dp"
    oak:oakSvgTraceTime="2000"
    oak:oakSvgTraceTimePerGlyph="1000"
    oak:oakSvgFillStart="1200"
    oak:oakSvgFillTime="1000"/>

<oak.svg.AnimatedSvgView
    android:id="@+id/animated_svg_view_logo"
    android:layout_width="100dp"
    android:layout_height="100dp"
    oak:oakSvgTraceTime="2000"
    oak:oakSvgTraceTimePerGlyph="1000"
    oak:oakSvgFillStart="1200"
    oak:oakSvgFillTime="1000"

/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions