Android
[android] Textview visible toggle
bryan.oh
2019. 2. 27. 09:01
반응형
Visibility
Visible
1 2 3 4 | textView = view.findViewById(R.id.textView); textView.setVisibility(View.GONE); // 보이지 않음. 자리도 차지하지 않음 textView.setVisibility(View.INVISIBLE); // 보이지 않음. 자리는 차지하고있음 textView.setVisibility(View.VISIBLE); // 보이게함 | cs |
아래 이미지를 보면 이해가 완전히 될겁니다.
728x90
반응형