[Themeing question] changing text color shutdown menu - Galaxy Note GT-N7000 Themes and Apps

{
"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"
}
Hi guys. I want to change the light popoup menu to a dark one with white text. (see above)
I'm not quite sure if the information is in in the 'styles.xml' or 'colors.xml' and what lines exactly to edit. Anyone know what .xml to edit and what values to change?
I know how to change the background by editing the 'popup_full_bright.9.png' , but the black text looks terrible on that... so really need to know how to get white text on the light popup menus.
Any help would be really appreciated.

Change these parameters
framework-res\res\layout\select_dialog_item.xml
\select_dialog_multichoice.xml
\select_dialog_singlechoice.xml
Code:
android:textColor="@color/primary_text_light_disable_only"
To
Code:
android:textColor="@color/primary_text_dark_disable_only"
Then
framework-res/res/layout/global_actions_item.xml
Delete all"Inverse"
These
Code:
<TextView android:textAppearance="?textAppearanceSmallInverse" android:id="@id/status" android:layout_width="fill_parent" android:layout_height="26.0dip" android:layout_toRightOf="@id/icon" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
<TextView android:textAppearance="?textAppearanceLargeInverse" android:gravity="center_vertical" android:id="@id/message" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/icon" android:layout_above="@id/status" android:layout_alignParentTop="true" android:layout_alignParentRight="true" android:layout_alignWithParentIfMissing="true" />
To:
Code:
<TextView android:textAppearance="?textAppearanceSmall" android:id="@id/status" android:layout_width="fill_parent" android:layout_height="26.0dip" android:layout_toRightOf="@id/icon" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
<TextView android:textAppearance="?textAppearanceLarge" android:gravity="center_vertical" android:id="@id/message" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/icon" android:layout_above="@id/status" android:layout_alignParentTop="true" android:layout_alignParentRight="true" android:layout_alignWithParentIfMissing="true" />
Next
framework-res\res\values\styles.xml
These:
Code:
style name="TextAppearance.Widget.DropDownHint" parent="@style/TextAppearance.Widget">
<item name="textSize">14.0sp</item>
<item name="textColor">?textColorPrimaryInverse</item>
</style>
<style name="TextAppearance.Widget.DropDownItem" parent="@style/TextAppearance.Widget">
<item name="textColor">@color/primary_text_light_disable_only</item>
</style>
Change to:
Code:
<style name="TextAppearance.Widget.DropDownHint" parent="@style/TextAppearance.Widget">
<item name="textSize">14.0sp</item>
<item name="textColor">?textColorPrimary</item>
</style>
<style name="TextAppearance.Widget.DropDownItem" parent="@style/TextAppearance.Widget">
<item name="textColor">@color/primary_text_dark_disable_only</item>
</style>
But still there will be problems with launcher's popup (add widgets and etc.) and I still dont know how to fix it. I think it's somewher into launcher.apk

