Building future while learning

TextView with image

1 min read

Android allows programmers to place images at all four corners of a TextView. For example, if you are creating a
field with a TextView and at same time you want to show that the field is editable, then developers will usually place
an edit icon near that field. Android provides us an interesting option called compound drawable for a TextView:

Leave a Reply

Your email address will not be published. Required fields are marked *