본문 바로가기

Development/Android

Only fullscreen opaque activities can request orientation 오류java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation 상황targetSdkVerson 을 27로 올렸을때 Android 8.0 Device 에서만 위와 같은 오류가 나타남 낮은버전의 Android Device 에서는오류가 없음 2018.05 현재 대처targetSdkVersion 을 26으로 낮춰서 배포함 ㅡㅡ; 일단은 다음 SDK 를 지켜보자~~~ 아래 이슈트래커의 5월 마지막 글 역시 제대로 작동하지 않는다고 성토가 높다언제까지 이지경으로 할텐가... 구글! 실망이네~~https://issuetracker.google.com/issues/68454482
풀스크린 + Status Bar 숨기기 https://stackoverflow.com/questions/29969086/how-to-disable-status-bar-click-and-pull-down-in-android http://cloudylab.blogspot.kr/2015/02/android-full-screen.html http://limkydev.tistory.com/24
FCM (Firebase Cloud Messaging) 공식문서https://firebase.google.com/docs/cloud-messaging/android/client?hl=ko
[YouTube API] unauthorized-overlay YouTubePlayer 가 존재 하는 레이아웃 에서 YouTubePlayer 상위에 뷰가 존재 하면 플레이어가 멈춘다. 로그캣에 출력된 경고 로그는 아래와 같다 W/YouTubeAndroidPlayerAPI: YouTube video playback stopped due to unauthorized overlay on top of player. The YouTubePlayerView is obscured by android.view.View{26787c47 V.ED.... ........ 0,0-1280,50 #102002f android:id/statusBarBackground}. The view is inside the YouTubePlayerView, with the distance in px b..
[Material Design] 머티리얼 디자인 무료 리소스 머티리얼 디자인 작업시 유용한 무료 리소스 사이트 링크 모음 - 40 Free Material Design Resources for Designers
[Widget] MaterialProgressBar MaterialProgressBar 원문 : https://github.com/DreaminginCodeZH/MaterialProgressBar Android 4.0 + 부터 일관된 모습을 보여주는 라이브러리머티리얼 프로그래스 를 하위 호환될 수 있도록 해준다.
[Drawable] Android Drawables http://androiddrawables.com/ Jelly Bean 부터 현재 까지 안드로이드 버전별 Drawable 을 정리해 놓은 사이트시스템에 설치된 Drawable 리소스를 이 사이트에서 확인해서 필요한것은 사용하면 된다.
[Material Design] 호환성 유지 - 호환성 유지 원문 - https://developer.android.com/training/material/compatibility.html#CheckVersion // Check if we're running on Android 5.0 or higher if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { // Call some material design APIs here } else { // Implement this feature without material design }