[MOD][DEODEX][5.1.1][236] Framework with Tinted Navbar color = StatusBar - Xperia Z1 Compact Android Development

Now I wanna share my Project,Framework with tint navbar color=status bar color in some popular apps like Gmail, YouTube, DropBox. But may not affect to all
Then again,thanks to all the masters who have shared knowledge and I can't say one by one
and if the project is useful, just press thank you
https://yadi.sk/d/pv6YdLH03MVdMY

Link is restricted access

please update the link

drei.liter.milch said:
please update the link
Click to expand...
Click to collapse
You can do your own - decompile framework-res apk, search through /res/values/styles.xml for anywhere it says
Code:
<item name="navigationBarColor">...
and change 'black' to '?colorPrimary'. Recompile, sign, push...

I'll give it a try immediately :fingers-crossed:
---
@levone1
i had to replace the whole string ("@color/black" -> "?colorPrimary"), then it compiled successfully.
but my navbar still is just black. I guess the value is overridden by another one..

drei.liter.milch said:
I'll give it a try immediately :fingers-crossed:
---
@levone1
i had to replace the whole string ("@color/black" -> "?colorPrimary"), then it compiled successfully.
but my navbar still is just black. I guess the value is overridden by another one..
Click to expand...
Click to collapse
Many apps have their own navigation bar color value built in to the apk, so those ones will not be changed, (but you can do the same thing to the app apk if you want) . Apps that call on framework-res styles for navigation bar color will show the change. Also, make sure you change all of the references in styles.xml. For example, if you change the value in Theme.DeviceDefault, but not in Theme.Material, etc, then only apps that call on Theme.DeviceDefault will show it...

Related

[MOD][GUIDE]Touchwiz icons layout

Hi! Here is one small MOD and GUIDE for modding icon appearance in default samsung launcher I inspired here, thanks
What we can change:
icon count in row and column in menu
icon count in row and column on home screen
icon count on home screen in bottom line
What we need:
CWM (optional)
root
SecLauncher2.apk from system\app folder
How to mod:
make full backup
decompile SecLauncher2.apk
locate files
res\values-sw320dp-hdpi\integers.xml
res\values-sw320dp-hdpi\dimens.xml
in integers.xml we can change:
Code:
[I]icon count in row on home screen[/I]
<integer name="home_cellCountX">[COLOR="Red"]4[/COLOR]</integer>
[I]icon count in column on home screen[/I]
<integer name="home_cellCountY">[COLOR="red"]4[/COLOR]</integer>
[I]icon count in row in menu[/I]
<integer name="menuAppsGrid_cellCountX">[COLOR="red"]4[/COLOR]</integer>
[I]icon count in column in menu[/I]
<integer name="menuAppsGrid_cellCountY">[COLOR="red"]5[/COLOR]</integer>
[I]icon count on home screen in bottom line[/I]
<integer name="hotseat_cellCountX">[COLOR="red"]5[/COLOR]</integer>
In dimens.xml we can change:
Code:
[I]size of icons, should be change if you increase icon count in row/column otherwise icons will be too close[/I]
<dimen name="app_icon_size">[COLOR="Red"]48.0[/COLOR]dip</dimen>
[I]should be change if you changed home_cellCountX in integers.xml[/I]
<dimen name="home_cellWidth_port">[COLOR="red"]80.0[/COLOR]dip</dimen>
[I]should be change if you changed home_cellCountY in integers.xml[/I]
<dimen name="home_cellHeight_port">[COLOR="red"]96.0[/COLOR]dip</dimen>
[I]should be change if you changed hotseat_cellCountX in integers.xml[/I]
<dimen name="hotseat_cellWidth">[COLOR="red"]60.0[/COLOR]dip</dimen>
[I]should be change if you changed menuAppsGrid_cellCountX in integers.xml[/I]
<dimen name="menuAppsGrid_cellWidth">[COLOR="red"]78.0[/COLOR]dip</dimen>
[I]should be change if you changed menuAppsGrid_cellCountY in integers.xml[/I]
<dimen name="menuAppsGrid_cellHeight">[COLOR="red"]84.0[/COLOR]dip</dimen>
compile
copy back to phone
reboot
One small example:
For example I want to 5 icons in row in menu (default is 4). If I want to change this, I have to change in integers.xml line:
<integer name="menuAppsGrid_cellCountX">4</integer> to <integer name="menuAppsGrid_cellCountX">5</integer>
and in dimens.xml change line:
<dimen name="menuAppsGrid_cellWidth">78.0dip</dimen> to <dimen name="menuAppsGrid_cellWidth">62.5dip</dimen>
How to get proper numbers for dimens.xml file:
In my example I had original 4 icons and want 5. This mean I have to get from 78.0dpi -> 62.5dpi
(4 x 78) / 5 = 62.5 (in fact it is 62.4)
If you change one line in integers.xml, you have to change one proper line in dimens.xml.
In attachment is my moded SecLauncher2.apk, it has 6x5 icons in menu and 6 icons on home screen at bottom (see pictures). It is ODEX from 4.1.2. It should works on "N" model too, but i didn't test it.
edit:
Hi, I made for me new 7x5 menu layout, HS is still same. So if someone wants, here is it. Now it is DEODEXED.
excellent effort thank you I will try it later and make a feedback
please hit THANKS if I helped
sent from somewhere and somehow by the wonderful s3 mini
Thanks but, way ahead of ya.
modded to change the icons is much more appreciated to me as the stock touchwiz icons looks terrible...
nazri5363 said:
modded to change the icons is much more appreciated to me as the stock touchwiz icons looks terrible...
Click to expand...
Click to collapse
What you want to do is not related to Tw launcher editing actually. Google "change app icon" and you will find something useful!
Normally icons are placed in the apks under (in our case) res/drawable-hdpi (or drawable320dp-hdpi) under the name of icon.png or ic_launcher_icon.png
Sometimes you can also find them under /res/mipmap-hdpi !
Remember, if you want to change a icon don't unzip the apk, just open it with winrar/7zip and simply replace the icon png
Sent from my GT-I8190N using xda app-developers app
Hi, I added to first post new deodexed SecLauncher witch 7x5 menu grid...so if you want than use
tnx man for luncher very nice
can u accwather wedget for download?
It can be this forum.xda-developers.com/showpost.php?p=40192050&postcount=18
somin.n said:
It can be this forum.xda-developers.com/showpost.php?p=40192050&postcount=18
Click to expand...
Click to collapse
tanx somin...
I made it
luncher for rom dodex just 6 icons in desktop
What kind of error? With compilation or phone doesn't work with moded file?
somin.n said:
What kind of error? With compilation or phone doesn't work with moded file?
Click to expand...
Click to collapse
6 icons desktop
menu 5x5
rom dodex
icon launcher
6 icon desktop Down
5 icon desktop up
menu 5x5
rom dodex
Will this work for the S4? I want touchwiz to have 5 rows on the home screen and the dock at the bottom making the 6 row?
Analyzer52 said:
Will this work for the S4? I want touchwiz to have 5 rows on the home screen and the dock at the bottom making the 6 row?
Click to expand...
Click to collapse
You can try, but it is likely
Analyzer52 said:
Will this work for the S4? I want touchwiz to have 5 rows on the home screen and the dock at the bottom making the 6 row?
Click to expand...
Click to collapse
Hi! It should works, but you have to use SecLauncher2.apk from S4, not files from this thread, and mod it by yourself. And one more thing, dimens.xml and integers.xml willn't be in res\values-sw320dp-hdpi\, you have to find which folder is responsible for your phone resolution. Good luck
Thanks..
I made 4*6 apps menu Touchwiz with your guide...
Now updated [JB][MOD]Touchwiz with auto-rotation (4*6-v 6*3-h menu) default dpi. I think it will work for S3 mini as same screen size and dpi.
p_a_r_s_a7 said:
6 icon desktop Down
5 icon desktop up
menu 5x5
rom dodex
Click to expand...
Click to collapse
Hi,
Can you please tell me where the file is for this mod? Cheers
thank it helped me lot
Please make default icon layout on Home screen (4) plz....

[TUT][THEME] Q & Answering Status bar, Expanded Status bar, and stock Lockscreen mods

