通过Uri加载SVG并在Android中删除空格

问题描述

图片网址为: https://static-qa-singlecare.s3.amazonaws.com/content/images/pharmacy/logo-color-riteaid.svg

如果下载,我们可以看到它顶部和底部都有很多空白。

我正在使用此库加载: https://github.com/corouteam/GlideToVectorYou

看起来已经过时了,不再受支持了。

我需要将图像加载到容器内,以使其顶部和底部不包含空格。

当前代码

RequestBuilder<PictureDrawable> requestBuilder;
requestBuilder= GlidetoVectorYou
                .init()
                .with(activity)
                .getRequestBuilder();
requestBuilder
                .load(uri)
                .into(pharmacyImage);

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)