Convert String to Drawable

后端 未结 8 2227
我在风中等你
我在风中等你 2021-02-20 12:31

I want to raise a notification showing an icon in the status bar - so far so good, but actually I would like this icon to be a 3 character String.

So my question is: Is

8条回答
  •  走了就别回头了
    2021-02-20 13:21

    you can make your own custom drawable that would work just like the textview widget except it is a drawable instead of a view. The textview class is just a container for the drawable that contains the text.

提交回复
热议问题