[TUT][THEME] Q & Answering Status bar, Expanded Status bar, and stock Lockscreen mods
Tell me what you want to mod i'll try to tell you how, i already have a tutorial how to edit the files but this Q & A is for helping people get the job done through examples.
here is a sample of my work, ask away.
i also dont mind doing .9.png edits for people
looks like the community for this phone is well informed already =D nice
KronicSkillz said:
Tell me what you want to mod i'll try to tell you how, i already have a tutorial how to edit the files but this Q & A is for helping people get the job done through examples.
here is a sample of my work, ask away.
i also dont mind doing .9.png edits for people
Click to expand...
Click to collapse
Any chance you'd be able to change the blue to purple colors?? I wanna use xD
you just replace my color code #2686ff with a purple code, u can use paint.net to find the color code u want using my guide and change the icon colors.
http://forum.xda-developers.com/showthread.php?t=2362717
Statusbar pulldown
How to add button to change layout in statusbar expanded/pulldown? whats smali can I use?
Thanks for this helpful thread! I've modded successfully on my SU640

How to change color of text below icons

Does anyone know how to change the color of the text under the icons , mine are like a off white color, is their a xposed app for this?
J.dunn9984 said:
Does anyone know how to change the color of the text under the icons , mine are like a off white color, is their a xposed app for this?
Click to expand...
Click to collapse
Able to change icon label color with Atom launcher https://play.google.com/store/apps/details?id=com.dlto.atom.launcher&hl=en
yes there is a xpossed app, if i remember correctly try wannam or gravity...
J.dunn9984 said:
Does anyone know how to change the color of the text under the icons , mine are like a off white color, is their a xposed app for this?
Click to expand...
Click to collapse
For this you have to decompile the launcher apk, than go to res\values and open styles.xml.
In the xml file search for
Code:
<style name="BaseHomeIcon">
(should be on top)
and change the value for the color in red
Code:
<item name="android:textColor">#[COLOR="Red"]ffffffff[/COLOR]</item>
Recompile it, copy the AndroidManifest.xml and META-INF folder from the originale apk to the new compiled apk and push it to the right place.

Change navbar icon dimensions?

So I made a custom navbar. Using paint.net I have enlarged the icons multiple times and reflashed the zip. No matter how much I enlarge the size of the icon pngs themselves, Android continues to keep the images the same size in my navbar.
I'm assuming there's an xml file somewhere that sets a concrete size allotted for these icons. Does anyone know which file sets these values?
Also, I'm on 8.1 Dev preview opp6.
**EDIT**
After some reading and browsing through the decompiled systemuigoogle, it looks like the answer to my problem may be in res/layout/navigation_bar.xml. These tiny icons are so annoying to look at!
Well with the help of @Tulsadiver, i had to modify back.xml, recent_apps.xml, home.xml and dimens.xml in order to change the size of the navbar icons.
Putting this here in case anyone else runs into the same issue I did.
Can u please tell me what values u modified to disable the icon scaling? Or maybe send me ur modified and original xmls it will surely help. I will also try to make a magisk mod or something which can work in most roms. Thank you.
The scaling is nothing more than padding added to the icons that was not present in earlier versions of android. Shrink the navbar you must also adjust the padding or the original padding, top and bottom push against the icons making them smaller.

Transparent theme 6.0.1

The story is as follows. I want to make the statusbar and navigion bar completely transparent. I set them to hide with windowTranslucentNavigation "> true and windowTranslucentStatus"> true in styles.xml in style <style name = "Theme">. Added the line android: fitsSystemWindows> true. As a result, transparency appeared, but new problems also appeared. I showed them in the screenshots, the clock indicator moved to the right and so on. How to make transparency without shifting the text? I've read a lot of ways on the Transparent / Translucent style, but what am I doing wrong? It would be desirable that there would be a transparency as in an album from Sony, instead of a black frame.
Don't touch styles.. Just set the primary and secondary colors to #00000000 in values / colors.xml
shehabskull said:
Don't touch styles.. Just set the primary and secondary colors to #00000000 in values / colors.xml
Click to expand...
Click to collapse
These colors do not color the status and the nav. bar, in my framework there is no code of black color. Apparently Sony has somehow standardized the navigation panels in black, which can only be turned off and turned on. I used the firmware on android 4.3, where it worked, and on 6.0 I can not understand

Categories

Resources