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

cannot change icon toolbar? i need custom icon bold or italic with mine #61

Open
abimanyu07 opened this issue Mar 22, 2019 · 6 comments

Comments

@abimanyu07
Copy link

No description provided.

@abimanyu07
Copy link
Author

I want a custom bold icon or something else

@chinalwb
Copy link
Owner

Take a look at this class:

https://github.com/chinalwb/Android-Rich-text-Editor/blob/2ad7c2ab8e12a32d4dc1af2b43fd260caf444f5d/ARE/are/src/main/java/com/chinalwb/are/styles/toolitems/ARE_ToolItem_Bold.java

You may want to change:
imageView.setImageResource(R.drawable.bold);
Or
create a new class extends this one and override the getView.

Sorry.. Appologize for the poor document..

@abimanyu07
Copy link
Author

sorry , do yo have example change icon?

@chinalwb
Copy link
Owner

If you are using are by implementation project(':are'), just replace the ARE/are/src/main/res/drawable-hdpi/bold.png.

Or else if you are using the library from jcenter, you'll need to customization as above.

@abimanyu07
Copy link
Author

okeee thanks a lot :)

@abimanyu07
Copy link
Author

okee,terima kasih banyak

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