Notice
Recent Comments
Link
JY-Dev Tech Blog
안드로이드(Android) - Spinner DropDown Option Custom 본문
[OverView]
이번에는 Spinner의 Dropdown을 Custom 할수 있는 옵션에 대해 알려드리겠습니다.
[Spinner에 있는 DropDown의 배경을 변경]
android:popupBackground= "원하시는 배경"
이 코드를 Spinner 안에 추가하시면 적용되는걸 확인하실 수 있습니다.
[DropDown의 넓이 설정]
android:dropDownWidth="원하시는 dp값"
이 코드를 Spinner 안에 추가하시면 원하는크기로 변경된 걸 확인하실 수 있습니다.
[DropDown이 Spinner위치 변경]
android:dropDownVerticalOffset="원하는값"
이 코드를 Spinner 안에 추가하시면 원하는 만큼 떨어지게 할 수 있습니다.
'안드로이드 > 레이아웃' 카테고리의 다른 글
| 안드로이드(Android) - Custom Spinner 만들기 (0) | 2020.08.07 |
|---|---|
| 안드로이드(Android) - Spinner Arrow Button(화살표 버튼) 제거 (0) | 2020.08.07 |
| 안드로이드(Android) - Round Square 도형 만들기 (0) | 2020.08.07 |
| 안드로이드(Android) - ListView Item Empty일때 다른 뷰 보여주기 (0) | 2020.08.04 |
| 안드로이드(Android) - Linear Layout 에서 View 하단에 고정시키기 (0) | 2020.07.08 |
Comments