Revert "align navigation spinner with nav color"
This reverts commit 3cd249711b
.
This commit is contained in:
parent
e443b0bde3
commit
58a9cf5278
3 changed files with 4 additions and 8 deletions
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB |
|
@ -62,8 +62,7 @@ public class AsyncLoadingThread extends Thread {
|
|||
if (downloader.isSomethingBeingDownloaded()) {
|
||||
progress = BusyIndicator.STATUS_GREEN;
|
||||
} else if (resourceManger.getContext().getRoutingHelper().isRouteBeingCalculated()) {
|
||||
// progress = BusyIndicator.STATUS_BLUE;
|
||||
progress = BusyIndicator.STATUS_ORANGE;
|
||||
progress = BusyIndicator.STATUS_BLUE;
|
||||
} else if (!requests.isEmpty()) {
|
||||
progress = BusyIndicator.STATUS_BLACK;
|
||||
} else if(poiLoadRequest != null && poiLoadRequest.isRunning()) {
|
||||
|
|
|
@ -17,8 +17,7 @@ public class BusyIndicator {
|
|||
|
||||
public static final int STATUS_INVISIBLE = 0;
|
||||
public static final int STATUS_GREEN = 1;
|
||||
// public static final int STATUS_BLUE = 2;
|
||||
public static final int STATUS_ORANGE = 2;
|
||||
public static final int STATUS_BLUE = 2;
|
||||
public static final int STATUS_BLACK = 3;
|
||||
|
||||
public BusyIndicator(Context ctx, View bar){
|
||||
|
@ -49,10 +48,8 @@ public class BusyIndicator {
|
|||
final Drawable drawable;
|
||||
if(this.status == STATUS_BLACK){
|
||||
drawable = ctx.getResources().getDrawable(R.drawable.spinner_black_76);
|
||||
// } else if(this.status == STATUS_BLUE){
|
||||
// drawable = ctx.getResources().getDrawable(R.drawable.spinner_blue_76);
|
||||
} else if(this.status == STATUS_ORANGE){
|
||||
drawable = ctx.getResources().getDrawable(R.drawable.spinner_orange_76);
|
||||
} else if(this.status == STATUS_BLUE){
|
||||
drawable = ctx.getResources().getDrawable(R.drawable.spinner_blue_76);
|
||||
} else if(this.status == STATUS_GREEN){
|
||||
drawable = ctx.getResources().getDrawable(R.drawable.spinner_green_76);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue