android-progressbar Questions

2

Solved

I'm trying to create a rounded square line progress bar to draw a progress around an image. So far, I have the following XML which defines my rounded square line: <shape xmlns:android="http:...
Lipid asked 29/5, 2016 at 8:47

3

Solved

I have a task to add a ProgressBar with percentage values on it to show a value when the user wants to predict something. I'm not using ProgressDialog since it's now deprecated. Here, the percentag...
Glasgow asked 17/6, 2019 at 8:35

5

Solved

I am trying to implement the spinning activity similar to the the one I have placed below in Android. I believe I should use the ProgressDialog. My issue arises from how to actually manipulate the ...

13

Solved

My activity_main.xml is below, as you see, the height is set 40 dip. And in MyEclipse, it looks like below: But when I run it on my phone, it looks like below: So my question is why the re...
Ordway asked 22/11, 2012 at 9:55

21

Solved

I have set Horizontal ProgressBar. I would like to change the progress color to yellow. <ProgressBar android:id="@+id/progressbar" android:layout_width="80dip" android:layout_height="20d...
Angelicangelica asked 21/4, 2011 at 14:54

5

Solved

I have a custom progress bar that looks like this: Here's the .xml code I've used to create it: background_drawable.xml <?xml version="1.0" encoding="UTF-8"?> <shape xmlns:android="ht...

8

Solved

I am trying to achieve this progress bar design: The current code that I have produces this: This is the code: <item android:id="@android:id/background"> <shape> <corners an...
Prophet asked 7/3, 2017 at 11:2

2

Solved

I would like to use CircularProgressIndicator from Material Library width custom size, but when I set any width or height to the view, just view Itself changing not circle inside it. what I want to...
Bowerbird asked 15/2, 2021 at 9:38

28

By default the ProgressBar has a certain padding above and below the bar itself. Is there a way to remove this padding so as to only have the bar in the end?
Brutus asked 5/1, 2013 at 11:49

5

How can I add a progress bar in a PreferenceFragment? I have some async task running that will display some values in my preference upon completion. So while it is doing the background process, I p...
Rhodarhodamine asked 5/7, 2016 at 2:22

22

I have come across to see that ProgressDialog is now deprecated. What would be alternate one to use in place of that apart from ProgressBar. I am using android studio version 2.3.3. ProgressDial...
Verisimilar asked 28/7, 2017 at 12:1

2

Solved

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 n...

6

Solved

My application needs a ProgressBar, and I am trying to implement it with Jetpack Compose, so either I need a builtin ProgressBar support (I didn't find it) or there should be a mechanism to display...

5

Solved

I have a custom Circular Progressbar. This is the drawable I have for it to be determinate: <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/ap...

3

I have added a progress bar like following in my layout, i also added a color to it, and it works fine. <ProgressBar android:id="@+id/progressBar" style="?android:attr/progress...

12

Solved

In my application, I have a WebView which loads any URL from the internet. Now, sometimes due to slow networks the page takes a long time to load and the user sees only a blank screen. I want to s...

1

Solved

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 des...

42

Solved

I'm using an horizontal progress bar in my Android application, and I want to change its progress color (which is Yellow by default). How can I do it using code (not XML)?

7

Solved

When uninstalling an android application, or do some configuration, there will show such a horizontal progress bar, like following picture: It's not the same style like @android:style/Widget.Pro...
Chadwell asked 16/11, 2012 at 3:24

6

I added a progressbar to my app but I want to hide it after some doing some action, I used hide(), dismiss() and cancel()... but none of them work? How can I hide the progressbar?
Impede asked 17/1, 2011 at 21:15

16

I am trying to create a rounded progressbar. This is what I want to achieve There is a grey color background ring. On top of it, a blue color progressbar appears which moves in a circular path fr...

9

Solved

I want to make a material design circular progress bar like the one in Inbox by Gmail android app. How do I achieve this (in pre-lollipop devices)? Am trying to achieve a similar effect like this. ...
Decadent asked 8/11, 2014 at 7:14

3

Solved

Using TextInputLayout from Material Design library we can use various end icon modes for password redaction, text clearing and custom mode. Furthermore, if we use any of Widget.MaterialComponents.T...

0

I Have a horizontal progress bar in a nested recyclerView. The situation is I want to start the animation of the determinant progress bar when it's 5 dp above the bottom and complete its progress w...

4

I need to fit 4 circular progress bars horizontally, like this: so I decided to use new material component Circular Progress Indicator (https://material.io/components/progress-indicators/android)....

© 2022 - 2025 — McMap. All rights reserved.