Make invisible a button in an Android Application

If you want in your android application to make a button invisible, place this code in your app:

btnEliminar = (Button) findViewById(R.id.btnEliminar);

btnEliminar.setVisibility(4);

 

//If you want to make it visible again, change the 4 for a 0.

arrow
arrow
    全站熱搜

    a22710518 發表在 痞客邦 留言(0) 人氣()