amulyakhare/TextDrawable

How to convert your drawable to an int resource ?

Opened this issue · 1 comments

In android toolbar we use, "SetLogo(int resId)" . In this resId i want to pass the TextDrawable.

This is not possible since resource id's are generated compile time.

https://developer.android.com/guide/topics/resources/accessing-resources.html