我完全是 Java 和 Android 编程的初学者。
现在我想在方法运行时显示按钮。但是按钮已经放置在屏幕上。
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// set the listener for the button
mConfrimButtton = (Button) findViewById(R.id.confirm_button);
}
public void aMethod {
// show up the button when doing this method but the button is already shown up
}
我该怎么做?
慕妹3242003
青春有我
宝慕林4294392
相关分类