Hide the text on a button in android? <p>Please tell me how to hide the text on a button in android.</p> <p>When I try this code, the button is hidden but I just want to hide the text on the button.</p> <pre><code>Button b= (Button)findViewById(R.id.follow); b.setVisibility(View.GONE); </code></pre> <p>Please tell me how to solve this.</p> <p>Thank you.</p>