java - Hide the text on a button in android? -
please tell me how hide text on button in android.
when try code, button hidden want hide text on button.
button b= (button)findviewbyid(r.id.follow); b.setvisibility(view.gone);
please tell me how solve this.
thank you.
i have suggestion if want settext button don't want show it.
just set text in xml
android:text="text"
then make font 0
android:textsize="0sp"
text exist can't seen.
Comments
Post a Comment