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

    라운드 버튼 만들기, shape solid 배경색 변경

    먼저 res> drawable 안에 xml을 하나 만들어 shape를 추가한다. 본인은 roundbtn.xml이라고 만들었다. <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <solid android:color="#ff0000" /> <corners android:bottomRightRadius="20dp" android:bottomLeftRadius="20dp" android:topRightRadius="20dp" android:topLeftRadius="20dp"/> </shape> 라운드가 각 4방향에 20dp로 라운드되게 만든 shape다.   이제 버튼에 background 에 roundbtn.xml을 추가하자. <Button android:id="@+id/signaldocentcolor" android:layout_width="20dp" android:layout_height="20dp" android:background="@drawable/roundbtn" />   이렇게 만들어두기만 하면 괜찮은데 간혹 상황에 따라 동그랗게 만든 […]

popular

  • 페이스북 공유시 나오는 정보 수정 방법
  • 리액트 네이티브 - 웹뷰에 유저 에이전트 수정하기 (iOS, Android)
  • 관리자 페이지 중 위젯에서 드래그 & 드롭이 안되는 현상
  • 무료 UI kit 다운로드
  • react native - Text 컴포넌트에한 줄 내림 처리 (html의 br 태그 같은 처리)
  • Angularjs – 지정 엘리먼트 안에 자기만의 함수 호출을 가진 새로운 엘리먼트 생성하기
  • 해당 카테고리 slug 출력
  • 창 사이즈 읽어오기 scrollHeight / clientHeight / scrollTop (브라우즈별 차이점)
  • 심플한 아이콘들
  • ul과 ol에 있는 li태그에서 들여쓰기 및 앞표시 없애기

comment

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