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 的頭像
    a22710518

    做自己 好自在

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