[Q][DMC3] How do I remove the CLOCK from Status Bar? - Galaxy Note II Q&A, Help & Troubleshooting

Does anyone knows how to or the best way to remove the clock from the status bar? I'm using the XXDMC3 stock rooted rom, thanks in advance!

Paid version of Simplistic Framework

slick4mitch said:
Does anyone knows how to or the best way to remove the clock from the status bar? I'm using the XXDMC3 stock rooted rom, thanks in advance!
Click to expand...
Click to collapse
Decompile SystemUI.apk
Open res/layout/status_bar.xml
Change the following line
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
To
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Recompile SystemUI and push it back to your phone

muena90 said:
Decompile SystemUI.apk
Open res/layout/status_bar.xml
Change the following line
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
To
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="0.0dip" android:singleLine="true" />
Recompile SystemUI and push it back to your phone
Click to expand...
Click to collapse
Thanks for this, I appreciate it!

McLaren__F1 said:
Paid version of Simplistic Framework
Click to expand...
Click to collapse
There's only a paid Simplistic Control app and you need the simplistic framework installed for it to work, I'm running DMC3 stock rooted rom and I don't think that framework works with it, enlight me otherwise, thanks!

slick4mitch said:
There's only a paid Simplistic Control app and you need the simplistic framework installed for it to work, I'm running DMC3 stock rooted rom and I don't think that framework works with it, enlight me otherwise, thanks!
Click to expand...
Click to collapse
I'm using a mc3 based rom with simplistic framework and works fine
Sent from my GT-N7100 using xda premium

McLaren__F1 said:
I'm using a mc3 based rom with simplistic framework and works fine
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Yeah and I think your ROM has simplistic preinstalled. Otherwise it won't work.

In Phoenix AROMA it has the option to install or not install it.

Related

(req) ics app switcher

Idea taken from this thread: http://forum.xda-developers.com/showthread.php?t=1563481
Thoroughly an overwhelming task for someone of my skill , but only wanted to share as I think it would be very well received by myself and I'm sure many others if one was to implement this on our devices.
If not, then I hope some at least found the thread interesting
Sent from my SPH-D710 using XDA
wow
that would be awesome.. I am new to the EG4T, but think this would be a great addition to the usability and functionality of it!
I have been following this mod since it showed up and I will probably give it a shot this weekend. Question: what rom are you guys running? Obviously this will only work with ICS but modifying the FC 24 version won't work because there is no stock deodexed available and modifying what someone else has already modified is a PITA. I was thinking about trying this on FC22(because we have stock deodexed) or CM9(which is what I am currently running). The only problem I see with CM9 is the flashing procedure is very risky. I was kind of holding off until the next leak that was deodexed or official. What do you guys think?
Edit: Also the same person did a similar version which is webOS style with cards, but I like the look of this mod better.
Edit: I am going to attempt on FD02, stock deodexed this weekend
It was actually really easy, took some messing with to get it to look the way I wanted but it works great.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
rujelus22 said:
It was actually really easy, took some messing with to get it to look the way I wanted but it works great.
Click to expand...
Click to collapse
Any tips before I give it a shot this weekend on FD02, unless you have already done it?
dtm_stretch said:
Any tips before I give it a shot this weekend on FD02, unless you have already done it?
Click to expand...
Click to collapse
One thing I did different was to change where the background was called from. I did that to make the background behind the Task manager button work. Here is what my files look like
framework-res.apk/res/values/dimens.xml
Code:
<dimen name="thumbnail_height">160.0dip</dimen>
<dimen name="thumbnail_width">240.0dip</dimen>
SystemUI.apk
/res/values/bools.xml
Code:
<bool name="config_recents_thumbnail_image_fits_to_xy">true</bool>
/res/values/colors.xml
Code:
<color name="status_bar_recents_app_label_color">#ffffffff</color>
/res/values/drawables.xml
Code:
<item type="drawable" name="status_bar_recents_background_solid">#00000000</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background">#ff1a1a1a</item>
/res/layout/status_bar_no_recent_apps.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="center" android:id="@id/no_recent_apps_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="50.0dip" android:text="@string/status_bar_recent_launch_task_manager_title" />
<TextView android:textSize="24.0dip" android:textColor="#ffffffff" android:gravity="center_horizontal" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_no_recent_apps" />
</FrameLayout>
/res/layout-port/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingTop="15.0dip" android:paddingBottom="15.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_horizontal" android:id="@id/recent_item" android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:background="@drawable/recentapp_header" android:paddingLeft="10.0dip" android:paddingTop="5.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="240.0dip" android:layout_height="32.0dip" android:layout_marginLeft="0.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_alignTop="@id/app_icon" android:layout_alignParentLeft="true" />
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/status_bar_recents_app_thumbnail_background" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:foreground="@drawable/recents_thumbnail_fg" android:layout_below="@id/app_label">
<ImageView android:id="@id/app_thumbnail_image" android:paddingLeft="1.0dip" android:paddingRight="1.0dip" android:layout_width="231.0dip" android:layout_height="160.0dip" />
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:visibility="gone" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_toRightOf="@id/app_label" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/recents_callout_line" android:layout_alignParentLeft="true" />
</RelativeLayout>
</FrameLayout>
/res/layout-port/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="#80000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<com.android.systemui.recent.RecentsVerticalScrollView android:layout_gravity="bottom|left|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="vertical" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsVerticalScrollView>
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="bottom|center" android:id="@id/recents_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_recent_launch_task_manager_title" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
/res/layout-land/status_bar_recent_item.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:id="@id/app_label" android:background="@drawable/recentapp_header" android:paddingLeft="10.0dip" android:paddingTop="5.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="240.0dip" android:layout_height="32.0dip" android:layout_marginLeft="0.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_alignTop="@id/app_icon" android:layout_alignParentLeft="true" />
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/status_bar_recents_app_thumbnail_background" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:foreground="@drawable/recents_thumbnail_fg" android:layout_below="@id/app_label">
<ImageView android:id="@id/app_thumbnail_image" android:paddingLeft="1.0dip" android:paddingRight="1.0dip" android:layout_width="231.0dip" android:layout_height="160.0dip" />
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:visibility="gone" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_icon_left_margin" android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" android:layout_toRightOf="@id/app_label" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/recents_callout_line" android:layout_alignParentLeft="true" />
</RelativeLayout>
</FrameLayout>
/res/layout-land/status_bar_recent_panel.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:background="#80000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/recents_bg_protect" android:background="#00000000" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<com.android.systemui.recent.RecentsHorizontalScrollView android:layout_gravity="bottom|left|center" android:orientation="horizontal" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_fading_edge_length" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/status_bar_recents_right_glow_margin" android:stackFromBottom="true" android:divider="@null">
<LinearLayout android:orientation="horizontal" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.recent.RecentsHorizontalScrollView>
<Button android:textSize="@dimen/status_bar_recents_app_label_text_size" android:layout_gravity="bottom|center" android:id="@id/recents_launch_button" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_recent_launch_task_manager_title" />
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
FD02 Recent Apps Mod
Alright I've got the mod done with a flashable zip. Thank Rujelus22 he posted the changes relative to the E4GT and thank Evilisto for the orginal mod. I also attached a zip that will reverse the changes. This can be flashed on the fd02 stock deodexed rom with the slightly modified kernel that Calk included in the FD02 rom, no wipes necessary. If something goes wrong just flash the undo zip. Please leave feedback.
Also should we start a new thread? Rujelus22, would you mind if I posted the mod?
dtm_stretch said:
Alright I've got the mod done with a flashable zip. Thank Rujelus22 he posted the changes relative to the E4GT and thank Evilisto for the orginal mod. I also attached a zip that will reverse the changes. This can be flashed with the slightly modified kernel that Calk included in the FD02 rom, no wipes necessary. If something goes wrong just flash the undo zip. Please leave feedback.
Also should we start a new thread? Rujelus22, would you mind if I posted the mod?
Click to expand...
Click to collapse
Wow you guys are fast! Is that zip compatible with the latest Codename? Version 1.6? Of course I'd probably have to flash it through el26 recovery but I'm just wondering if its compatible since its an aosp rom
Sent from my SPH-D710 using XDA
themisterwilson said:
Wow you guys are fast! Is that zip compatible with the latest Codename? Version 1.6? Of course I'd probably have to flash it through el26 recovery but I'm just wondering if its compatible since its an aosp rom
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Nope this is for the fd02 stock deodexed.
Sent from my SPH-D710 using Tapatalk
dtm_stretch said:
Nope this is for the fd02 stock deodexed.
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
Oh bummer. this is when I wished I had a PC to try and do this on my own. Is it even possible to do this wihout one? Or even to make it work w AOSP?
Sent from my SPH-D710 using XDA
themisterwilson said:
Oh bummer. this is when I wished I had a PC to try and do this on my own. Is it even possible to do this wihout one? Or even to make it work w AOSP?
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
I do not believe you can compile an apk without a pc. I could be wrong though they always seem to come out with stuff to edit things from the phone.
themisterwilson said:
Oh bummer. this is when I wished I had a PC to try and do this on my own. Is it even possible to do this wihout one? Or even to make it work w AOSP?
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
I am really hesitant to do anything for any of the AOSP roms right now just because of the shaky flashing methods. Plus, it would be really difficult to make the mod for the many different versions of even CNA floating around. I imagine that such an easy mod will eventually get integrated into their settings options. However, with that being said, I am a huge fan of CNA and once it becomes stable and I am running it as a daily I will probably do the mod.
rujelus22 said:
I do not believe you can compile an apk without a pc. I could be wrong though they always seem to come out with stuff to edit things from the phone.
Click to expand...
Click to collapse
Well, theoretically I could do it on my work PC. Its certainty capable... any chance you could point me in the quickest direction so as not to have to answer any uncomfortable questions?
And possibly a quick, even relatively vague tutorial?
Sent from my SPH-D710 using XDA
themisterwilson said:
Well, theoretically I could do it on my work PC. Its certainty capable... any chance you could point me in the quickest direction so as not to have to answer any uncomfortable questions?
And possibly a quick, even relatively vague tutorial?
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
1. Download the tool agat put up in the development section
2. Pull the systemUI.apk and framework-res.apk out of the rom you want to modify.
3. Put them in the _INPUT_APK
4. press 14, drag and drop the apk.
5. Make the changes rejules22 posted.
a. Navigate to res folder and make the changes to the xml identified in the guide.
b. If you look at the original guide, there is a file attached that is the image you need, rename it to recentapp_header and drop it in the res/drawable and res/drawable-HDPI
6. Compile each apk (option 15)
7. Pull the apk from _APK_OUTPUT put the apks in a flashable zip(use a theme and pull the files out).
**Just so you are aware, using these tools with ICS is sometimes difficult because they haven't been updated so it means switching out apktool.jar(s)
dtm_stretch said:
1. Download the tool agat put up in the development section
2. Pull the systemUI.apk and framework-res.apk out of the rom you want to modify.
3. Put them in the _INPUT_APK
4. press 14, drag and drop the apk.
5. Make the changes rejules22 posted.
a. Navigate to res folder and make the changes to the xml identified in the guide.
b. If you look at the original guide, there is a file attached that is the image you need, rename it to recentapp_header and drop it in the res/drawable and res/drawable-HDPI
6. Compile each apk (option 15)
7. Pull the apk from _APK_OUTPUT put the apks in a flashable zip(use a theme and pull the files out).
**Just so you are aware, using these tools with ICS is sometimes difficult because they haven't been updated so it means switching out apktool.jar(s)
Click to expand...
Click to collapse
Wow that's pretty concise and short enough that I just might attempt it. So will any of the image files from the original post work as long as I rename it correctly and place it in the correct place?
and thanks again for all the help. I'll let u know how it goes!!
Sent from my SPH-D710 using XDA
themisterwilson said:
Wow that's pretty concise and short enough that I just might attempt it. So will any of the image files from the original post work as long as I rename it correctly and place it in the correct place?
and thanks again for all the help. I'll let u know how it goes!!
Sent from my SPH-D710 using XDA
Click to expand...
Click to collapse
Yup they should work. Although, it probably wont work with the windows 7 version because that alters the rotation and swiping of the recent apps but I think his windows 7 version is a whole other thread.
dtm_stretch said:
I am really hesitant to do anything for any of the AOSP roms right now just because of the shaky flashing methods. Plus, it would be really difficult to make the mod for the many different versions of even CNA floating around. I imagine that such an easy mod will eventually get integrated into their settings options. However, with that being said, I am a huge fan of CNA and once it becomes stable and I am running it as a daily I will probably do the mod.
Click to expand...
Click to collapse
well, after tonight i think i'll have to wait until somebody decides to do it for CNA. Im apparently such a tool that i cant get the APK tool to even open. Says i dont have java installed, which i do. Even the java SDK, and also the Android SDK. Still a no go. Im willing to work on that if someone can point me in the right direction.
As far as the flashing, I was thinking to just push the framework and systemUI apk's using root explorer and reboot. hoping that would work?
Any ideas?
The multitool should just be an archive and all you should have to do is extract it with 7zip or winrar. I have had a lot of issues with using a file explorer to push framework-res.apk it usually causes problems, you can use adb though.
Oh, i did get that far. I extracted it and clicked AutoAPKToolMain and it says "java not found. you will not be able to sign apks or apk tool... hit any key to continue.." then exits
themisterwilson said:
Oh, i did get that far. I extracted it and clicked AutoAPKToolMain and it says "java not found. you will not be able to sign apks or apk tool... hit any key to continue.." then exits
Click to expand...
Click to collapse
Do you have this? http://www.oracle.com/technetwork/java/javase/downloads/index.html
Make sure to install the JRE version under Java Platform, Standard Edition it is on the right side next to JDK.

[GUIDE]SystemUI with 2 Layout Toggles

Good day devs, I am making a guide here, it was like a 4.1.2 SystemUI. Partially I am not fond of tabbed ui so I made it with minimalizing sir SpaceCaker code.
Original Thread:
http://forum.xda-developers.com/showthread.php?t=2315342
Click to expand...
Click to collapse
Like this,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Pull SystemUI.apk
2. Decompile
3. Now, go to /res/layout/statusbar_expanded.xml
4.After opening it, you will see some code like this,
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
Add this code after it,
Code:
<RelativeLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<include layout="@layout/header" android:id="@id/headerid" android:layout_width="fill_parent" android:layout_height="48.0dip" />
</RelativeLayout>
<com.pineapple.PineappleLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/quickpanel_quick_settings_secondlayout" />
</LinearLayout>
and before
Code:
</com.android.systemui.statusbar.ExpandedView>
add this,
Code:
</com.pineapple.PineappleLayout>
It should be like this,
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<include android:id="@id/header" android:layout_width="fill_parent" android:layout_height="48.0dip" layout="@layout/header" />
</RelativeLayout>
<com.pineapple.PineappleLayout android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/quickpanel_quick_settings_second" />
</LinearLayout>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
</FrameLayout>
</LinearLayout>
</com.pineapple.PineappleLayout>
</com.android.systemui.statusbar.ExpandedView>
5. Go to /res/values/id and add this
Code:
<item type="id" name="headerid">false</item>
<item type="id" name="clock">false</item>
<item type="id" name="panel">false</item>
6. We are finish at ID's. Now, at the string.xml, add this,
Code:
<string name="statusbardateformat">"%1$s
%2$s"</string>
7.Go back to /res/layout/statusbar.xml, add the blue ones to your statusbar.xml
Code:
[COLOR="Blue"]<com.android.systemui.statusbar.StatusBarServiceLRPull android:layout_width="fill_parent" android:layout_height="wrap_content">[/COLOR]
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textColor="#ffffffff" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
[COLOR="Blue"]</com.android.systemui.statusbar.StatusBarServiceLRPull>[/COLOR]
8. Download this and put it in your systemui.
https://www.dropbox.com/s/nz18cj7rqdppuc7/pineappleadd.zip?m
8. Save everything and recompile it, wait, theres more. . .
9. After recompiling, decompile it again, go to /res/values/public.xml. Find these
<public type="drawable" name="btn_tg"
<public type="drawable" name="btn_toggles_normal"
Click to expand...
Click to collapse
10. Go to /smali/com/pineapple/SecondLayout,open
ffind
0x7f020180
Click to expand...
Click to collapse
and change to the public id of <public type="drawable" name="btn_toggles_normal". . .
and also find this,
0x7f02017f
Click to expand...
Click to collapse
and chage it to public ID of <public type="drawable" name="btn_tg". . .
11. Go to /smali/com/android/systemui/statusbar/policy/DateView
find
0x7f07002a
Click to expand...
Click to collapse
and replace it with the public ID of <public type="string" name="statusbardateformat"
12. Save everything and recompile. Done.
Hyperion 2.5 : https://www.dropbox.com/s/r3t4cv9on5pgixz/SystemUIH82.5.zip
Stock DXF1 : https://www.dropbox.com/s/mgfzvowf0ljvinv/SystemUIStock.zip
Click to expand...
Click to collapse
Credits to:
SPACECAKER for his awesome guide
DCSMS
Marinalin85
Matz
AuliaYF
The code in your file is totally done by SpaceCaker so you have no right to rename the "spacecaker" smali file folder to "pineapple" this is called stealing others work
Even if you have given him credits that doesn't mean that you got the permission from him
I would recommend you to point to SpaceCaker's Guide Thread for the Smali Files
Though I find this guide simplistic as compared to SpaceCaker's One
nolinuxnoparty said:
The code in your file is totally done by SpaceCaker so you have no right to rename the "spacecaker" smali file folder to "pineapple" this is called stealing others work
Even if you have given him credits that doesn't mean that you got the permission from him
I would recommend you to point to SpaceCaker's Guide Thread for the Smali Files
Though I find this guide simplistic as compared to SpaceCaker's One
Click to expand...
Click to collapse
Hi sir, I got permission from sir SpaceCaker to modify some smali, and he approved it.
3r41nl33n said:
Hi sir, I got permission from sir SpaceCaker to modify some smali, and he approved it.
Click to expand...
Click to collapse
Good Then
@3r41nl33n
will this work on galaxy y dous stock deodexed systemui
EDIT= ERROR WHILE RECOMPILING
Omkar$ said:
@3r41nl33n
will this work on galaxy y dous stock deodexed systemui
Click to expand...
Click to collapse
It will work sir. As what sir SpaceCaker did, it work with all GB Rom, thus this one too. Cause the codes are exactly the same as his work.
Whats the problem sir? Can i see the log?
Sent from my GT-S5360 using Tapatalk 2
Omkar$ said:
@3r41nl33n
will this work on galaxy y dous stock deodexed systemui
EDIT= ERROR WHILE RECOMPILING
Click to expand...
Click to collapse
Whats the problem? Can I see your logs?
Sent from my GT-S5360 using Tapatalk 2
it a modifed method on LRPull
the Left-Right Pull method are modified from mainalin85's theme, which is i've made that method for marinalin, i still don't give him permission to share but my method now modified by SpaceCaker without my permission.
http://forum.xda-developers.com/showthread.php?t=2315342&page=15
3r41nl33n said:
Whats the problem? Can I see your logs?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Lol statusbar gon
After flashing
Sent from my GT-S6102 using xda app-developers app
I think your guide is not perfect just like in your SS there is no notifications at the 2nd panel of your statusbar..
btw my statusbar already has a statusbarheaderview. cAn you make a tut for it?
Sent from my GT-S5360 using xda premium
Plz tell me, how to use it on my galaxy y because I'm a newbie.
markmellarpes said:
I think your guide is not perfect just like in your SS there is no notifications at the 2nd panel of your statusbar..
btw my statusbar already has a statusbarheaderview. cAn you make a tut for it?
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
I moved the notification at the otherlayout. It works with someone. I saw some at fb groups.they made it.
Sent from my GT-S5360 using Tapatalk 2
AuliaYF said:
the Left-Right Pull method are modified from mainalin85's theme, which is i've made that method for marinalin, i still don't give him permission to share but my method now modified by SpaceCaker without my permission.
http://forum.xda-developers.com/showthread.php?t=2315342&page=15
Click to expand...
Click to collapse
I didnt know about that. I put credits on you. :/
markmellarpes said:
I think your guide is not perfect just like in your SS there is no notifications at the 2nd panel of your statusbar..
btw my statusbar already has a statusbarheaderview. cAn you make a tut for it?
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
It has? So I can say sir,
<RelativeLayOut>StatusBarHeaderView. . . . . . . .
. . . . . .
. . .<RelativeLayout> is equal to /res/layout/header.xml and delete the smali/com. . . /DateView* at my smali. Thats what I can teach now, its hard to explain sir.
imElectronica said:
Plz tell me, how to use it on my galaxy y because I'm a newbie.
Click to expand...
Click to collapse
Pardon sir, I cant understand what you are saying sir, can you make it clear?
Omkar$ said:
Lol statusbar gon
After flashing
Sent from my GT-S6102 using xda app-developers app
Click to expand...
Click to collapse
Can I take your logcat?
3r41nl33n said:
I moved the notification at the otherlayout. It works with someone. I saw some at fb groups.they made it.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
How to use it?
imElectronica said:
How to use it?
Click to expand...
Click to collapse
It can change your Notification Pulldown layout sir.
3r41nl33n said:
It can change your Notification Pulldown layout sir.
Click to expand...
Click to collapse
I know but how i implement this systemUI on my phone.
3r41nl33n said:
I didnt know about that. I put credits on you. :/
Click to expand...
Click to collapse
i can't see my name on your thread.

[GUIDE] Adding Lidroid statusbar toggles [EASIER THAN EVER]

CREDITS
LIDROID
THIS THREAD and THIS THREAD
POTATOINC​
You must know how to decompile an APK
SCREENSHOTS
Without modifying StatusbarService.smali
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After modifying StatusbarService.smali
First go to this thread by @dcsms
[GUIDE]How to add lidroid 14 statusbar toggle buttons for Galaxy Y
Skip step 3. (You don't need to edit StatusBarService.smali for now)
Then go to my thread (Now its usefull)
[GUIDE] Remove STOCK TW toggles on expandedView or just move it to anywhere
Because we need to remove stock toggles in our expandedView
Download this smali files from POTATOINC
http://forum.xda-developers.com/attachment.php?attachmentid=2506685&stc=1&d=1389366819
Copy it to your SystemUI/smali
Then go to your SystemUI/res/layout/status_bar_expanded.xml
add or you can put it anywhere you like
Code:
[FONT=Century Gothic]<com.potato.powerwidget.PowerRangers android:layout_width="match_parent" android:layout_height="wrap_content android:orientation="vertical"/>[/FONT]
So it will looks like this
Code:
[FONT=Century Gothic]<?xml version="1.0" encoding="utf-8"?>[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"[/FONT]
[FONT=Century Gothic] xmlns:android="http://schemas.android.com/apk/res/android">[/FONT]
[FONT=Century Gothic] <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">[/FONT]
[FONT=Century Gothic] <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:overScrollMode="ifContentScrolls">[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">[/FONT]
[FONT=Century Gothic] [COLOR=Magenta]<com.potato.powerwidget.PowerRangers android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"/>[/COLOR][/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">[/FONT]
[FONT=Century Gothic] <com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />[/FONT]
[FONT=Century Gothic] <Button android:textSize="13.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyleSmall" />[/FONT]
[FONT=Century Gothic] </LinearLayout>[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_no_notifications_title" />[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_ongoing_events_title" />[/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/FONT]
[FONT=Century Gothic] <TextView android:textSize="17.0sp" android:textStyle="normal" android:textColor="#ffffffff" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="5.0dip" android:layout_width="fill_parent" android:layout_height="26.0dip" android:text="@string/status_bar_latest_events_title" />[/FONT]
[FONT=Century Gothic] <LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />[/FONT]
[FONT=Century Gothic] </com.android.systemui.statusbar.NotificationLinearLayout>[/FONT]
[FONT=Century Gothic] </ScrollView>[/FONT]
[FONT=Century Gothic] <ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />[/FONT]
[FONT=Century Gothic] </FrameLayout>[/FONT]
[FONT=Century Gothic] </com.android.systemui.statusbar.ExpandedView>[/FONT]
Decompile SystemUI.apk
If you have some FC issues its better to attach LOGCAT.
Also test it on other devices then report back here. THANKS​
Awesome. Now its easy to port.
Sent from my Nexus 7 using Tapatalk
actually there is an even easier way
use this tool - does it all for you - you just have to add the code it give to the smali and the rest it does itself
http://forum.xda-developers.com/showthread.php?t=2181597
marcussmith2626 said:
actually there is an even easier way
use this tool - does it all for you - you just have to add the code it give to the smali and the rest it does itself
http://forum.xda-developers.com/showthread.php?t=2181597
Click to expand...
Click to collapse
no this is better coz the edit in statusbar service is different for all fones. and many have problem compiling it. now there will be no problem..
samsoul16 said:
no this is better coz the edit in statusbar service is different for all fones. and many have problem compiling it. now there will be no problem..
Click to expand...
Click to collapse
I have used that tool and it works perfect on galaxy y - the only thing you have to do is edit the service smali with the codes it gives you for different phones
so all you have to do is a simple copy and paste - everything else is done by the tool
The only thing it doesnt do is edit the manifest to enable flash light
Not work on my zte blade ROM: GSF B27 (2.3.4)
I don't know why.
In turn try lot of the make guide but the SystemUI always force close.
If anyone can help or described in more detail in the guide to ask you to do it.
LOTs OF THANKS.
sisxgame said:
Not work on my zte blade ROM: GSF B27 (2.3.4)
I don't know why.
In turn try lot of the make guide but the SystemUI always force close.
If anyone can help or described in more detail in the guide to ask you to do it.
LOTs OF THANKS.
Click to expand...
Click to collapse
layout or const value fail
logcat to know.
Sent from my S500 using xda app-developers app
SpaceCaker said:
layout or const value fail
logcat to know.
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
here is the apk link.
http://www63.zippyshare.com/v/82568762/file.html
i do not logcat this becuse all steps opservs and not problem in the recompile.
(no stock toggles my system ui and I not to do remove this)
please make my apk
maybe my rom is the problem, because force close when maked this guide
http://forum.xda-developers.com/showthread.php?t=2644229
Thanx your kindness
Sorry my bad english
sisxgame said:
here is the apk link.
http://www63.zippyshare.com/v/82568762/file.html
i do not logcat this becuse all steps opservs and not problem in the recompile.
(no stock toggles my system ui and I not to do remove this)
please make my apk
maybe my rom is the problem, because force close when maked this guide
http://forum.xda-developers.com/showthread.php?t=2644229
Thanx your kindness
Sorry my bad english
Click to expand...
Click to collapse
No.
u need to make yourself.
guides are there
it takes Trial and error to succed
Take logs to see whats wrong
without no one will be able to help
Sent from my S500 using xda app-developers app
SpaceCaker said:
No.
u need to make yourself.
guides are there
it takes Trial and error to succed
Take logs to see whats wrong
without no one will be able to help
Sent from my S500 using xda app-developers app
Click to expand...
Click to collapse
thanks for the help, I'll try:fingers-crossed:
NON-Samsung ?
Will this work on non-samsung mediatek mt6575 device ?????/ reply plz
yes if u know how to mod properly.
Sent from my S500 using xda app-developers app
This is awesome! This is a mod that I've been searching for ways to add to my ancient GB tablet for the past two years! Big thanks to @mariozawa! :laugh:
Just two quick questions..
Is there an easy way to get the flashlight working? And is the quickpanelsettings.apk supposed to be visible from the app drawer? I can't see it anywhere..
Ticklefish said:
This is awesome! This is a mod that I've been searching for ways to add to my ancient GB tablet for the past two years! Big thanks to @mariozawa! :laugh:
Just two quick questions..
Is there an easy way to get the flashlight working? And is the quickpanelsettings.apk supposed to be visible from the app drawer? I can't see it anywhere..
Click to expand...
Click to collapse
for flashlight all u can do is add
permission of hardware camera or
modify the ledcontroller smali ( dunno how but on some fevices it made it work)
for the settings app it momight be DEFAULT in manifest change it to LAUNCHER and it should appearin appdrawer
Sent from my Acer S500 CloudMobile
SpaceCaker said:
for flashlight all u can do is add
permission of hardware camera or
modify the ledcontroller smali ( dunno how but on some fevices it made it work)
for the settings app it momight be DEFAULT in manifest change it to LAUNCHER and it should appearin appdrawer
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
Many thanks (I've used up my 8 today but I'll press thanks once I'm on TapaTalk later..).
I've added:
Code:
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
to my SystemUI.apk. This will be the first time I've done anything with modifying the Manifest. Am I correct that I can't use the same signature once the Manifest's changed?
Ticklefish said:
Many thanks (I've used up my 8 today but I'll press thanks once I'm on TapaTalk later..).
I've added:
Code:
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.camera" />
to my SystemUI.apk. This will be the first time I've done anything with modifying the Manifest. Am I correct that I can't use the same signature once the Manifest's changed?
Click to expand...
Click to collapse
for modding manifest xml of system apps u need to sign them afterwards
but
u also need to disable signature check in services.jar
because u will sign it with tool like one_click_signer or apksigner etc
and they give different credentials then system sign so it will not show or appear if the signature check is on
its tricky but once it works u can do a lot
Sent from my Acer S500 CloudMobile
Okay, this is odd. I had to flash a nandroid backup as I made a mistake modding something..and I can now no longer use this mod. Everytime I install lidroid-res.apk, I get a bootloop.
And I've no idea why.
Anybody have a suggestion?
Maybe what happen is that u have 2 lidroid-res apks in framework.
but on different names.
tgen it tires to load them but fails.
also what can be the issue is the permissions although it shouldnt affect whole rom.
Sent from my Acer S500 CloudMobile
sir, will it work with non-samsung device like optimus L3 (GB)?
try it and you will see
if u have enough knowledge it will work ofcourse
Sent from my Acer S500 CloudMobile

[Q] How to remove sim Label in xperia M dual?

is there any way...or xpose module to remove Sim Label number from signals..in status bar?
i am using xperia m dual...with 4.3 stock rom..rooted..unlocked bootloader.
Pls suggest if any method available?
it's in your systemui
open your systemui.apk, go to res/drawable-hdpi
search your sim label png file, replace it with a transparent png
sorry i don't know exactly what the filename is, coz i don't have a dual
but i think you can figure it yourself
goodluck
actually this method just hide label....it still there and takes space in statusbar....i want to disable label icon.
Amirphp said:
actually this method just hide label....it still there and takes space in statusbar....i want to disable label icon.
Click to expand...
Click to collapse
how about this?
Thanks for reply...but it's changing whole theme...mixture of aosp and Sony ui...looking wired...
There is an xpose I found that remove label in aosp...name as MOtoG.
but that xpose not supported in xperia m dual...
Amirphp said:
is there any way...or xpose module to remove Sim Label number from signals..in status bar?
i am using xperia m dual...with 4.3 stock rom..rooted..unlocked bootloader.
Pls suggest if any method available?
Click to expand...
Click to collapse
Decompile systemui.apk
Go to SystemUI.apk\res\layout folder
open msim_signal_cluster_view.xml
Find
Code:
<ImageView android:layout_gravity="center_vertical" android:id="@id/mobile_slot_1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" />
Add this
Code:
android:visibility="gone"
So that new line look like this
Code:
<ImageView android:layout_gravity="center_vertical" android:id="@id/mobile_slot_1" [COLOR="red"]android:visibility="gone"[/COLOR] android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" />
Do same for @id/mobile_slot_2
Hit thanks if it works
Anmol0022 said:
Decompile systemui.apk
Go to SystemUI.apk\res\layout folder
open msim_signal_cluster_view.xml
Find
Code:
<ImageView android:layout_gravity="center_vertical" android:id="@id/mobile_slot_1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" />
Add this
Code:
android:visibility="gone"
So that new line look like this
Code:
<ImageView android:layout_gravity="center_vertical" android:id="@id/mobile_slot_1" [COLOR="red"]android:visibility="gone"[/COLOR] android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" />
Do same for @id/mobile_slot_2
Hit thanks if it works
Click to expand...
Click to collapse
Did u test it yourself?
Amirphp said:
Did u test it yourself?
Click to expand...
Click to collapse
Ofcourse ya i also don't like that Sim icon so find the best way myself

center clock for 8.1

Hey guys I know a lot of people are missing center clock for oreo. So I found a substratum theme called dark infusion which allows u to change location. I'm not really comfortable flashing other mods so I can't say if they work or not. But I have seen a few. I'm just verifying that this theme (paid) does work as u can see below. If anyone else wants to share other working mods pz do. I wanna thank @NepoRood for this find as he showed me.
There's a Substratum module called "Clock Tweaks for O" that will center the clock and also allow you to change the font and size.
Found another which I'm sure a lot of u know about but gravity box for Oreo works great on los 15.1 and crdroid. Not so good on benzo. For some reason I was having lag issues on stock also. But for those who don't you can move clock and there's a ton of other options. Make sure you install beta 2 of xposed the first one is buggy. Then search gravity or search Oreo under downloads section. Look for gravity box (o) and install activate and restart it has as many if not more customizations as any custom ROMs have fun
joeeboogz said:
Found another which I'm sure a lot of u know about but gravity box for Oreo works great on los 15.1 and crdroid. Not so good on benzo. For some reason I was having lag issues on stock also. But for those who don't you can move clock and there's a ton of other options. Make sure you install beta 2 of xposed the first one is buggy. Then search gravity or search Oreo under downloads section. Look for gravity box (o) and install activate and restart it has as many if not more customizations as any custom ROMs have fun
Click to expand...
Click to collapse
I'm running stock 8.1, magisk, with Gravity Box [O] and center clock is up and running
Gravity box as magisk module? Without xposed?
Please share link. Inside magisk there is no such module.
Send from D6603 with Tapatalk
makes2068 said:
Gravity box as magisk module? Without xposed?
Please share link. Inside magisk there is no such module.
Click to expand...
Click to collapse
I think he means xposed magisk version
For those that don't want to stock up on third party apps, a center clock is a fairly simple mod.
Tulsadiver said:
For those that don't want to stock up on third party apps, a center clock is a fairly simple mod.
Click to expand...
Click to collapse
Go on.....
dbama1 said:
Go on.....
Click to expand...
Click to collapse
Decompile your SystemUIGoogle.apk. Remove the entire code for the clock from your status_bar.xml located in the res/layout folder.
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_starting_padding" android:paddingEnd="@dimen/status_bar_clock_end_padding" />"
Just below the following code
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Put this code
<include layout="@layout/mycenterclock" />
Throw the attached mycenterclock.xml into your res/layout folder and recompile.
Alternately you could put this code in place of the layout I attached.
Code:
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
Tulsadiver said:
Decompile your SystemUIGoogle.apk. Remove the entire code for the clock from your status_bar.xml located in the res/layout folder.
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_starting_padding" android:paddingEnd="@dimen/status_bar_clock_end_padding" />"
Just below the following code
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Put this code
<include layout="@layout/mycenterclock" />
Throw the attached mycenterclock.xml into your res/layout folder and recompile.
Alternately you could put this code in place of the layout I attached.
Code:
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
Click to expand...
Click to collapse
You are the man! Thank you for sharing and for your work. :good:
Thanks
Tulsadiver said:
Decompile your SystemUIGoogle.apk. Remove the entire code for the clock from your status_bar.xml located in the res/layout folder.
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_starting_padding" android:paddingEnd="@dimen/status_bar_clock_end_padding" />"
Just below the following code
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Put this code
<include layout="@layout/mycenterclock" />
Throw the attached mycenterclock.xml into your res/layout folder and recompile.
Alternately you could put this code in place of the layout I attached.
Code:
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
Click to expand...
Click to collapse
dunno why, but I can't scan that qr code
tiro_uspsss said:
dunno why, but I can't scan that qr code
Click to expand...
Click to collapse
You have to copy- paste.
Tulsadiver said:
Decompile your SystemUIGoogle.apk. Remove the entire code for the clock from your status_bar.xml located in the res/layout folder.
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_clock_starting_padding" android:paddingEnd="@dimen/status_bar_clock_end_padding" />"
Just below the following code
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Put this code
<include layout="@layout/mycenterclock" />
Throw the attached mycenterclock.xml into your res/layout folder and recompile.
Alternately you could put this code in place of the layout I attached.
Code:
<com.android.keyguard.AlphaOptimizedLinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.keyguard.AlphaOptimizedLinearLayout>
Click to expand...
Click to collapse
Dear Sir, can you please tell me where to find the "SystemGoogleUI.apk" , thank you in advance.
suey86 said:
Dear Sir, can you please tell me where to find the "SystemGoogleUI.apk" , thank you in advance.
Click to expand...
Click to collapse
system/product/priv-app/SystemUIGoogle
Tulsadiver said:
system/product/priv-app/SystemUIGoogle
Click to expand...
Click to collapse
still can't found the folder, FYI Im using Masik x 5.2, thank you very much for ur respond
suey86 said:
still can't found the folder, FYI Im using Masik x 5.2, thank you very much for ur respond
Click to expand...
Click to collapse
Sorry, that was for Q. Pie is just system/priv-app/SystemUIGoogle but a custom rom is going to be just SystemUI, not SystemUIGoogle.
Tulsadiver said:
Sorry, that was for Q. Pie is just system/priv-app/SystemUIGoogle but a custom rom is going to be just SystemUI, not SystemUIGoogle.
Click to expand...
Click to collapse
one more question Sir if i may,, what app u are using for decompile it ?
suey86 said:
one more question Sir if i may,, what app u are using for decompile it ?
Click to expand...
Click to collapse
Ticklemyandroid
Tulsadiver said:
Ticklemyandroid
Click to expand...
Click to collapse
thank you so much Sir..

Categories

Resources