Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 코틀린
- ExoPlayer
- Visible
- 상수
- 안드로이드
- SharedPreference
- Var
- 생명주기
- 핸드폰번호
- ExoPlayer2
- 변수
- invisible
- Gone
- 회원가입
- 전체화면
- 비밀번호
- Kotlin
- Android
- 버튼 투명화
- Val
- 휴대전화
- 4대컴포넌트
- call by value
- 유효성 검사
- Button
- call by reference
- FullScreen
- Regex
- 자바
- 면접준비
Archives
- Today
- Total
목록Visible (1)
천천히 , 강하게 멀리
View.VISIBLE, INVISIBLE, GONE
VISIBLE : 뷰 아이템을 보이게 한다. INVISIBLE : 뷰 아이템을 안보이게 한다. GONE : 뷰 아이템을 사라지게 한다. xml에서 설정할 때는 android:visibility="visible" android:visibility="invisible" android:visibility="gone" 위 세 가지 중 하나를 넣어주면 되고 자바 코드로 설정할 때는 binding.getRoot().setVisibility(View.VISIBLE); binding.getRoot().setVisibility(View.INVISIBLE); binding.getRoot().setVisibility(View.GONE); 코틀린은 TextView.visibility = View.VISIBIE 이렇게 사용하시..
Android
2020. 3. 24. 21:34