Hello guys
After very long day
my second tut in this new year
So here i gonna provide a tut on Hide/Show 3 Dot Menu ( which is hidden in navigation Bar )
All you need is
Deodexed Settings.apk and SystemUI.apk
1. Decompile SystemUI.apk
2. Navigate to SystemUI.apk/smali/com/android/systemui/statusbar/phone
3. Open NavigationBarView.smali and look for this method
and replace the complete method with this below
4. Now save and close
5. Compile it and sign it and replace
Time to Work on with settings
Look for post #2
After very long day
my second tut in this new year
So here i gonna provide a tut on Hide/Show 3 Dot Menu ( which is hidden in navigation Bar )
All you need is
Deodexed Settings.apk and SystemUI.apk
1. Decompile SystemUI.apk
2. Navigate to SystemUI.apk/smali/com/android/systemui/statusbar/phone
3. Open NavigationBarView.smali and look for this method
Code:
.method public setMenuVisibility(ZZ)V
and replace the complete method with this below
Code:
.method public setMenuVisibility(ZZ)V
.locals 3
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/NavigationBarView;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {v0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object v0
const-string v1, "dot_menu_show"
const/4 v2, 0x0
invoke-static {v0, v1, v2}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x1
:cond_0
const/4 v1, 0x0
if-nez p2, :cond_1
iget-boolean v2, p0, Lcom/android/systemui/statusbar/phone/NavigationBarView;->mShowMenu:Z
if-ne v2, p1, :cond_1
:goto_0
return-void
:cond_1
iput-boolean p1, p0, Lcom/android/systemui/statusbar/phone/NavigationBarView;->mShowMenu:Z
iget-boolean v2, p0, Lcom/android/systemui/statusbar/phone/NavigationBarView;->mShowMenu:Z
if-eqz v2, :cond_2
iget v2, p0, Lcom/android/systemui/statusbar/phone/NavigationBarView;->mNavigationIconHints:I
and-int/lit8 v2, v2, 0x2
if-nez v2, :cond_2
const/4 v0, 0x1
:goto_1
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/NavigationBarView;->getMenuButton()Landroid/view/View;
move-result-object v2
if-eqz v0, :cond_3
:goto_2
invoke-virtual {v2, v1}, Landroid/view/View;->setVisibility(I)V
goto :goto_0
:cond_2
move v0, v1
goto :goto_1
:cond_3
const/4 v1, 0x4
goto :goto_2
.end method
4. Now save and close
5. Compile it and sign it and replace
Time to Work on with settings
Look for post #2
Last edited: