다음 진행 막대 스타일을 만들고 모서리 반경을 두 가지 모양 (배경 및 포깅)으로 설정했습니다. 그러나 90 이하로 진행률을 설정하거나 애니메이션을 설정하면 진행률 막대의 현재 진행 상황에 반경이없는 직사각형 모양의 경계가 표시됩니다. 진행률이 30 또는 90,95 미만인 경우에도 모서리 반경을 항상 유지할 수 있는지 알고 싶습니다. 아무도 왜 이것이 작동하지 않는지 설명 할 수 있습니까? Android ProgressBar가 모서리를 둥글게 처리했습니다.
또한 나는 이것이 API 레벨 8<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Define the background properties like color etc -->
<item android:id="@android:id/background">
<shape>
<corners android:radius="25dp" />
<solid android:color="#00000000"></solid>
</shape>
</item>
<!-- Define the progress properties like start color, end color etc -->
<item android:id="@android:id/progress">
<clip>
<shape>
<corners android:radius="25dp" />
<gradient
android:startColor="#fff"
android:centerColor="#fff"
android:centerY="1.0"
android:endColor="#0d1522"
android:angle="270"
/>
</shape>
</clip>
</item>
</layer-list>
업데이트를 일을해야 내가
제 대답을 확인하십시오. –