Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sobot_module_Dev
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sobot_android
Sobot_module_Dev
Commits
532268f3
Commit
532268f3
authored
Apr 24, 2022
by
郑娜伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widget 修改加载控件ProgressBar成菊花效果
parent
1945a1bb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
sobot-widget-publish-mavencentral.gradle
sobot_widget/sobot-widget-publish-mavencentral.gradle
+1
-1
sobot_icon_loading.png
...widget/src/main/res/drawable-xhdpi/sobot_icon_loading.png
+0
-0
sobot_loading_progressbar_style.xml
...src/main/res/drawable/sobot_loading_progressbar_style.xml
+8
-0
sobot_loading_layout_loading.xml
...dget/src/main/res/layout/sobot_loading_layout_loading.xml
+2
-1
No files found.
sobot_widget/sobot-widget-publish-mavencentral.gradle
View file @
532268f3
...
...
@@ -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
'
//版本号
}
...
...
sobot_widget/src/main/res/drawable-xhdpi/sobot_icon_loading.png
0 → 100644
View file @
532268f3
22.6 KB
sobot_widget/src/main/res/drawable/sobot_loading_progressbar_style.xml
0 → 100644
View file @
532268f3
<?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
sobot_widget/src/main/res/layout/sobot_loading_layout_loading.xml
View file @
532268f3
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment