[MOD]THEMERS] Change keyboard swipe/trace color

Search This thread

CNexus

Senior Member
May 17, 2012
9,009
13,993
~/android
Simple mod but I thought I should share.

  1. Decompile LGEIME.apk (smali only, don't need the resources for this)
  2. Navigate to com\lge\ime\inputview\ and open LgeTraceViewImpl.smali
  3. Find the method:
    Code:
    .method private a(Landroid/content/Context;)V
  4. Find these lines:
    Code:
        const-string/jumbo v2, "shape_writer_color"
    
        const v3, -0x992c14
    
        invoke-virtual {v1, v2, v3}, Lcom/lge/ime/keyboard/i;->e(Ljava/lang/String;I)I
    
        move-result v1
  5. Add this line after the "move-result v1" line, replacing the "YOUR HEX" bit with your custom smali color hex.
    Code:
    const v1, 0x [ YOUR HEX ]
  6. Recompile and profit

Sample modded keyboard:
wbk53Gn.jpg
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Simple mod but I thought I should share.

    1. Decompile LGEIME.apk (smali only, don't need the resources for this)
    2. Navigate to com\lge\ime\inputview\ and open LgeTraceViewImpl.smali
    3. Find the method:
      Code:
      .method private a(Landroid/content/Context;)V
    4. Find these lines:
      Code:
          const-string/jumbo v2, "shape_writer_color"
      
          const v3, -0x992c14
      
          invoke-virtual {v1, v2, v3}, Lcom/lge/ime/keyboard/i;->e(Ljava/lang/String;I)I
      
          move-result v1
    5. Add this line after the "move-result v1" line, replacing the "YOUR HEX" bit with your custom smali color hex.
      Code:
      const v1, 0x [ YOUR HEX ]
    6. Recompile and profit

    Sample modded keyboard:
    wbk53Gn.jpg
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone