Commit 532268f3 by 郑娜伟

widget 修改加载控件ProgressBar成菊花效果

parent 1945a1bb
......@@ -13,7 +13,7 @@ ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'widget' //项目名
// PUBLISH_ARTIFACT_ID = 'widget_x' //项目名
PUBLISH_VERSION = '0.3' //版本号
PUBLISH_VERSION = '0.6' //版本号
}
......
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/sobot_icon_loading"
android:fromDegrees="0"
android:pivotX="50%"
android:pivotY="50%"
android:toDegrees="360"></animated-rotate>
\ No newline at end of file
......@@ -11,7 +11,8 @@
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center"
android:progress="80" />
android:indeterminateBehavior="repeat"
android:indeterminateDrawable="@drawable/sobot_loading_progressbar_style" />
<TextView
android:layout_width="wrap_content"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment