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

  • Angularjs – 지정 엘리먼트 안에 자기만의 함수 호출을 가진 새로운 엘리먼트 생성하기
  • JS - 모바일 접속 체크
  • 게시판 플러그인 KBoard 설치법 및 사용법
  • 가로 모드(또는 세로 모드)로 가는 회전 막기
  • 내가 설치한 워드프레스 버전 알아보기
  • AWS EC2 스토리지 확장
  • 구글 통계 - 캠페인 url 만들기
  • jQuery-div 높이를 창의 100%로 조절할 때 (창 사이즈 유동 적응)
  • 리액트에서 리스트 반복으로 버튼 만들 때 .map()
  • CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server.

comment

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