android seekbar 배경 둥근 라인 처리하기
조회수 532회
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!--시크바 배경-->
<item android:id="@android:id/background"
>
<shape android:shape="line">
<stroke android:width="6dp" android:color="#f2f2f2" />
</shape>
</item>
<!-- 시크바 배경2 -->
<item android:id="@android:id/secondaryProgress">
<clip>
<shape android:shape="line">
<stroke android:width="6dp" android:color="#FFB2F5" />
</shape>
</clip>
</item>
<!-- 시크바 프로그래스 -->
<item android:id="@android:id/progress" >
<clip>
<shape android:shape="line">
<stroke android:width="6dp" android:color="#f6ac9e" />
</shape>
</clip>
</item>
</layer-list>
현재는 이렇게 커스텀으로 사용하고있는데 shape가 line 이다보니 양쪽 끝이 각지게 나와서 양쪽끝을 라운드 처리를 하고싶습니다. line 을 rectangle로 수정도 해보았는데 중간에 바가 있는 프로그래스가 아닌 꽉차는 프로그래스가 되어서 원하는 모양이 아니라 질문 드립니다
-
(•́ ✖ •̀)
알 수 없는 사용자
댓글 입력