Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[4.4] True Quick Settings

OP AndroPlus

24th March 2014, 07:34 AM   |  #1  
AndroPlus's Avatar
OP Senior Member
Thanks Meter: 1,058
 
493 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Sony divided notification and quick settings in 4.4, but it's not easy to use quick settings with one finger now.
I managed to show quick settings in notification tab!
Click image for larger version

Name:	Screenshot_2014-03-24-14-03-20.png.png
Views:	10291
Size:	43.7 KB
ID:	2646930

[EDIT]
SystemUI Patcher can do same thing!
https://play.google.com/store/apps/d...dy.systemuimod
http://repo.xposed.info/module/com.wedy.systemuimod

1. Decompile SystemUI.apk

2. Open SystemUI.apk\res\layout\somc_tabs_status_bar_expan ded.xml, then edit
Code:
             <com.sonymobile.systemui.statusbar.tools.ToolsTabWidget  android:orientation="horizontal" android:id="@android:id/tabs"  android:layout_width="fill_parent" android:layout_height="wrap_content"  />
to
Code:
<com.sonymobile.systemui.statusbar.tools.ToolsTabWidget  android:orientation="horizontal" android:id="@android:id/tabs"  android:layout_width="fill_parent" android:layout_height="0.0dip"  />
This will hide tabs.

3. Open SystemUI.apk\res\layout\somc_quick_settings_tab.xm l and copy LinearLayout
For example (.681),
Code:
    <LinearLayout  android:orientation="vertical" android:id="@id/tools_rows"  android:layout_width="fill_parent" android:layout_height="wrap_content"  />
4. Open SystemUI.apk\res\layout\somc_notifications_tab.xml and paste "3."'s LinearLayout above
Code:
<include layout="@layout/status_bar_expanded_stylus_actions" />
For example (.681),
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout  android:orientation="vertical" android:id="@id/notifications_tab"  android:layout_width="fill_parent" android:layout_height="wrap_content"  android:animateLayoutChanges="false"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout  android:orientation="vertical" android:id="@id/tools_rows"  android:layout_width="fill_parent" android:layout_height="wrap_content"  />
    <include layout="@layout/status_bar_expanded_stylus_actions" />
5. Now quick settings should be shown on notification tab, but tiles are too big.
To make them smaller, open SystemUI.apk\res\values\dimens.xml and edit
Code:
    <dimen name="notification_panel_tools_row_height">100.0dip</dimen>
to 50.0dip or something you like.
Attached image is 50.0dip

[optional]
If you want to change items per row,
open SystemUI.apk\res\values\integers.xml and edit
Code:
<integer name="config_maxToolItemsInARow">4</integer>
6. Save all and compile.

7. Install SystemUI.apk with adb or recovery, Done!


Modded SystemUI.apk for Z1 .681 deodexed can be downloaded from here (Xperia logo home ver.) (flashable)
Note this apk will not work on custom rom.

I added quick settings tile setting to SystemUI Patcher.
http://repo.xposed.info/module/com.wedy.systemuimod
I have no knowledge to integrate list preference, so tiles per low is fixed to 6 at the moment
Last edited by AndroPlus; 22nd September 2014 at 10:07 AM.
The Following 21 Users Say Thank You to AndroPlus For This Useful Post: [ View ]
24th March 2014, 09:35 AM   |  #2  
Senior Member
Thanks Meter: 12
 
163 posts
Join Date:Joined: May 2012
thanks man ! Cool
25th March 2014, 11:33 PM   |  #3  
nikFarhan96's Avatar
Senior Member
Thanks Meter: 11
 
107 posts
Join Date:Joined: Apr 2013
More
Hello
Is that i just need to install systemui apk only?
Or did i need todo as from the first step?
26th March 2014, 01:27 AM   |  #4  
AndroPlus's Avatar
OP Senior Member
Thanks Meter: 1,058
 
493 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Quote:
Originally Posted by nikFarhan96

Is that i just need to install systemui apk only?
Or did i need todo as from the first step?

If you are using stock deodexed rom (not custom rom such as RomAur), you just need to install SystemUI.apk.
26th March 2014, 08:18 AM   |  #5  
Member
Thanks Meter: 2
 
35 posts
Join Date:Joined: Mar 2014
can i reset back??
26th March 2014, 02:43 PM   |  #6  
schickel's Avatar
Senior Member
Flag Munich
Thanks Meter: 235
 
557 posts
Join Date:Joined: Mar 2009
More
Quote:
Originally Posted by avveMeetU

can i reset back??

I think, if you make a buckup from your system.ui.apk, then yes
26th March 2014, 03:16 PM   |  #7  
nikFarhan96's Avatar
Senior Member
Thanks Meter: 11
 
107 posts
Join Date:Joined: Apr 2013
More
Quote:
Originally Posted by RyokoN

If you are using stock deodexed rom (not custom rom such as RomAur), you just need to install SystemUI.apk.

Yes,i will flash to NUT fw 4.4 and deodexed patched.
So just need to install lke normal apk.is there any problem if i remove this SystemUI.apk into system?
26th March 2014, 03:30 PM   |  #8  
AndroPlus's Avatar
OP Senior Member
Thanks Meter: 1,058
 
493 posts
Join Date:Joined: Mar 2013
Donate to Me
More
Quote:
Originally Posted by nikFarhan96

Yes,i will flash to NUT fw 4.4 and deodexed patched.
So just need to install lke normal apk.is there any problem if i remove this SystemUI.apk into system?

Install via recovery(use XZDR 2.7.99) is recommended.
If you want to revert, you have to overwrite SystemUI.apk with non-modded one, in this case NUT's SystemUI.apk
26th March 2014, 03:47 PM   |  #9  
dodimo's Avatar
Member
Thanks Meter: 5
 
58 posts
Join Date:Joined: May 2010
Any chance do it for cm based rom?

Sent from my Xperia Z1 using XDA Premium 4 mobile app
26th March 2014, 06:44 PM   |  #10  
madsatan's Avatar
Senior Member
Flag vancouver
Thanks Meter: 11
 
220 posts
Join Date:Joined: Nov 2010
awsome
i love it

quick question will this work on z ultra??
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes