Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NikoYuwono/static-progress-bar
/ functions
Functions
20 in github.com/NikoYuwono/static-progress-bar
⨍
Functions
20
◇
Types & classes
3
↓ 4 callers
Method
setMaximumPercentage
Set the maximum percentage for the progress @param percentage
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:182
↓ 4 callers
Method
setProgressBackgroundColor
Set the background color @param color
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:167
↓ 4 callers
Method
setProgressColor
Set the progress color @param color
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:159
↓ 3 callers
Method
isShowingPercentage
If this returns true the custom progress will show progress based on getCurrentPercentage() @return true for showing percentage false for not showing
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:215
↓ 3 callers
Method
setDefaultValue
()
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:73
↓ 2 callers
Method
initView
Initialize the view before it will be drawn
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:110
↓ 2 callers
Method
useRoundedRectangleShape
Set the shape of custom progress to rounded rectangle @param cornerRadius radius of the corner
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:205
↓ 1 callers
Method
getCurrentPercentage
Get current percentage based on current width @return
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:190
↓ 1 callers
Method
setShowingPercentage
Set if the custom progress will show percentage or not @param showingPercentage true for showing percentage false for not showing anything
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:223
Method
ApplicationTest
()
StaticProgressBar/app/src/androidTest/java/nayoso/staticprogressbar/ApplicationTest.java:10
Method
CustomProgress
(Context context)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:58
Method
onCreate
(Bundle savedInstanceState)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/SampleActivity.java:14
Method
onCreateOptionsMenu
(Menu menu)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/SampleActivity.java:49
Method
onDraw
(Canvas canvas)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:88
Method
onLayout
(boolean changed, int l, int t, int r, int b)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:81
Method
onOptionsItemSelected
(MenuItem item)
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/SampleActivity.java:56
Method
resetWidth
Reset the progress to 0
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:174
Method
setSpeed
Set the speed of the movement of the progress @param speed as an int it should range from [1,100]
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:230
Method
updateView
call the function when you want to update view
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:236
Method
useRectangleShape
Set the shape of custom progress to rectangle
StaticProgressBar/app/src/main/java/nayoso/staticprogressbar/CustomProgress.java:197