일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- phpstorm
- 걸음수 감지 센서
- 온라인에디터
- Exoplayer
- ARGB
- 온라인코딩
- Kotlin
- RecyclerView
- 회전 센서
- lateinit
- LayoutParmas
- setBackgroundResource
- 코틀린
- 자기장 센서
- 자격증
- 동영상 실행
- Android Studio 3.6
- mysql 5.7
- 웹코드빌드
- 광 센서
- powercfg
- 금속 탐지기 센서
- utf8mb4
- BottomSheetDialog
- Aplha
- Android
- 온라인IDE
- 걸음 감지 센서
- 온라인무료코딩사이트
- Today
- Total
Memory
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/ctIBbI/btqUwxW3Kq2/7MN37NMZtCaehotklLDAd0/img.png)
fun dateDay(date : Date) : String { val dayFormat = SimpleDateFormat("dd", Locale.getDefault()) val day = dayFormat.format(date) return day } fun getWeekDate() : Pair{ val calendar = Calendar.getInstance() calendar.time = Date() // 오늘 날짜의 주 구하기 val week_of_year = calendar.get(Calendar.WEEK_OF_YEAR) // 월요일 calendar.add(Calendar.DAY_OF_MONTH, (2-calendar.get(Calendar.DAY_OF_WEEK))) val mondayDate ..
fun isTablet(context: Context): Boolean { val xlarge = context.resources .configuration.screenLayout and Configuration.SCREENLAYOUT_SIZE_MASK === 4 val large = context.resources .configuration.screenLayout and Configuration.SCREENLAYOUT_SIZE_MASK === Configuration.SCREENLAYOUT_SIZE_LARGE return xlarge or large } [참고] 출처 - stackoverflow.com/questions/16784101/how-to-find-tablet-or-phone-in-androi..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/p4zep/btqUwyVLYZj/BYFo9WvGB4IFd5FrbT6pDK/img.png)
2021/01/12 - [IT/ANDROID] - [ANDROID/KOTLIN] ExoPlayer로 동영상 실행하기 (r2.12.2) [ANDROID/KOTLIN] ExoPlayer로 동영상 실행하기 (r2.12.2) ExoPlayer 공식 홈페이지 exoplayer.dev/hello-world.html Hello world! - ExoPlayer exoplayer.dev XML ... CODE ( ViewBinding 사용중 ) class VideoDetailActivity : A.. jinha3211.tistory.com XML (exo_playback_control_view.xml) - Custom ExoPlayer Controller Layout ※ ExoPlayer 내부에 설정되어있는 id를 사..