[Android] 버튼 효과 커스텀 하기 android button view custom Selector 속성 위 옵션은 ture/false형태로 작성 될 것이고 button에서는 주로 pressed 옵션으로 효과만 사용하여 만들 것이다. 참고 : Color State List Resource android:state_pressedBoolean. "true" if this item should be used when the object is pressed (such as when a button is touched/clicked); "false" if this item should be used in the default, non-pressed state.android:state_focusedBoolea..
안드로이드 CheckBox 커스텀 하기 / 리스너 등록하기 커스텀 체크박스 이미지 만들기 Custom CheckBox 커스텀할 체크박스 이미지를 res/drawable 폴더에 check_press.png와 check_nor.png를 넣어 둔다. 그리고 아래와 같이 res/drawable/custom_check_box.xml 파일을 생성한다. CheckBox에 Custom된 이미지 적용하기 레이아웃에 CheckBox를 작성할 때 android_button="@null"을 지정해줘야 커스텀된 이미지가 체크박스의 크기에 맞게 들어간다.그리고 커스텀된 이미지를 android:background="@drawable/custom_check_box.xml"과 같이 지정해 준다.아래와 같이 CheckBox를 넣어주면 ..
- Total
- Today
- Yesterday
- 컵라면
- 직화
- jar
- 예제
- Android
- Custom
- 라멘
- 설치
- 에러
- 돈돈
- 안드로이드
- 하카타
- 안드로이드 스튜디오
- 라면
- java
- 맛집
- Android Stuido
- Picasso
- GS25
- 인스턴트
- Android Studio
- 리뷰
- MongoDB
- Python
- 일식
- 후쿠오카
- library
- 생성
- 편의점
- 일본
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |