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!
Attachment 2646930
1. Decompile SystemUI.apk
2. Open SystemUI.apk\res\layout\somc_tabs_status_bar_expan ded.xml, then edit
to
<com.sonymobile.systemui.statusbar.tools.ToolsTabW idget 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),
4. Open SystemUI.apk\res\layout\somc_notifications_tab.xml and paste "3."'s LinearLayout above
For example (.681),
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
to 50.0dip or something you like.
Attached image is 50.0dip
6. Save all and compile.
7. Install SystemUI.apk with adb or recovery, Done!
Modded SystemUI.apk for Z1 .681 can be downloaded from here.
I managed to show quick settings in notification tab!
Attachment 2646930
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" />
<com.sonymobile.systemui.statusbar.tools.ToolsTabW idget 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" />
Code:
<include layout="@layout/status_bar_expanded_stylus_actions" />
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" />
To make them smaller, open SystemUI.apk\res\values\dimens.xml and edit
Code:
<dimen name="notification_panel_tools_row_height">100.0dip</dimen>
Attached image is 50.0dip
6. Save all and compile.
7. Install SystemUI.apk with adb or recovery, Done!
Modded SystemUI.apk for Z1 .681 can be downloaded from here.
Aucun commentaire:
Enregistrer un commentaire