Two text in button, title and subtitle

Can we create some custom button with title and subtitle text in it.

Title in upper part of button and subtitle below it.


Here is the answer 🙂

You do not need any images the thing you need is styled text and here is simple and short way to do it

button1.setText(Html.fromHtml("<b><big>" + "Title" + "</big></b>" +  "<br />" + 
        "<small>" + "subtitle" + "</small>" + "<br />"));

You do not need to change any layout just add this text to your button