It is easy to show or hide elements in Android..
For example to hide a button,
findViewById(R.id.someButton).setVisibility(View.GONE);
And to make it visible,
findViewById(R.id.someButton).setVisibility(View.VISIBLE);
For example to hide a button,
findViewById(R.id.someButton).setVisibility(View.GONE);
And to make it visible,
findViewById(R.id.someButton).setVisibility(View.VISIBLE);
No comments:
Post a Comment