Android-RTEditor
Android-RTEditor copied to clipboard
Suggestion: improving inflation of toolbar
It is written:
Note that inflating the toolbar might take a moment (noticable) on certain devices because the included icons are high-resolution and each one comes in three different states (pressed, checked, normal). There's no workaround for this except using different icons with lower resolution.
Actually there is. Instead of a scrollView, you can use RecyclerView. This will inflate as needed. Also, instead of multiple files per icon, you can use a VectorDrawable per icon.