[Guide]How to make transparent stock Mms.apk Xperia C [JB] - Sony Xperia C

hi!
Just want to share to you all, how to make transparent Mms apk of our xperia C. you can also try this on other device but as a xperia c user i only test this on my device.
this is my first time to make/share a tut here... pls tell me if ever i done wrong (typo, or format of posting) :highfive:
Requirements:
Know how to decompile/recompile apk
Procedure:
1. Decompile your Mms.apk
2. Go to res/values/style.xml , look for ..
on line 23.
Code:
<style name="MmsHoloTheme" [email protected]:style/Theme.Holo.Light.DarkActionBar"
Delete that line change with this.
Code:
<style name="MmsHoloTheme" parent="@*android:style/Theme.Holo.Wallpaper">
change your whole line 29 with this.
Code:
<style name="Theme.Translucent" parent="@*android:style/Theme.Holo.Wallpaper">
change whole line 47 with this one.
Code:
<style name="MultiSelectionHoloTheme" parent="@*android:style/Theme.Holo.Wallpaper">
change line 50 with this.
Code:
<style name="MultiSelectionActionBarStyle" parent="@*android:style/Theme.Holo.Wallpaper">
change line 56 with this.
Code:
<style name="Theme.SmsDlgScreen" parent="@*android:style/Theme.Holo.Wallpaper">
change line 97 with this.
Code:
<style name="MmsHoloThemeWhite" parent="@*android:style/Theme.Holo.Wallpaper">
note: if ever our line position are not the same just look for the style name as your hints.
Save.
3. Go to colors.xml
change the background with this #00000000
list_background
unread_bgcolor
read_bgcolor
messagelistview_background_colo
Code:
<color name="list_background">#00000000</color>
<color name="unread_bgcolor">#00000000</color>
<color name="read_bgcolor">#00000000</color>
<color name="messagelistview_background_color">#00000000</color>
4, Go to res/layout.
composed_message_activity.xml
on line 6
Code:
<com.android.mms.ui.HeightChangedLinearLayout android:orientation="vertical" android:id="@id/changed_linear_layout" android:background="#000000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
on line 8
Code:
<LinearLayout android:orientation="vertical" android:id="@id/recipients_subject_linear" android:background="#00000000" android:paddingTop="3.0dip" android:paddingBottom="0.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingStart="5.0dip" android:paddingEnd="3.0dip">
you can also make transparent for the bottom panel/ media etc just make the background of line...
53 to 62
compare with mine.
Code:
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/bottom_panel_tool_bar" android:background="#00000000" android:paddingBottom="@dimen/mms_bottom_bar_padding_bottom" android:layout_width="fill_parent" android:layout_height="40.0dip">
<ImageButton android:layout_gravity="center" android:id="@id/mms_add_media" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="40.0dip" android:src="@drawable/conv_add_media_item" android:layout_weight="1.0" />
<ImageView android:layout_width="wrap_content" android:layout_height="40.0dip" android:src="@drawable/mms_bottombar_divider" android:scaleType="fitXY" />
<ImageButton android:layout_gravity="center" android:id="@id/mms_take_photo" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="40.0dip" android:src="@drawable/conv_take_photo_item" android:layout_weight="1.0" />
<ImageView android:layout_width="wrap_content" android:layout_height="40.0dip" android:src="@drawable/mms_bottombar_divider" android:scaleType="fitXY" />
<ImageButton android:layout_gravity="center" android:id="@id/mms_add_doodle" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="40.0dip" android:src="@drawable/conv_add_doodle" android:layout_weight="1.0" />
<ImageView android:layout_width="wrap_content" android:layout_height="40.0dip" android:src="@drawable/mms_bottombar_divider" android:scaleType="fitXY" />
<ImageButton android:layout_gravity="center" android:id="@id/mms_add_contact" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="40.0dip" android:src="@drawable/conv_add_contact" android:layout_weight="1.0" />
<ImageView android:visibility="gone" android:layout_width="wrap_content" android:layout_height="40.0dip" android:src="@drawable/mms_bottombar_divider" android:scaleType="fitXY" />
<ImageButton android:layout_gravity="center" android:id="@id/mms_share_location" android:background="#00000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="40.0dip" android:src="@drawable/conv_add_location" android:layout_weight="1.0" />
5. go to conversation_list_item.xml
line 2 make the background #00000000
6. go to conversation_list_screen.xml
line 2 background #00000000
also look for this code.
Code:
<ListView android:scrollbarStyle="insideOverlay" android:id="@*android:id/list" android:background="#00000000" android:fadingEdgeLength="16.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:drawSelectorOnTop="false" />
Save all. recompile/sign/push set permission/reboot.
hope this may help you.
sorry for my bad english coz my first language is Filipino
goodluck.
Screenshot:
{
"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"
}
done enjoy

