mardi 29 septembre 2015

[GUIDE][SM-G355H[EASY] How to channge color QuickSIMButton



Hi XDA!
I just gave the guide is very easy. And at this point just change the hex code. :D

REQUIREMENT:
- BRAIN
- Patient
- experience
- Know how to decompile/recompiling Apk
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ or else

Decompile SystemUI.apk

PART I
Search com/android/systemui/statusbar/policy/QuickSim1ButtonLayout.smali

Next "Find in File"


Code:


.method public setDeactiveSimUI()V

and look at this

Code:


        .line 220
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/QuickSim1ButtonLayout;->mQuickSim1Text:Landroid/widget/TextView;

    const-string v1, "#ffffff" change the hex code to this



Code:


        .line 221
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/QuickSim1ButtonLayout;->mQuickSim1CarrierText:Landroid/widget/TextView;

    const-string v1, "#ffffff" change the hex code to this


Search for

Code:


.method public setDeselectedSimUI()V

and look at this

Code:


    .line 210
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/QuickSim1ButtonLayout;->mQuickSim1Text:Landroid/widget/TextView;

    const-string v1, "#ffffff" change the hex code to this



Code:


    .line 211
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/QuickSim1ButtonLayout;->mQuickSim1CarrierText:Landroid/widget/TextView;

    const-string v1, "#ffffff" change the hex code to this


Search for

Code:


.method public setFocusedSimUI()V

and look at this

Code:


    .line 229
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/QuickSim1ButtonLayout;->mQuickSim1Text:Landroid/widget/TextView;

    const-string v1, "#ffffff" change the hex code to this



Code:


    .line 230
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/QuickSim1ButtonLayout;->mQuickSim1CarrierText:Landroid/widget/TextView;

    const-string v1, "#ffffff" change the hex code to this


Search for

Code:


.method public setSelectedSimUI()V

and look at this

Code:


    .line 200
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/QuickSim1ButtonLayout;->mQuickSim1Text:Landroid/widget/TextView;

    const-string v1, "#ff4183" change the hex code to this



Code:


        .line 201
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/QuickSim1ButtonLayout;->mQuickSim1CarrierText:Landroid/widget/TextView;

    const-string v1, "#ff4183" change the hex code to this


PART II
Search com/android/systemui/statusbar/policy/QuickSim2ButtonLayout.smali

After you find, a look, follow the guide for PART I and only just a different line of course

Choose color below according to taste
- White = "#ffffff"
- Green = "#fffdbf"
- Red = #f34134
- Blue = #4183f2
- Yellow = #f7bc02

Recompile
sign
push



Aucun commentaire:

Enregistrer un commentaire