Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

How to add image from drawable rather than gallery? #313

Closed
BaniHani opened this issue Feb 12, 2021 · 4 comments
Closed

How to add image from drawable rather than gallery? #313

BaniHani opened this issue Feb 12, 2021 · 4 comments
Labels
question Further information is requested sample-app

Comments

@BaniHani
Copy link

No description provided.

@basitis
Copy link

basitis commented Feb 24, 2021

@BaniHani Do you mean to add as a main image or as sticker image?

@BaniHani
Copy link
Author

as a main image please.

@basitis
Copy link

basitis commented Feb 25, 2021

@BaniHani If you have fix drawable then you can directly give to the xml and if you want to load runtime then library is expose "source"(ImageView). You can access something like this:

photoFrameEditorView.source.setImageDrawable(getResources().getDrawable(R.drawable.my_drawable));

@basitis
Copy link

basitis commented Mar 2, 2021

@BaniHani If your issue is resolved with my comment then please close this issue. Thanks in advance.

@BaniHani BaniHani closed this as completed Mar 2, 2021
@burhanrashid52 burhanrashid52 added question Further information is requested sample-app labels Mar 3, 2021
Repository owner locked and limited conversation to collaborators Mar 3, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested sample-app
Projects
None yet
Development

No branches or pull requests

3 participants