我想有一個圓形的進度條這樣自定義通知進度條與實心圓
我試過,但它不像圓形,以及如何把動畫與衰落一起,因爲目前我我爲所有六個圓圈使用相同的xml。
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginRight="15dp"
android:orientation="vertical" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:src="@drawable/circle_shape_big_custom_search" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:src="@drawable/circle_shape_big_custom_search" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="72dp"
android:src="@drawable/circle_shape_big_custom_search" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="72dp"
android:src="@drawable/circle_shape_big_custom_search" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="15dp"
android:orientation="vertical" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:src="@drawable/circle_shape_big_custom_search" />
<ImageView
android:layout_width="wrap_content"
android:layout_marginTop="5dp"
android:layout_height="wrap_content"
android:src="@drawable/circle_shape_big_custom_search" />
</LinearLayout>
任何幫助將非常感激。
結帳:https:// gith ub.com/Fichardu/CircleProgress –
此線程已經開放。任何機構都可以幫助我解決這個問題。 ?? – DJhon