Clock Mods - Remove NavBar Andoid 11 and 12

Search This thread

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,548
7,106
When using noclock, there's an issue I experience where the clock is no longer visible in the status bar but there's a noticeable space where it used to be, so any notifications appear to the right of that space (where the clock used to be).

Anyway to remove that? So all icons appear all the way to the left?
Try this. For P6P 12.1
 

Attachments

  • NoClock.zip
    17.2 MB · Views: 3

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,548
7,106
Thanks but this didn't work either, I forgot that I'm using a Custom Rom and not Stock, so that's why it isn't working

Could you teach me how to build a NoClock module for a Custom Rom?
Basically, you zero out the width and height of the clock (in status_bar.xml of systemui). For good measure, I usually add the code android: visibility="gone" as well.
 

Rodimus8402

Senior Member
Jul 19, 2016
60
8
Google Pixel 6 Pro
Basically, you zero out the width and height of the clock (in status_bar.xml of systemui). For good measure, I usually add the code android: visibility="gone" as well.
So where it says

"android:layout_width="wrap_content" android:layout_height="fill_parent"

I'd change that to

"android:layout_width="0" android:layout_height="0"
android: visibility=gone"

?
 

Attachments

  • Screenshot_20220331-224703.png
    Screenshot_20220331-224703.png
    476 KB · Views: 6

Tulsadiver

Recognized Contributor
Jul 11, 2013
9,548
7,106
Haha thanks, I'm a total noob when it comes to modifying APK files.

Once I've made these changes, what then?
Recompile the apk. After that, you unzip the apk. If you use my installer (attached. You'll need to unzip it, then zip it back up to flash) and it's a custom rom, you can take out just the status_bar.xml , put it in the vrtheme/system/system_ext/priv-app/SystemUI/SystemUI.apk/res/layout folder
 

Attachments

  • NoClock.zip
    2.5 MB · Views: 3

Top Liked Posts