[4.4] True Quick Settings

Search This thread

AndroPlus

Senior Member
Mar 13, 2013
1,898
4,155
Kyoto
androplus.org
Lenovo P11
Xiaomi Mix Fold 2
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!
Screenshot_2014-03-24-14-03-20.png.png

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

1. Decompile SystemUI.apk

2. Open SystemUI.apk\res\layout\somc_tabs_status_bar_expanded.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.xml 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:crying:
 
Last edited:

nikFarhan96

Senior Member
Apr 25, 2013
108
11
Hello

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

dodimo

Senior Member
May 31, 2010
73
5
Any chance do it for cm based rom?

Sent from my Xperia Z1 using XDA Premium 4 mobile app
 

nikFarhan96

Senior Member
Apr 25, 2013
108
11
Confirm,working good on NUT kit kat deodexed patch by krabappel.
Thanks,can i suggesting something?
I think it would be better if u can do another version with stock icon.
I mean those "xperia" on home button.it would be nice if the stick home nav bar on there.
Btw,thanks to you @RyokoN
 

adamo86

Senior Member
Mar 5, 2009
1,383
119
I can't find systemui in system apps has kit kat renamed system ui.
Using nuts rom 4.4 deodexed

Sent from my C6903 using Tapatalk
 

AndroPlus

Senior Member
Mar 13, 2013
1,898
4,155
Kyoto
androplus.org
Lenovo P11
Xiaomi Mix Fold 2

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    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!
    Screenshot_2014-03-24-14-03-20.png.png

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

    1. Decompile SystemUI.apk

    2. Open SystemUI.apk\res\layout\somc_tabs_status_bar_expanded.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.xml 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:crying:
    2
    Confirm,working good on NUT kit kat deodexed patch by krabappel.
    Thanks,can i suggesting something?
    I think it would be better if u can do another version with stock icon.
    I mean those "xperia" on home button.it would be nice if the stick home nav bar on there.
    Btw,thanks to you @RyokoN

    Sorry, I forgot to revert it...
    I added stock home icon version.
    https://mega.co.nz/#!W5gCXIrY!L4JbBi5EPYyyc23NnnmoZghveRRJAm9p3rt88PYmy2Q
    2
    Yeah i know that, but i don't know hot to decompile apps :( is there anyway to flash it in recovery? install the app?

    Try This

    http://xdaforums.com/showthread.php?t=2745814
    1
    I can't find systemui in system apps
    It's in system/priv-app
    1
    Now my SystemUI Patcher v2.1 can move quick settings to notification tab!
    Z3 style SystemUI is not supported, though.

    https://play.google.com/store/apps/details?id=com.wedy.systemuimod
    (will be updated in few hours)
    http://repo.xposed.info/module/com.wedy.systemuimod