wway said:
Change these parameters
framework-res\res\layout\select_dialog_item.xml
\select_dialog_multichoice.xml
\select_dialog_singlechoice.xml
Code:
android:textColor="@color/primary_text_light_disable_only"
To
Code:
android:textColor="@color/primary_text_dark_disable_only"
Then
framework-res/res/layout/global_actions_item.xml
Delete all"Inverse"
These
Code:
<TextView android:textAppearance="?textAppearanceSmallInverse" android:id="@id/status" android:layout_width="fill_parent" android:layout_height="26.0dip" android:layout_toRightOf="@id/icon" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
<TextView android:textAppearance="?textAppearanceLargeInverse" android:gravity="center_vertical" android:id="@id/message" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/icon" android:layout_above="@id/status" android:layout_alignParentTop="true" android:layout_alignParentRight="true" android:layout_alignWithParentIfMissing="true" />
To:
Code:
<TextView android:textAppearance="?textAppearanceSmall" android:id="@id/status" android:layout_width="fill_parent" android:layout_height="26.0dip" android:layout_toRightOf="@id/icon" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" />
<TextView android:textAppearance="?textAppearanceLarge" android:gravity="center_vertical" android:id="@id/message" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/icon" android:layout_above="@id/status" android:layout_alignParentTop="true" android:layout_alignParentRight="true" android:layout_alignWithParentIfMissing="true" />
Next
framework-res\res\values\styles.xml
These:
Code:
style name="TextAppearance.Widget.DropDownHint" parent="@style/TextAppearance.Widget">
<item name="textSize">14.0sp</item>
<item name="textColor">?textColorPrimaryInverse</item>
</style>
<style name="TextAppearance.Widget.DropDownItem" parent="@style/TextAppearance.Widget">
<item name="textColor">@color/primary_text_light_disable_only</item>
</style>
Change to:
Code:
<style name="TextAppearance.Widget.DropDownHint" parent="@style/TextAppearance.Widget">
<item name="textSize">14.0sp</item>
<item name="textColor">?textColorPrimary</item>
</style>
<style name="TextAppearance.Widget.DropDownItem" parent="@style/TextAppearance.Widget">
<item name="textColor">@color/primary_text_dark_disable_only</item>
</style>
But still there will be problems with launcher's popup (add widgets and etc.) and I still dont know how to fix it. I think it's somewher into launcher.apk
Click to expand...
Click to collapse
Hey man did you fix the popup menu text colors problem? I have the same problem I did this: (but change a lot of things, and I don't want that I just want to change popup menus)
In \res\values styles.xml
Change this:
<style name="Widget.TextView" parent="@style/Widget">
<item name="textAppearance">?textAppearanceSmall</item>
</style>
to this:
<style name="Widget.TextView" parent="@style/Widget">
<item name="textAppearance">?textAppearanceSmall</item>
<item name="textColor">#ffColorThatIWant</item>

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

[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

[MOD][GUIDE][GB] Highlighted Chooserbox

Hey all!
If you have noticed, on ICS/JB there is a little transition when you click on a chooserbox. This is a nice feature which I like very much!
After doing some investigation on framework I realized that on res/drawable-mdpi there were some pngs which are needed for this feature to work.
{
"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"
}
Click to expand...
Click to collapse
Actually this feature exists on gingerbread but there aren't enough xmls to activate it. Seems like Google has abandoned the project because of some reasons. The closest reason is this :
"Google have not implemented the full sources of it because they wanted to reserve it for future releases. [On ICS/JB]"
Why do i think so? Because @SpaceCaker has discovered many secrets whose nature is like in our case. He has discovered weather information on lockscreen, Music Player Control on Lockscreen and also some codes and smalis which are present on ICS.
[Actually, I have used custom sources rather than using google's one]
Today I gonna show you how to fully implement it on GB! :victory:
Requirments :
-APK Multi Tools
-Notepad++
-Knowledge about xmls
-Sources on attachments
Click to expand...
Click to collapse
- Decompile framework-res.apk
1. Go to res/drawable/list_selector_background.xml
You will see something like this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_window_focused="false" android:drawable="@color/transparent" />
<item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/list_selector_background_disabled" />
<item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/[B]list_selector_background_disabled[/B]" />
[COLOR="red"]<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/list_selector_background_transition" />
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/[B]list_selector_background_transition[/B]" />[/COLOR]
<item android:state_focused="true" android:drawable="@drawable/list_selector_background_focus" />
</selector>
2. Change the 2 red lines. It will look like this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_window_focused="false" android:drawable="@color/transparent" />
<item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/list_selector_background_disabled" />
<item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/list_selector_background_disabled" />
[COLOR="Red"]<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/[B]sniper_killer[/B]" />
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/[B]sniper_killer[/B]" />[/COLOR]
<item android:state_focused="true" android:drawable="@drawable/list_selector_background_focus" />
</selector>
3. Download the Highlight Chooserbox_source.zip in the attachment, extract it and put sniper_killer.xml on drawable folder.
It consists these lines :
Code:
<item android:duration="20" android:drawable="@drawable/sniper_status_bar_item_pressed_anim2" />
<item android:duration="20" android:drawable="@drawable/sniper_status_bar_item_pressed_anim2" />
<item android:duration="30" android:drawable="@drawable/sniper_status_bar_item_pressed_anim3" />
<item android:duration="30" android:drawable="@drawable/sniper_status_bar_item_pressed_anim4" />
<item android:duration="40" android:drawable="@drawable/sniper_status_bar_item_pressed_anim5" />
<item android:duration="50" android:drawable="@drawable/sniper_status_bar_item_pressed_anim6" />
<item android:duration="60" android:drawable="@drawable/sniper_status_bar_item_pressed_anim7" />
<item android:duration="60" android:drawable="@drawable/sniper_status_bar_item_pressed_anim8" />
4. Put the PNGs on res/drawable-mdpi
5. Recompile framework-res.apk and test
Click to expand...
Click to collapse
Proof :
[The transition changes in miliseconds making it impossible to capture.
But after tries and tries i finally managed to capture the transition ]
Pressed :
Click to expand...
Click to collapse
Selected :
Click to expand...
Click to collapse
Credits :
-ryanfebriyadi
-Google
-Me
Click to expand...
Click to collapse
Developers, if you decide to use it on your ROM just put my name on the credits! :good:
Leave a thanks if you find this helpful! :good:

[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?

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

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

Categories

Resources