noob here
Can I request for the mms.apk file that you have? I am having trouble recompiling the file

luridx said:
Can I request for the mms.apk file that you have? I am having trouble recompiling the file
Click to expand...
Click to collapse
here you go bro. Sorry for late reply I've got busy this few months.
http://www.tusfiles.net/a1sckinqhueg

Related

[How-To]Status bar/notification mod Center clock and icon switch

{
"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"
}
Thx to Taine0 for the tutorial
test on stock gingerbread and wolf GB
Preparation:
APKmanager
Notepad++
rootexplorer
Execution:
-Grab your SystemUI.apk using rootexplorer or using adb pull command (/system/app/systemUI.apk)
-decompile it using APKmanager then find status_bar.xml on APK Manager\projects\SystemUI.apk\res\layout\
-edit the file using Notepadd++
this is my mod script for status_bar.xml, you can copy and paste if you want to use it
PHP:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" android:paddingLeft="132.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="left" 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" />
<LinearLayout android:gravity="left" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="110.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
save the xml then compile again using apkmanager.
answer the question when compiling
Is this a system apk (y/n)
Type input:y
Click to expand...
Click to collapse
Aside from the signatures, would you like to copy
over any additional files that you didn't modify
from the original apk in order to ensure least
# of errors (y/n)
Type input:n
Click to expand...
Click to collapse
and now you get the unsignedSystemUI.apk
delete SystemUI.apk then rename unsignedSystemUI.apk to SystemUI.apk
make a flashable zip and flash it over. Or replace the systemui with rootexplorer.
Hey man, I tried the mod that you credited to yesterday and the clock centered but no other icons were there. Replaced my script with yours now it works like a charm! Thanks dude, now I can study yours to see exactly what I did wrong lol
APKmanager is giving an error upon decompiling SystemUI.apk.. What could be going wrong?
Try using apkmanager v5
http://forum.xda-developers.com/showthread.php?t=1227179
although showing an error APKmanager decompiled the apk and so i went through with the process. The signed apk (besides giving errors) is reduced to 10kb from 207kb. Is that alright, should i give it go and copy via root explorer??
I have been trying to find a way to remove the clock from status bar and found your article. Can you post screenshots and highlight what exactly we need to change?
I am more interested in just deleting the clock as I don't like 20 clocks on my phone..lol
Thanks in advance
I think this is the line where I need to put maybe Visible="false"?
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" androidaddingLeft="132.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Nope, it ain't gon work. Download the latest android sdk, take aapt.exe and replace the one in your apk manager/other folder. That should fix your problem
Swyped From My Red Hot 3D Razr Phone

[[Guide]] Custom carrier logo´s deodex Rom´s

Hello!!
I bring this guide to display the custom logo, we must do the following:
- Navigate to your decompiled SystemUI folder and go to /res/layout/tw_status_bar.xml
and change.
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="0.0dip" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/left_icons" android:paddingLeft="4.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="15.0dip" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<ImageView android:id="@id/operatorLogoIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_stat_notify_operator_logo" />
to
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="0.0dip" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/left_icons" android:paddingLeft="4.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textSize="15.0dip" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<ImageView android:id="@id/operatorLogoIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_stat_notify_operator_logo" />
and tw_stat_notify_operator_logo we replace the image you want.
We return to compile SystemUI.apk and we put on the phone and ready to assign permissions.
{
"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"
}
Tested on my Rom Energy Bean 4.1.2 Galaxy Note N7000
I´m sorry my bad english.. :good:​
and what is with res/values/bools.xml and line?:... <bool name="config_showOperatorLogo">false</bool> ...normally change to: ( true ) and how big .png should to be?
mirash11 said:
and what is with res/values/bools.xml and line?:... <bool name="config_showOperatorLogo">false</bool> ...normally change to: ( true ) and how big .png should to be?
Click to expand...
Click to collapse
It is not necessary to change anything in "bools", only to eliminate what I have said, because this line serves to conceal the png. I have verified it and changing to "true", the logo does not appear.
It depends on that png are going to use, must be between 60x40 or 90x50
Maybe you should give a link to the original thread, that will help to..
Sent from my GT-N7000 using Tapatalk HD
zai89 said:
Maybe you should give a link to the original thread, that will help to..
Sent from my GT-N7000 using Tapatalk HD
Click to expand...
Click to collapse
To that original thread?
juli14
Hello: I am from Taiwan, Samsung Note users, it is like you are making this ROM,
Look forward to have Chinese interfaces and links Kies, then it will be more perfect!
Thank you!
one of the beauty of energyrom is that i can customize lots of things using zip file provided by juli
I want to try this mod but i can't understand the op
Sent from my GT-N7000 using xda premium

[MOD][HOW TO] AOSP Signal layout on touchwiz

This will guide will show you how to replace the touchwiz signal style with that of standard android AOSP style.
Preview
{
"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"
}
I assume the reader has basic knowledge of de-compiling and recompiling APK files, if you do not know how to do this use the search feature on XDA as this is covered in a ton of post's and really isn't that hard to do with some patience.
Step 1) Decompile systemui.apk
Step 2) Navigate to
HTML:
res/layout/tw_signal_cluster_view.xml
Step 3) Delete everything here and replace it with this
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="-6.0dip">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/new_mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/separate_mobile" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="-18.0dip">
<ImageView android:id="@id/separate_mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/separate_mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="-23.0dip" />
</com.android.systemui.statusbar.SignalClusterView>
4) Replace desired icon's in
HTML:
res/drawable-xhdpi
this is my standard AOSP signal icon's that I use in my ROM Dandroid, get it here
5) Recompile with apktool
6) Open up the old systemui and new systemui with 7zip and copy over the meta-inf folder and androidmanifest.xml to the new systemUI
7) Push to system and enjoy
also to any developers on Verizon, I need help porting Dandroid to Verizon, I got 90% of it working but it's really hard to test when I can't get data on the port
cheers
Dan
Thanks. Always up for a good HOW TO!!
This is neat, I never cared for touchwiz because of a few littler quirks and this was one of em :thumbup: would there be any way this could be made into a flash able zip?
Sent from my SCH-I535 using xda premium
Data works on your rom...
Sent from my SCH-I535 using Tapatalk 4 Beta

[MOD][GUIDE][JB 4.1.2] AOSP Style Status Bar Header on Touchwiz

Found this in S2 Forum. With this tutorial, you will edit your drop down menu header to look like stock JB AOSP, by moving the Settings button next to the date and adding the Clear All notifications buttons at the right corner. You will get something 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"
}
(Screenshot from original Galaxy Note) Confirmed working in S2, Note 1, Note 2 and S3. May work in S Advance too.
Level: Easy
What files i need?
APK Tool (you need Java JDK installed)
Notepad++
SystemUI.apk
1) Decompile your SystemUI.apk, then open with notepad++ the file Project/ /res/layout/tw_status_bar_expanded_header.xml and you will found this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="39.0dip" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffcbcbcb" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
2) Now you need to delete everything after the line which starts with <com.android.systemui.statusbar.RotateToggle and replace it with the following code:
Code:
<ImageView android:id="@id/settings_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:contentDescription="@string/accessibility_settings_button" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
<ImageView android:id="@id/clear_all_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_notify_clear" android:scaleType="center" android:contentDescription="@string/accessibility_clear_all" />
</LinearLayout>
3) Save the XML
4)Now we need to open up tw_status_bar_expanded.xml and look for the following line:
Code:
<TextView android:textSize="@dimen/status_bar_expanded_notification_clear_button_text_size" android:textColor="@color/tw_status_bar_clear_btn_text" android:gravity="center" android:id="@id/clear_all_button" android:background="@drawable/tw_btn_default_small" android:padding="0.100000024dip" android:focusable="true" android:clickable="true" android:layout_width="@dimen/status_bar_expanded_clear_button_width" android:layout_height="fill_parent" android:layout_marginRight="4.0dip" android:text="@string/status_bar_clear_all_button" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
(Use CTRL+F)
5) Delete it and Save
What did that last point? It deleted the old "Clear All" button behind the toogles, because you will not need it anymore. Otherwise you would have 2 buttons.
Now recompile your SystemUI.apk and push it to your Note. That it is! Easy right?
Have fun!
Original thread: http://forum.xda-developers.com/showthread.php?t=2304658
Have a nice Friday!
wow nice dude :good:
Gonna try it now, looks good thanks for the share mate!
Sent from my GT-N7000 using Tapatalk 4 Beta
Has anyone tried this??
Could any share his system ui?
Sent from my GT-N7000 using xda premium

