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 이 곳에 아주 훌륭하게 정리해 놓으셨다.

  • Android 2017‧11‧07

    가로 모드(또는 세로 모드)로 가는 회전 막기

    mainfests 폴더 안에 AndroidMainfest.xml이 있을 것임. 그 안에 <activity android:name = ".~~~"></activity> 노드가 있는데 세로 모드만 할 경우 android:screenOrientation="portrait" 속성을 추가해주면 된다. <activity android:name=".MainActivity" android:label="@string/app_name" android:screenOrientation="portrait"> </activity> 가로 모드만 할 경우 android:screenOrientation="landscape" 라고 넣어주면 된다.

popular

  • SQL Server 에이전트(에이전트 XPs 사용 안 함) 작동 시키기
  • 창 사이즈 읽어오기 scrollHeight / clientHeight / scrollTop (브라우즈별 차이점)
  • 안드로이드 디자이너와 개발자 협업을 위한 디자인 가이드
  • 정규식 화폐 단위 처리
  • 게시판 플러그인 KBoard 설치법 및 사용법
  • 풀사이즈 배경으로 동영상 or 이미지 삽입하기
  • 영문 텍스트의 경우 css로 대문자 혹은 소문자로 변환시켜 노출시키기
  • 가로 모드(또는 세로 모드)로 가는 회전 막기
  • 가변 인수와 가변 인수의 최대값 구하기
  • esoom agency

comment

  • 드래그가 안 된다는 증상에서 콘솔 오류와 불러오는 파일...
  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...