C
C
Chvalov2015-04-21 12:08:54
Android
Chvalov, 2015-04-21 12:08:54

Displaying information on an Android button, is this normal?

We need software in which we will have 4 buttons.
On the same buttons, after pressing, different textual information should be displayed no more than 5 characters. (Slightly below the name of the button itself)
Is it normal to constantly update the information on the buttons.
Or is there something more reasonable?
Since it seems to me that the buttons are not for displaying information, but then what can you click on to work like a button and display information on itself?
If you can give a link with examples of such smart buttons, thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
whalemare, 2015-04-21
@whalemare

As you have already been told, onClickListenert can really be hung on any view.
On the same TextView, make it clickable, assign it the onClick method, which describes what should happen when clicked, and voila

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question