Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable background highlighting in Android Studio

I hate having to ask these types of questions, but I accidentally turned some feature on a few weeks ago and I can't get it back off. Mainly, all my button code in any activity gets highlighted. I don't want that on, whatever it is. Can anyone help me?this is what it's doing

like image 746
ddonche Avatar asked May 31 '16 17:05

ddonche


People also ask

How to prevent Android taking a screenshot when my app goes background?

This example demonstrate about how do I prevent Android taking a screenshot when my app goes to the background. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project. Step 2 − Add the following code to res/layout/activity_main.xml.

Do background apps slow down your phone?

In our popular post titled 13 tricks and hacks to speed up Android, our own Adam Sinicki noted that while background apps can kill the battery, background app killers can slow you down as well: Booting an app from nothing takes longer and uses more battery than switching to one that is paused.

Why are there restrictions on the background of an app?

These restrictions help minimize interruptions for the user and keep the user more in control of what's shown on their screen. Note: For the purposes of starting activities, an app running a foreground service is still considered to be "in the background".

How to turn off background color scheme in darcula?

On the region which is center of the Preferences window: Select Code > Injected language fragment On the right side the Preferences window: Disable the 'Background' option. However, I should clone the color scheme since the Darcula scheme is read-only.


2 Answers

To disable an inspection for highlighted issue in the editor

-When you disable inspections this way, they are disabled for the current inspection profile.

-To re-enable inspections disabled this way, use the main procedure described above.

  1. Set the caret at a highlighted issue.
  2. Click the bulb icon or press Alt+Enter to reveal the inspection alert and suggestion list.
  3. Select the inspection to be disabled, then click right arrow button or just press the right arrow key.

4.On the submenu, click Disable .

like image 76
prat Avatar answered Oct 29 '22 16:10

prat


go to :

File/settings/Editor/Colors & Fonts/Language Defaults

And change scheme to Default or Customize it...

Hope This help you...

like image 42
blkrt Avatar answered Oct 29 '22 15:10

blkrt