1. Are you ready for the Galaxy S20? Here is everything we know so far!

word "new" in my code has no colour in android studio

Discussion in 'Android Development' started by White_Rabbit, Jan 22, 2022.

  1. White_Rabbit

    White_Rabbit Lurker
    Thread Starter

    I am trying to write code for BLE data transfering and i got a problem in my code. The word new as you can see below is supposed to be kind of yellow in my code but it has no colours. Is this a problem cause it annoys me.
    Code (Java):
    1. private void bluetoothONMethod() {
    2.     buttonOn.setOnClickListener(new View.OnClickListener() {
    3.         [USER=1021285]@override[/USER]
    4.         public void onClick(View view) {
    5.  
    6.         }
    7.     });
    8. }
     


    #1 White_Rabbit, Jan 22, 2022
    Last edited by a moderator: Jan 23, 2022

    1. Download the Forums for Android™ app!


      Download

       
  2. Unforgiven

    Unforgiven ...eschew obfuscation...
    Moderator

    I added code tags for readability. Good luck!! :)
     
Loading...
Similar Threads - word code has
  1. App Update
    Replies:
    0
    Views:
    304
  2. App Update
    Replies:
    0
    Views:
    291
  3. Douchebert
    Replies:
    2
    Views:
    446
  4. Fatbomb
    Replies:
    2
    Views:
    437
  5. App Update
    Replies:
    0
    Views:
    328
  6. kiyakmusto
    Replies:
    2
    Views:
    423
  7. iamashrafulbd
    Replies:
    0
    Views:
    319
  8. App Update
    Replies:
    0
    Views:
    286
  9. SavMax98
    Replies:
    1
    Views:
    517
  10. ZepTepi
    Replies:
    2
    Views:
    615

Share This Page

Loading...