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

  • react, vue - Uncaught SyntaxError: Unexpected token
  • 로고디자인 - 블랙과 화이트 색상을 이용한 심플한 로고 디자인 모음
  • nextjs, aws codebuild 오류 - Failed to compile. Module not found: Can't resolve ...
  • YN0028: The lockfile would have been created by this install, which is explicitly forbidden.
  • sublime text2 sftp 접속시 encoding error
  • 키보드 키 코드
  • `value` prop on `input` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.
  • JS - 모바일 접속 체크
  • OMG 케릭터 아이폰 배경화면
  • .NET - html 태그 문자로 db 저장할 때 인코딩 / 디코딩

comment

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