Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the color of hud place of gray color

My question is the "How to change the color of the HUD in place of gray color"

  • In hud their is a gray color for the hud.
  • How to change the color of that color replace with off green color

in below image their is hud and how to change the gray color replace with another off green color

Thanks in advance. Nimit Parekh.

like image 732
Nimit Parekh Avatar asked Nov 15 '11 06:11

Nimit Parekh


People also ask

How do I change the color of my Valorant HUD?

Go to the Valorant settings. Click on General. Go to Accessibility. Change the Enemy Highlight Color option.

How do I change my HUD color in elite?

Under the section 'GUIColour,' you're looking for 'Standard' under the 'Default' heading in 'LocalisationName' tags. In the 'MatrixRed,' 'MatrixGreen,' and 'MatrixBlue' sections, you can edit the HUD color by entering numbers between 0 and 1.

What is MBProgressHUD?

MBProgressHUD is an iOS drop-in class that displays a translucent HUD with an indicator and/or labels while work is being done in a background thread. The HUD is meant as a replacement for the undocumented, private UIKit UIProgressHUD with some additional features.


2 Answers

MBProgressHUD *HUD = [[MBProgressHUD alloc] initWithView:self.navigationController.view];
HUD.color = [UIColor purpleColor];
...
like image 93
mishimay Avatar answered Sep 22 '22 06:09

mishimay


Swift 3:

let hud:MBProgressHUD = MBProgressHUD.showAdded(to: self.view, animated: true)

hud.bezelView.color = UIColor.green // Your backgroundcolor

hud.bezelView.style = .solidColor // you should change the bezelview style to solid color.
like image 29
venkatrao ramakurti Avatar answered Sep 18 '22 06:09

venkatrao ramakurti