Jump to content


Photo

[Request] Change DPI of Navigation Bar


  • Please log in to reply
30 replies to this topic

#1 johnpaul12

johnpaul12

    Member

  • Members
  • PipPip
  • 38 posts

Posted 15 January 2013 - 03:29 PM

Is there anyway to lower the DPI (height) on the HD? It was available on AOKP but there's no stable release for that yet. I'm running both a CM10 Based and Batakang ROM.

I made one for my old Batakang ROM. Megaroad made the one for Nexesque (be sure to thank em!)

I'm not responsible for anything you do to your phone :)

Batakang link:

Please Login or Register to see this Hidden Content



Nexesque Link (thanks to Megaroad!) :

Please Login or Register to see this Hidden Content



Want a different DPI?:

Please Login or Register to see this Hidden Content



#2 afmracer6

afmracer6

    Member

  • Members
  • PipPip
  • 58 posts

Posted 15 January 2013 - 09:54 PM

+1 that would be sweet

#3 vtwinbmx

vtwinbmx

    Droid Elite

  • Developer
  • 2,486 posts
  • LocationOhio

Posted 16 January 2013 - 06:28 AM

Yes if you are able to decompile framework-res you can change the dpi

the xml is located in res-values-dimens line 14 & 15

Take a look at the uploaded file for example- stock size is 48 I normally make it 42 DPI but with the transparent nav bar and the size of the screen I haven't been changing it on the HD build that I do.

If you need further help let me know

Attached Files


  • johnpaul12 likes this

vtc.png


#4 zooyork0721

zooyork0721

    All Around Man

  • Developer
  • 979 posts
  • Google+:gtalk/hangouts- zooyork0721
  • LocationNew York, NY
  • Current Device(s):OnePlus 8 Pro

Posted 16 January 2013 - 04:32 PM

twin do you think it may become an option ;)?

lr79yH0.png

en_app_rgb_wo_60.png


#5 vtwinbmx

vtwinbmx

    Droid Elite

  • Developer
  • 2,486 posts
  • LocationOhio

Posted 16 January 2013 - 07:10 PM

I can try to get it unto ROM control
  • zooyork0721 likes this

vtc.png


#6 johnpaul12

johnpaul12

    Member

  • Members
  • PipPip
  • 38 posts

Posted 17 January 2013 - 10:51 AM

Yes if you are able to decompile framework-res you can change the dpi

the xml is located in res-values-dimens line 14 & 15

Take a look at the uploaded file for example- stock size is 48 I normally make it 42 DPI but with the transparent nav bar and the size of the screen I haven't been changing it on the HD build that I do.

If you need further help let me know



And this will work for any ROM. CM10 or regardless? Sorry, not really used to framework-res but i'll give it a shot. I'll look up some tutorials.

Edit: BAM! This is what you're referring to right?

Please Login or Register to see this Hidden Content



#7 bL33d

bL33d

    Member

  • Members
  • PipPip
  • 30 posts

Posted 03 February 2013 - 05:15 PM

Id like a update.zip of this if possible

#8 zooyork0721

zooyork0721

    All Around Man

  • Developer
  • 979 posts
  • Google+:gtalk/hangouts- zooyork0721
  • LocationNew York, NY
  • Current Device(s):OnePlus 8 Pro

Posted 18 February 2013 - 10:13 AM

Id like a update.zip of this if possible

what would like the update.zip to do ? lol
like for what rom and what sizing?

lr79yH0.png

en_app_rgb_wo_60.png


#9 truemarine

truemarine

    n00b

  • Members
  • Pip
  • 6 posts

Posted 01 March 2013 - 04:23 AM

And this will work for any ROM. CM10 or regardless? Sorry, not really used to framework-res but i'll give it a shot. I'll look up some tutorials.

Edit: BAM! This is what you're referring to right?

Please Login or Register to see this Hidden Content


Thx for post the link. I tried it and it really works.

#10 bL33d

bL33d

    Member

  • Members
  • PipPip
  • 30 posts

Posted 01 March 2013 - 09:23 AM

what would like the update.zip to do ? lol
like for what rom and what sizing?

just a odexed version and a deodexed verion of 24dpi and 32dpi would be nice.

#11 Guest_Megaroad_*

Guest_Megaroad_*
  • Guests

Posted 06 March 2013 - 05:01 PM

I made this revision to my download of Nexesque. I had trouble at first because the Back button was staying large while the Home and Recent buttons were appropriately shrinking in scale to the height of the navbar, but I found the solution here:

Please Login or Register to see this Hidden Content



Have to change a couple lines in SystemUI.apk too, and then it all looks right. I think I'm using 30 dpi for the navbar. I don't know what's required to make it into a flashable zip, but I think Zooyork knows how to do it.

#12 johnpaul12

johnpaul12

    Member

  • Members
  • PipPip
  • 38 posts

Posted 07 March 2013 - 12:33 PM

I made this revision to my download of Nexesque. I had trouble at first because the Back button was staying large while the Home and Recent buttons were appropriately shrinking in scale to the height of the navbar, but I found the solution here:

Please Login or Register to see this Hidden Content



Have to change a couple lines in SystemUI.apk too, and then it all looks right. I think I'm using 30 dpi for the navbar. I don't know what's required to make it into a flashable zip, but I think Zooyork knows how to do it.


Hey sorry i never updated this. But i made a flashable zip for my Batakang ROM. I'm not a 100% sure this will work on Nexesque but if you changed the DPI on yours then you can replace the files on this with your ones.


Edit: forgot link lol

Please Login or Register to see this Hidden Content


  • zooyork0721 likes this

#13 johnpaul12

johnpaul12

    Member

  • Members
  • PipPip
  • 38 posts

Posted 07 March 2013 - 01:01 PM

Yeah so if anyone can replace my Batakang Files with their Nexesque Files and then post it here ...that'd be great... :)

#14 zooyork0721

zooyork0721

    All Around Man

  • Developer
  • 979 posts
  • Google+:gtalk/hangouts- zooyork0721
  • LocationNew York, NY
  • Current Device(s):OnePlus 8 Pro

Posted 07 March 2013 - 01:03 PM

alright ;) will do but im not running nexesque right now so i cant test it just saying but i will put it together.

lol how could there is a system.ui apk in the flash?
  • johnpaul12 likes this

lr79yH0.png

en_app_rgb_wo_60.png


#15 zooyork0721

zooyork0721

    All Around Man

  • Developer
  • 979 posts
  • Google+:gtalk/hangouts- zooyork0721
  • LocationNew York, NY
  • Current Device(s):OnePlus 8 Pro

Posted 07 March 2013 - 01:19 PM

deleted

lr79yH0.png

en_app_rgb_wo_60.png


#16 Guest_Megaroad_*

Guest_Megaroad_*
  • Guests

Posted 07 March 2013 - 01:20 PM

I should be able to do it later.

The systemui part is to make the back button the right size. It doesn't scale with the navbar unless you delete something in the systemui.apk.

edit: oh you're good?

#17 zooyork0721

zooyork0721

    All Around Man

  • Developer
  • 979 posts
  • Google+:gtalk/hangouts- zooyork0721
  • LocationNew York, NY
  • Current Device(s):OnePlus 8 Pro

Posted 07 March 2013 - 01:23 PM

I should be able to do it later.

The systemui part is to make the back button the right size. It doesn't scale with the navbar unless you delete something in the systemui.apk.

edit: oh you're good?

hell if i know lmao whenever i made the nav bar smaller i usually just use framework but ah not sure if someone says it doesnt work i will remove the link :P haha

lr79yH0.png

en_app_rgb_wo_60.png


#18 Guest_Megaroad_*

Guest_Megaroad_*
  • Guests

Posted 07 March 2013 - 01:27 PM

hell if i know lmao whenever i made the nav bar smaller i usually just use framework but ah not sure


It works with just the framework if you're getting rid of it completely, but when I was just making it smaller the back button didn't look right until I also changed the systemui.

#19 zooyork0721

zooyork0721

    All Around Man

  • Developer
  • 979 posts
  • Google+:gtalk/hangouts- zooyork0721
  • LocationNew York, NY
  • Current Device(s):OnePlus 8 Pro

Posted 07 March 2013 - 01:32 PM

i checked the dimens.xml for the normal nexeque rom and the modded system.ui for batakang he put up anf they both have the same exactly code so i dont know

edit; nevermind i found it ;) one min

lr79yH0.png

en_app_rgb_wo_60.png


#20 johnpaul12

johnpaul12

    Member

  • Members
  • PipPip
  • 38 posts

Posted 07 March 2013 - 03:21 PM

alright ;) will do but im not running nexesque right now so i cant test it just saying but i will put it together.

lol how could there is a system.ui apk in the flash?


I'll test it out!


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users