FORUMS
Remove All Ads from XDA

[TUT][MM-LP] Mod your SymtemUI to look like Android N

2,554 posts
Thanks Meter: 2,354
 
By nreuge, Senior Member on 12th May 2016, 06:13 AM
Post Reply Email Thread
This is a tutorial showing how to mod your SystemUI.apk to look like the one of android N (regarding quicksettings and notifications)
Look at screenshots at the end...
Note: in the Xperia X SystemUI, some of these modifications are already done

1- Decompile SystemUI.apk

2- Quicksettings and notifications modifications

- Go in SystemUI.apk > res > values and open color.xml with a text editor (e.g. Notepad++)

Search for the line:
Code:
<color name="system_secondary_color">#ff384248</color>
and replace it with:
Code:
<color name="system_secondary_color">#ff263238</color>
and save the file

- Go in SystemUI.apk > res > values and open dimens.xml

Search for the line:
Code:
<dimen name="qs_brightness_padding_top">6.0dip</dimen>
and replace it with:
Code:
<dimen name="qs_brightness_padding_top">-5.0dip</dimen>
Search for the line:
Code:
<dimen name="notification_side_padding">8.0dip</dimen>
and replace it with:
Code:
<dimen name="notification_side_padding">0.0dip</dimen>
Search for the line:
Code:
<dimen name="notification_material_rounded_rect_radius">2.0dip</dimen>
and replace it with:
Code:
<dimen name="notification_material_rounded_rect_radius">0.0dip</dimen>
Search for the line:
Code:
<dimen name="notification_material_rounded_rect_radius_negative">-2.0dip</dimen>
and replace it with:
Code:
<dimen name="notification_material_rounded_rect_radius_negative">0.0dip</dimen>
Search for the line:
Code:
<dimen name="notification_padding">4.0dip</dimen>
and replace it with:
Code:
<dimen name="notification_padding">0.5dip</dimen>
Search for the line:
Code:
<dimen name="notifications_top_padding">8.0dip</dimen>
and replace it with:
Code:
<dimen name="notifications_top_padding">0.5dip</dimen>
And add these lines at the end of the file:
Code:
<dimen name="notification_material_shadow_rounded_rect_radius">0.0dip</dimen>	
<dimen name="status_bar_expanded_header_elevation">0.0dip</dimen>
and save the file

- Go in SystemUI.apk > res > layout and open status_bar_expanded_header.xml

Search for the string:
Code:
android:elevation="4.0dip"
and replace it with:
Code:
android:elevation="0.0dip"
and save the file

3- Recompile SystemUI.apk with original signature

It's done, enjoy

Credits: @Lars124 for his tutorial which partially helped me


The Following 33 Users Say Thank You to nreuge For This Useful Post: [ View ] Gift nreuge Ad-Free
12th May 2016, 06:44 AM |#2  
nreuge's Avatar
OP Senior Member
Flag Rennes
Thanks Meter: 2,354
 
Donate to Me
More
res
12th May 2016, 08:57 AM |#3  
Senior Member
Sandanski
Thanks Meter: 17
 
More
Will this work on AOSP based ROMs or it'll work onlu on stock?
12th May 2016, 10:14 AM |#4  
Senior Member
Flag Rostov-on-Don
Thanks Meter: 61
 
More
Sony Xperia C5 - Android 5.1.1 - Working. Thanks!
The Following User Says Thank You to nnmka For This Useful Post: [ View ] Gift nnmka Ad-Free
12th May 2016, 11:19 AM |#6  
Member
Thanks Meter: 15
 
More
Quote:
Originally Posted by nathankaunang

thanks

Wah ada om nathan..
Well, thanks for the tutorial, I'll try it on lollipop mate..
Looks so nice..
12th May 2016, 11:46 AM |#7  
nreuge's Avatar
OP Senior Member
Flag Rennes
Thanks Meter: 2,354
 
Donate to Me
More
Quote:
Originally Posted by nrokos

Will this work on AOSP based ROMs or it'll work onlu on stock?

May work on AOSP, but look at the tutorial of Lars124 too (link in credits)
12th May 2016, 11:57 AM |#8  
Member
Thanks Meter: 15
 
More
Well, it's working on lollipop deodexed rom
Thanks mate.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2016-05-12-17-56-10.png
Views:	3254
Size:	90.0 KB
ID:	3748288  
The Following User Says Thank You to dark-mew For This Useful Post: [ View ] Gift dark-mew Ad-Free
12th May 2016, 02:32 PM |#9  
dstrikersZ1's Avatar
Senior Member
Flag Jakarta
Thanks Meter: 2,800
 
More
How about lockscreen notifications ?

Sent from my C6903 using XDA-Developers mobile app
12th May 2016, 03:15 PM |#10  
ryandxter's Avatar
Senior Member
Flag The Special Region of Yogyakarta
Thanks Meter: 84
 
More
nice share bro

but for few people just like me doesn't have any much time to dc/rc some apk to change padding so easyway is using xposed module it's name Qs X tiles per row [L-M] v0.97 or Android N-ify
The Following User Says Thank You to ryandxter For This Useful Post: [ View ] Gift ryandxter Ad-Free
12th May 2016, 06:27 PM |#11  
Senior Member
Thanks Meter: 920
 
More
@nreuge - many thanks - everything is working

Quote:
Originally Posted by dstrikersZ1

How about lockscreen notifications ?

Yes - works on lockscreen also

Quote:
Originally Posted by ryandxter

nice share bro

but for few people just like me doesn't have any much time to dc/rc some apk to change padding so easyway is using xposed module it's name Qs X tiles per row [L-M] v0.97 or Android N-ify

Thanks for this hints - But some (like me) like to stay with less Xposed modules as possible.
I like to modify the apks for myself... Only direct code adjustments gives you the best UI experience.
This mod cost me 3 minutes. But with quite good apk de-re-compling knowledge - which may not everybody has...

Therefore I really appreciate if modders share there codes
The Following 2 Users Say Thank You to fluffi444 For This Useful Post: [ View ] Gift fluffi444 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes