[How To] Decrease buttons Navigation android (NavBar) - Moto G General

First have the APKTools, NotePad + +, 7Zip and Paciencia, lol ....
- Follow up framework-res.apk \ res \ values
- Open dimens.xml
- Search for the lines:
dimension name = "navigation_bar_height'' 48
dimension name = "navigation_bar_height_landscape'' 48
dimension name = "navigation_bar_width'' 42
-Change the values ​​48/48/42 to 35/35/32
- SystemUI -> res -> layout -> navigation_bar.xml and open it with Notepad++.
- Inside the navigation_bar.xml file find the following two lines:
"@drawable/ic_sysbar_back" android:scaleType="center"
"@drawable/ic_sysbar_back_land" android:scaleType="center"
- Now, delete the android:scaleType="center" from both lines.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Recompile
- Open Framework recompiled using 7Zip resources.arsc copy the file to the original file.
- Done!
before
after
Ps. Tested on devices
Motorola Razr HD
Motorola Razr D3
Motorola Moto G XT1033
Credits for the How to: Fabio PAB

Why just not using xposed / gravitybox? It does the very same thing and much more without going through all of this headache.
Sent from my XT1033 using Tapatalk

Doublepranks said:
Why just not using xposed / gravitybox? It does the very same thing and much more without going through all of this headache.
Sent from my XT1033 using Tapatalk
Click to expand...
Click to collapse
I prefer to use the means of development upon the friend's own apk apk tools
Hug.

I like it! But, i've installed GravityBox on my Moto G and i couldnt find an option for this.. How can i do this using GravityBox?
Thanks!

ponxho said:
I like it! But, i've installed GravityBox on my Moto G and i couldnt find an option for this.. How can i do this using GravityBox?
Thanks!
Click to expand...
Click to collapse
The option can be found in GravityBox [KK]<Navigation Bar Tweaks<Dimensions.

Doublepranks said:
Why just not using xposed / gravitybox? It does the very same thing and much more without going through all of this headache.
Sent from my XT1033 using Tapatalk
Click to expand...
Click to collapse
Is there a way to hide or decrease it without root?

Related

[TUTORIAL] HOW TO DISABLE toggle ''switch input methods''while typing and many more

*I'm not responsible for anything that happens to your device. Do it at your own risk *
*ROOT REQUIRED*
works with cm9/aokp/stock/aosp
What this does?
-While your typing something you can see an icon on the top left of the screen which says select input method. if ur annoyed by that icon u can simply disable it by following this tutorial
Advantages:
No need to modify any APKs. This means:
No need to decompile, change things in smali, compile, sign, ...
It will work for odexed and deodexed ROMs.
always make a nandroid backup
Installation
1) download and install
''XPOSEDINSTALLER'' and "XPOSED TWEAKBOX"
2) open EXPOSEDINSTALLER then select install/update
3) then go to MODULES and enable xposed tweakbox
4)open XPOSED TWEAKBOX
5)select statusbar and "untick" show input switcher
6)reboot
TESTED on foxhound rom
This is not my work its just a tutorial by me.. all credits to rovo89 & tungstwenty
Features of XPOSED TWEAKBOX
*CRT-ON/OFF EFFECT
1)open XPOSED TWEAKBOX
2)select CRT on/off
3)open EXPOSEDINSTALLER
4)go to libraries tab and select the last option(libsurfaceflinger.so)
5)select 2nd option crt on/off fix for gt-I9300
6)reboot
*Vibrante on call wait
*Increasing ring volume (enable/disable)
*Skip tracks with volume key(only when scree off)
*Turn on screen when unplugging
*many more
press thanks if i helped
SOURCES
http://forum.xda-developers.com/showthread.php?t=1574401
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
reserved
Sent from galaxy s3
Does this is works with jellybean?
Sent from my GT-I9300 using xda app-developers app
amosljl1995 said:
Does this is works with jellybean?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Does not. Tried on Jellybean 4.1.2 Deodexed Stock EMR2
Boot-loop
restoring backup now
it doesn't work anymore.. u can try jkay mod it does the same
Sent from my GT-I9300 using xda premium
Does it has an option to make it pressistend, it's useful with lastpass since there keyboard is handy but sucks in typing

[TUTORIAL] Enable Softkey for CM7 ROMS

hy all I will announce on how to activate Softkey in CM7 rom but please note that this framework-res his or her system should be deodexed
ok we go to step - its stride
ScreenShoot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Requirements :
Apktool
Notepad++
Click to expand...
Click to collapse
Step 1
Open this Apktool/cmd.exe
Step 2
Decompile file framework-res.apk
Step 3
go to folder framework-res.apk/res/value/bools.xml open with notepad++
and select
"cm_default_tablet">true</bool>
"cm_default_has_soft_buttons">true</bools
Step 4
Decompile as framework-res.apk
Finnaly
open the framework-res.apk file using 7-zip
then go to the folder framework-res/build/apk
There disamna resource, arc
nah this file then drag the framework-res.apk
using 7-zip
Click to expand...
Click to collapse
Good luck :fingers-crossed:
Nice tut bro
Sent from my E16i using Tapatalk 2
Nice, i will try to include thi in the next version of GingerKC
Sent from my E15i using xda premium
I think that there is an option for enabling the soft keys in the "Tablet Tweaks" in cyanogenmod settings..
dagger said:
I think that there is an option for enabling the soft keys in the "Tablet Tweaks" in cyanogenmod settings..
Click to expand...
Click to collapse
This mod enables it.
No i meant that the soft keys can be enabled without this mod too
dagger said:
No i meant that the soft keys can be enabled without this mod too
Click to expand...
Click to collapse
No.
Sent from my Galaxy Nexus using xda app-developers app
I would like to alert all GingerZaraki users (and any other ROM which has the statusbar bug like mine) NOT to use this mod. You will loose all icons on the statusbar. No, launching Terminal Emulator and Rebooting WON'T work. Just a note.
@OP if you can, please add this to your post. I dont want 30 PM's due to this
@All thanks guys
good luck
They can be enabled on minicm7..
I tried them myself...
dagger said:
They can be enabled on minicm7..
I tried them myself...
Click to expand...
Click to collapse
yes this for CM7 ROMS
and system deodexed
Good topic, i'll try it tomorrow...
Hey, is anyone know is gdx 29 odex or deodex???
'Coz i've tried to mod fw on that rom with another method and got error --'
Sent from deepest heart of my x8
hmmm ... I've never tried these rom
and do not know its deodexed or ODEX system
but if its ODEX file ...
fox just to deodexed by using a kitchen cygwin
gdx 29 is deodex rom.

[GUIDE][ZTE DEVICES]Aosp lock screen

Hi today im going to show u how to get AOSP lockscreen on most if not all ZTE devices
This guide assumes u know how to decompile and compile apk files!!!
"What you will need..."
1. Apktool or equivalent GUI
2. Notepad++ or another XML/hex editor
3. Java
4. SDK/adb
5. A brain
6. Patience...
Step 1: Decompile framework-res.apk
Step 2: Go to res/values and open strings.xml
Step 3: Search for: "<string name="config_lockscreen_classname">"
Step 4: Change "com.android.internal.policy.impl.xxxxxxxx" to "com.android.internal.policy.impl.LockScreen"
Step 5: Recompile framework-res.apk and dont forget to resign
Step 6: Push apk to device and enjoy AOSP lockscreen!!!!
Note: Layout may need to be fixed depending on device eg: lock ring to low etc...
Sent from my N800 using Tapatalk
Does not work on zte blade c2 jelly bean 4.2.2 can not find the line Step 3: Search for: "<string name="config_lockscreen_classname">"
joses444 said:
Does not work on zte blade c2 jelly bean 4.2.2 can not find the line Step 3: Search for: "<string name="config_lockscreen_classname">"
Click to expand...
Click to collapse
can u upload ur framework-res.apk and I will take a look
Sent from my N800 using Tapatalk
I have also enabled this through policy too, framework method is easier
Sent from my N800 using Tapatalk
brittnearl said:
can u upload ur framework-res.apk and I will take a look
Sent from my N800 using Tapatalk
Click to expand...
Click to collapse
thanks, I leave the framework-res
joses444 said:
thanks, I leave the framework-res
Click to expand...
Click to collapse
framework-res
can u post a screen of ur lockscreen?? is it a long press?? u are correct string does not exist in ur frame
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is aosp minus my mods lol
Sent from my N800 using Tapatalk
If ur lock is long press upload ur android.policy.jar
Sent from my N800 using Tapatalk
brittnearl said:
If ur lock is long press upload ur android.policy.jar
Sent from my N800 using Tapatalk
Click to expand...
Click to collapse
thanks, I left a snapshot and android.policy
Hmm... Ur policy is setup completely different than mine, not sure how to go about getting it to work as i dont have ur device to test

[MOD] Lego Pattern-Lock (Jelly Bean / KitKat)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Inspired by the theme recently shared by @Ben Ling, here is the pattern-lock screen...with Lego!
To do this yourself, you can download the icons attached to this post and put them into the appropriate drawable-?dpi folder in your decompiled framework-res.apk.
Or, if you're not comfortable with decompiling apk files, just flash the attached 'Lego_PattenLock_Flashable.zip' in CWM (not TWRP). This zip will push a file called 'android-res.apk' into your 'system/vendor/overlay' folder.
By using an overlay apk, it means that your framework-res.apk isn't touched. So you won't lose any of the mods you may have done to it. Pretty cool, no?
Oh, and this zip will make a flashable backup too! Just in case you don't like the changes. Also pretty cool.
(Or, if you use Tickle My Android, why not just let the tool do it for you? I've just updated it with these icons!)
Enjoy!
buddy rock hard.... keep up tha good work but i like tha transparent mod!
Outstanding! Any ideas how to remove the "Draw your pattern" text from the lockscreen? I tried reducing the textsize variable in keyguard.xml [framework-res.apk -> res -> layout -> keyguard.xml] but no effect.
Thanks for this mod!
I'm on 4.4.2, Galaxy Note III.
egawrangler said:
Outstanding! Any ideas how to remove the "Draw your pattern" text from the lockscreen? I tried reducing the textsize variable in keyguard.xml [framework-res.apk -> res -> layout -> keyguard.xml] but no effect.
Thanks for this mod!
I'm on 4.4.2, Galaxy Note III.
Click to expand...
Click to collapse
Have a look in your strings.xml.
Excellent thanks @Ticklefish ?
I had to rename drawables folder to ZUltra friendly res but besides that all good. Thanks again.. (transparent too, my new favourite)
iBuzman said:
Excellent thanks @Ticklefish ?
I had to rename drawables folder to ZUltra friendly res but besides that all good. Thanks again.. (transparent too, my new favourite)
Click to expand...
Click to collapse
What res did you rename it to?
^^ xhdpi - I'll need to resize the pngs at some stage too (didn't bother this time when testing)
Ticklefish said:
Have a look in your strings.xml.
Click to expand...
Click to collapse
No joy. I spaced out the "Draw your pattern" and "Wrong pattern" fields to test but the text is still there? Any other ideas of places to look?
Thanks for the info BTW!

[GCam ModPixel 3..][Front Camera][Portrait][Green Picture/ Tint][Fix] For ZUK Z2 Plus

?S P I D E Y?​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello Everyone
Today I will Provide you the Pixel 3... GCam Mod Front Camera Portrait Green Tint/Picture Fix For ZUK Z2 PLUS. I have found this on youtube with different device and this will absolutely Works with some changes.
Follow These Steps Please:
Open Gcam
Click on More then Click on Settings
Go into Advanced
Code:
In Quick Settings
Then Select Base
Code:
In HDR+ Settings
After That Click on Front Camera Option
Code:
In Model Section
And Select NEXUS 5X
Then Close GCam and Force Stop GCam
Code:
InAppInfo
LAST BUT NOT LEAST ENJOY
​
i believe you miss some steps.....like screenshot?
locolyric said:
i believe you miss some steps.....like screenshot?
Click to expand...
Click to collapse
I Think screen shots are not required if you want sample photos but I will provide Guide through screenshots.Let me know:good:
Or we can just download the Arnovas latest build, Z2's config file provided by himself. Everything's sorted!
the_harsh said:
Or we can just download the Arnovas latest build, Z2's config file provided by himself. Everything's sorted!
Click to expand...
Click to collapse
Form where to download?
bordi21 said:
Form where to download?
Click to expand...
Click to collapse
for gcam:
https://f.celsoazevedo.com/file/cfiles/gcm1/Gcam_6.1.021_Advanced_V1.7.190716.1800.apk
for config files:
https://www.celsoazevedo.com/files/android/f/download/Lenovo_Z2_Plus.xml
and if you don't know how to import config file then:
https://www.celsoazevedo.com/files/android/google-camera/f/settings09/
the_harsh said:
for gcam:
https://f.celsoazevedo.com/file/cfiles/gcm1/Gcam_6.1.021_Advanced_V1.7.190716.1800.apk
for config files:
https://www.celsoazevedo.com/files/android/f/download/Lenovo_Z2_Plus.xml
and if you don't know how to import config file then:
https://www.celsoazevedo.com/files/android/google-camera/f/settings09/
Click to expand...
Click to collapse
Config. without xml is also useful i think, for those who don't have or prefer manual option with gcam. Bdw thanks for updating with another method for users.

Categories

Resources