RichPath icon indicating copy to clipboard operation
RichPath copied to clipboard

SVG Remove White space

Open alpesh031 opened this issue 7 years ago • 3 comments

How to remove white space around svg file? "adjustviewbound:" or "scaletype:" property not working as like normal imageview. i want to display svg image with my custom size, is it possible then please let me know.

"RichPathView" is taking whole screen even after i set it to "wrap_content" for custom width and height.

Thank you.

alpesh031 avatar Jul 30 '18 06:07 alpesh031

@alpesh031 just set your custom size in the vector drawable xml file,

like this:

<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="32dp"
    android:height="32dp"
    ...
</vector>

tarek360 avatar Aug 02 '18 12:08 tarek360

Why does it not display when we give a value greater than the screen dimensions? Even if it's inside a scrollview.

mahmutadana avatar Jun 07 '21 17:06 mahmutadana

@mahmutadana could you provide a full example, please?

tarek360 avatar Jun 08 '21 08:06 tarek360