Switch (On/Off)
Switch 는 선택 or 해제 두 가지 상태를 제공한다. - 비슷한 widget 으로 ToggleButton 이 있다. 사용자에게 on/off 상태를 슬라이더로 표시해준다. 일반적으로 사운드, 블루투스, 와이파이 on/off 에 많이 쓰인다. How to ◼ Switch code in XML ◼ Switch code in JAVA Attributes ◼ id id 는 해당 Switch 를 유일하게 식별할 수 있는 속성이다. 1 2 3 4 cs ◼ checked Switch 에 "true" or "false" 로 선택 or 해제 상태를 설정한다. 기본값은 "false" 이다. ◼ text Switch 에 표시할 text 를 설정한다. ◼ textOn & textOff Switch on/off 시 표시할 ..
Android/UI
2019. 8. 21. 09:14
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 앱테크 추천
- android intent
- android task
- task 생성
- notifyDataSetChanged
- RoomDatabase
- 안드로이드 서비스
- Android Service
- 리워드앱
- 무료채굴
- 무료 채굴
- 앱테크
- 리워드 어플
- WEMIX
- mPANDO
- onCreateContextMenu
- registerForContextMenu
- android flag activity
- task
- StartService
- StringUtils
- Intent
- M2E
- 채굴앱
- 안드로이드 인텐트
- BroadcastReceiver
- android activity flag
- p2e
- onContextItemSelected
- bindservice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함