I have a button which is transparent and has an icon and text.
I want to underline the text of the button but i have not been able to do this.
Below is my
Button button= (Button) findViewById(R.id.park); SpannableString content = new SpannableString("Content"); content.setSpan(new UnderlineSpan(), 0, content.length(), 0); button.setText(content);