lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • Android 2017‧11‧29

    화면 안꺼지게 설정

    여러가지 방법이 있긴 한데 난 해당 res > layout > 해당.xml에 <android.support.constraint.ConstraintLayout/> 여기에 android:keepScreenOn="true"로 속성을 넣어준다. 예제는 아래와 같다. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.example.insiknam.test.MainActivity" android:keepScreenOn="true"> 이보다 좋은 방법이나 여러가지 상황에 따라 선택해서 쓰면 된다. 그 여러가지 방법은 https://medium.com/marojuns-android/keeping-the-device-awake-b22b402a7f5e 이 곳에 아주 훌륭하게 정리해 놓으셨다.

popular

  • awesome, inspiration, award site 사이트
  • 워드프레스 교육 과정 중 추천테마로 소개된 테마
  • JS-setTimeout() , clearTimeout()
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • 관리자 페이지 중 위젯에서 드래그 & 드롭이 안되는 현상
  • 워드프레스 컨텐츠 디렉토리(wp-content)로 이동할 수 없습니다.
  • aws Cannot exceed quota for PoliciesPerRole: 10
  • SurfaceView를 이용한 비디오 플레이어 만들기 코드
  • KOURSS.org
  • 화면 안꺼지게 설정

comment

  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...
  • 유용한정보 대단히 감사합니다....