안드로이드 개발 질문/답변
(글 수 45,052)
현재 그라데이션을 활용한 프로젝트를 진행중에 있습니다.
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#FFFFFF" android:endColor="#333333"
android:angle="90"/>
<corners android:radius="0dp" />
</shape>
다음과 같이 그라데이션 태그를 통해
도형에 그라데이션을 줬는데,
지금 하려고 하는게,
슬라이더를 하나 두고, 이 슬라이더로 도형에 그라데이션을 제어할 생각입니다.
이때 다음과 같이 적용되어있는 startColor값이라던가 angle 값을
set 하거나 get 하는 방법에 대해 알고 싶습니다.
답변 부탁드립니다 ^ ㅡ^;;