프로그래스바 위잿으로 프로그래스를 구현했는데.. 애니메이션이 작동하질 않네요...
배경으로만든 프로그래스만 덩그러니떠있고 실제적 프로그래스바는 보이지 않습니다.
예제랑 똑같이 만들었는디.. 왜안되는지 모르겠습니다.. 혹시 잘못된 부분이 있는지 아시는분 계시면 짚어주셔요 ㅠ
xml구조입니다. 프로그래스바가 실행되면 RelativeLayout 과 아래 startProgress가 Visible되게끔 했습니다.
<RelativeLayout
android:id="@+id/relative_progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="visible">
<ProgressBar //얜그냥배경
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="148dp"
android:layout_height="148dp"
android:layout_centerInParent="true"
android:indeterminate="false"
android:progress="100"
android:progressDrawable="@drawable/circular_progress_background" />
<ProgressBar
android:id="@+id/start_progress"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="148dp"
android:layout_height="148dp"
android:layout_centerInParent="true"
android:indeterminate="false"
android:progressDrawable="@drawable/circular_progress_foreground" />
</RelativeLayout>
반복 핸들러로 setProgress 줘도 먹지도않고... 참 머리가 아프네요 ㅠㅠ