如何在屏幕旋转后禁用禁用按钮?

时间:2013-01-16 17:08:57

标签: android button screen-rotation

onSaveInstanceState(Bundle outState)?! 也许更好的主意是......

1 个答案:

答案 0 :(得分:0)

Override public void onConfigurationChanged(Configuration config) {
//disable your button here(First try, i think it will be disabled already, if not you can add disable code here
}