Issue
How do I assign an id to a drawable in text view in the xml file.
The three dots is the drawable.
So I can find it by id.
findViewById<??????>(R.id.id_of_drawable)
Solution
I used an image view next to the text view. android:srcCompat made the image invisible. When I changed it to android:src it worked.
Answered By - Leo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.