Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way of using VectorMaster with remote views? #29

Open
Nemunas opened this issue Jul 23, 2020 · 1 comment
Open

Is there a way of using VectorMaster with remote views? #29

Nemunas opened this issue Jul 23, 2020 · 1 comment

Comments

@Nemunas
Copy link

Nemunas commented Jul 23, 2020

Hey,

I'm trying to modify a vector image in a persistent notification. Can I do this with VectorMaster?

The normal way of changing things in a notification is via a RemoteView

RemoteViews notificationRemoteView = new RemoteViews(context.getPackageName(), R.layout.persistent_notification);

but I'm not sure how to get a VectorMaster object from the RemoteView once I have it.

@AndroidDeveloperLB
Copy link

I don't think it's possible, but maybe you could convert to a bitmap after you are done with the modifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants