J
J
jestev2016-06-24 11:23:51
Android
jestev, 2016-06-24 11:23:51

How to implement this as a button in Android Studio?

Hello, can you tell me the best way to implement this picture as a single button in Android Studio? Should it be implemented as a single image, add an image, and a text under it, or something else?
f222f35811434033b616125c6f438ae8.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Gapchenko, 2016-06-24
@jestev

The TextViewclass (of which the class inherits Button) has such a wonderful thing as compound drawables - the ability to draw an image on the left/right/top/bottom of the text. You need it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question