[guide] [mod] [jb] [touchwiz] make Flyme statusbar

Hi for all, some people liked the status bar of my Custom ROM, and i resolved make this guide. This guide is based on deodex Android 4.1.2 for Galaxy note n7000. Ok, let's go!!!
This mod will add:
- Analog Clock positioned left.
- Traffic meter.
- Battery icon small.
- Two lines of notifications.
ScreenShot
{
"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"
}
Requires:
Quote:
- framework-res.apk deodexed
- SystemUI.apk deodexed
- apktool
- apk Signer
Click to expand...
Click to collapse
Let's start:
1- Decompile framework-res.apk
2 - Go to "framework-res > res > values" and open "dimens.xml"
3 - Search for this two lines:
Code:
<dimen name="status_bar_height">25.0dip</dimen>
<dimen name="status_bar_icon_size">24.0dip</dimen>
and change the values for:
Code:
<dimen name="status_bar_height">40.0dip</dimen>
<dimen name="status_bar_icon_size">29.0dip</dimen>
4- Save and compile and sign the framework-res.apk.
Part 2: SystemUI.apk
1 - Decompile SystemUI.apk
2 - Go to "SystemUI > res > layout" and open "tw_status_bar.xml"
3 - in line "@id/icons" change
Code:
android:height="[COLOR="red"]fill_parent[/COLOR]"to be android:height="40.0dip"
4 - copy this line under the row @id/icons
Code:
<AnalogClock android:gravity="center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="50.0dip">
<LinearLayout android:orientation="horizontal" android:paddingLeft="1.0dip" android:paddingRight="1.0dip" android:layout_width="fill_parent" android:layout_height="24.0dip">
5- copy all these lines at the top of the line "@id/ticker"
Code:
<ImageView android:id="@+id/garis" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="fill_parent" android:layout_height="0.20000005dip" android:src="#99ffffff" />
<LinearLayout android:id="@+id/barisbaru" android:gravity="right" android:orientation="horizontal" android:paddingLeft="1.0dip" android:paddingRight="1.0dip" android:layout_width="fill_parent" android:layout_height="24.0dip">
<LinearLayout android:id="@+id/kiri" android:orientation="horizontal" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="kiri" />
</LinearLayout>
<LinearLayout android:id="@+id/kanan" android:gravity="right" android:orientation="horizontal" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<TextView android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="kanan" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
5 - Delete this line to remove the Default Hours
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id= "@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
6- Find this line, Move (Cut) these two lines down the line @+id/kanan, to move to the notif Icon Bottom Right
Code:
<com.android.systemui.statusbar.StatusBarIconView android:id="id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
6- Find this line, Move (Cut) these two lines down the line "@id/carrierLabel" to move to the signal Icon top left
Code:
<include android:id "@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
7- COPY this line under @+id/kiri, to add to Date
Code:
<com.android.systemui.statusbar.policy.DateView android:textSize="12.0dip" android:textStyle="bold" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:paddingLeft="1.0dip" android:paddingTop="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="2" android:singleLine="false" android:layout_centerVertical="true" />
8-To eliminate the words "kiri " and "kanan", delete the following line:
Code:
<TextView android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="kiri" />
<TextView android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="kanan" />
9 - Save > recompile > sign > push
#note if u get error comment and send log
Thank for your guide. Fix with some modification for suit in 240dpi.
thanks for your guide?

Categories

Resources