1,639 questions
2
votes
2
answers
129
views
How to fix LinearProgressBar
I need to implement a simple progress bar into my app. It should just indicate a value between 0 and 100, but I have some visual part I don`t like.
LinearProgressIndicator(
modifier = Modifier....
0
votes
1
answer
151
views
how to customize a progress bar in android studio (java) with changes in color according to the progress? and for it to look like my description
i am building an app for taking care of a virual animal, and want to indicate to the user how full / hungry it is by using a progress bar.
I want the progress bar to be horizontal, with a brown ...
0
votes
2
answers
172
views
Changing the Color of the Custom Progress Bar Programmatically - Solved
I'm trying to change the color of the customized ProgressBar dynamically with Java.
This is the implementation of the ProgressBar on the main layout:
[activity_main.xml]
<ProgressBar
...
0
votes
2
answers
478
views
Android Studio Progress Bar not updating correctly
Currently Making a music player where I have a progress bar that tracks the current progress of the music playing. However I've tired many different approach and am unsure if its because the way I've ...
-2
votes
1
answer
134
views
Progress bar from 0 to 100 in 4 seconds
I want the progress bar to be exactly 0 to 100 in 4 seconds, but the more I log, the more it gets.
its my code
private fun progress1 (int: Int=1){
if (int in 1..100){
if (int==1)...
0
votes
2
answers
286
views
Why my ProgressBar is showing up after inline coroutine function, instead of before?
When I'm sending HTTP requests to server from my tablet by using Fuel, I want to display a ProgressBar at screen before the concerned function begins to run. But for an unknow reason, it's happened ...
-2
votes
1
answer
642
views
How to create custom progressbar with indicator points using Kotlin
I am trying to build a multiple step registration form where in each step the user enters some data and clicks next/previous button to go to the next/previous step. I am implementing this using ...
0
votes
2
answers
273
views
changing progress bar as scrolling
I'm making a project in Kotlin that has a view with a long text inside a recyclerView. I wanted to put a linear progress bar to show how much text is left.
Currently I have this:
binding.rvBody....
0
votes
1
answer
181
views
How to show a circular loader during an API request in Android Studio
I am trying to show the Progress Bar component (circular, not horizontal) during a GET api request in Android Studio. I am running the API request on a different thread and I am setting the progress ...
-1
votes
1
answer
1k
views
How to make Vertical Progress Indicator using Jetpack Compose?
Just can't figure out how to make Indicators like in provided picture in Jetpack Compose.
Tryed using LinearProgressIndicator but as I understood there is no way to make it be vertical, sadly.
1
vote
0
answers
324
views
CircularProgressIndicator doesn't animated within ComposeView in Fragment
I am having this
in a Fragment
return ComposeView(requireContext()).apply {
config = ChartsConfig()
setViewCompositionStrategy(ViewCompositionStrategy....
2
votes
1
answer
2k
views
How to set a determinate linear progress indicator
I have put a linear progress indicator in my code in Jetpack Compose but
don't know how to set a value. It's determinate so the user can see the
detailed progress but it's not working
First setting ...
1
vote
1
answer
631
views
Horizontal Progress Bar - How to add label inside indicator?
I'm using the material library's LinearProgressIndicator for a horizontal progress bar.
How would I add a label inside the indicator of the progressbar indicator?
<com.google.android.material....
9
votes
2
answers
3k
views
Jetpack Compose Arc/Circular Progress Bar Animation (How to restart animation)
How do I create a Arc Progress bar animation like this
Currently I've already used Canvas to draw an arc and added animations to the progress bar using animateFloatAsState API. But second pic is not ...
0
votes
1
answer
874
views
Loading progress bar does not appear when background task runs
I want to show a circular progress bar while the shopping list items are being retrieved from the database. I have a Lazycolumn that displays the retrieved shopping list items, but the circular ...
-1
votes
1
answer
829
views
Customised Horizontal progress bar in Android
I want a customised progress bar in android, like this:
I want progress bar same as it is, but unable to achieve this.
0
votes
1
answer
984
views
How do I get ProgressBar tint colour to work on API 21?
I've set progress bar tint in XML, but it isn't working on API 21 (Android 5.0)
<ProgressBar
android:layout_width="match_parent"
android:layout_height="5dp"
...
3
votes
0
answers
610
views
How to set progress to specific position of exo_progress of ExoPlayer in RecyclerView?
I want UI Something like the attached screenshot.
This all will be a list of mp3 audio, which is user has played at some point already and left in middle.
I am using ExoPlayer for mp3 and ...
-1
votes
2
answers
60
views
can anyone help me out why I am getting null value even there is no error in the code
package com.example.myquizapp
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.ProgressBar
import android.widget.TextView
here is ...
1
vote
2
answers
1k
views
How to change the speed of ProgressBar in Android using Java?
I have a ProgressBar (the round shape one) and it spins very fast, how do I change it to spin at a slower speed?
(It is running indefinitely)
Here is my XML of ProgressBar:
<ProgressBar
...
0
votes
1
answer
63
views
Button with progress with steps
I need to create a button with progress with steps like the following screenshot and I have searched for the library to do that but I couldn't find it. Can anyone please send me the library or XML ...
0
votes
1
answer
229
views
How to hide the default android webview progress bar?
i work on an app that displays a page through a webview. I have implemented my own progress bar and it works fine. However i cannot get rid of the default android progress bar that keeps showing up (...
5
votes
1
answer
5k
views
How could I design a multi circular progress bar in jetpack compose?
I'm trying to design a progress bar showing multi-progress using jetpack compose but I did not find any library or helping material. I am just able to design a single progress bar but I need to design ...
0
votes
2
answers
1k
views
Horizontal Progressbar with multiple colour
I have four different color button and one progress bar this now my query is when i click on any button so progressbar will progress with same color serially say for example I have fou diff. color ...
1
vote
0
answers
170
views
Visual problem with Android Studio progress bar
I added an option to click on it in activity number 1 that saves sharedpreferences, and it should restart progressbar progress in activity nr 2, but the problem is that even when I go to activity nr 2 ...