I
I
iii101iii2020-07-26 18:29:35
Java
iii101iii, 2020-07-26 18:29:35

How to add second text to Android studio button?

Tell me how to add a second text to the button so that there is a title and another text?
Android studio interpreter.
5f1da136e4089320006528.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alekseyHunter, 2020-07-26
@alekseyHunter

Make a CardView with two nested TextView and ImageView. Add an OnClickListener to the CardView. Here's a custom button for you.

Y
Yuri, 2020-07-28
@YuryBorodkin

You can make the text in two lines ("Question on / n Java + android). Increase the first line through RelativeSizeSpan. Arrow - drawableEnd.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question