help with text plugin (xml home screen) - HTC Excalibur

I have a t-mobile dash running Windows Mobile 6.0 standard.
I have had no luck with this text plugin (nor the owner plugin)
Code:
<plugin file="sysplug.dll" clsid="{5419F376-6520-4407-B8B8-740F5B353EDA}">
<label bgtext="#000000">
<text>I love french fries</text>
</label>
</plugin>
The whole file looks like this:
Code:
<?xml version="1.0"?>
<home>
<author>Ken</author>
<contacturl>http://www.foo.com</contacturl>
<title>Foo</title>
<version>1.0</version>
<default target-width="320" target-height="320" font-face="Segoe Condensed" font-size="16" font-weight="bold" padding-left="5" padding-right="5" bgcolor="transparent" fgcolor="COLOR_HOMETEXT" padding-top="3" b-border-color="COLOR_HOMERULE" b-border-width="1">
<format state="unselected" fgcolor="#FFFFFF" bgcolor="transparent" font-weight="bold"/>
<format state="selected" fgcolor="#FFFFFF" bgcolor="COLOR_HOMEHIGHLIGHT" font-weight="bold"/>
</default>
<background bgimage-rotated="TMobile.jpg" valign="top" />
<scheme>
<color name="COLOR_WINDOW" value="#FFFFFF" />
<color name="COLOR_WINDOWTEXT" value="#000000" />
<color name="COLOR_STATIC" value="#FFFFFF" />
<color name="COLOR_STATICTEXT" value="#000000" />
<color name="COLOR_HIGHLIGHT" value="#3485ce" />
<color name="COLOR_HIGHLIGHTTEXT" value="#FFFFFF" />
<color name="COLOR_TEXTSELECT" value="#FFFFFF" />
<color name="COLOR_MENU" value="#FFFFFF" />
<color name="COLOR_MENUTEXT" value="#000000" />
<color name="COLOR_GRAYTEXT" value="#CCCCCC" />
<color name="COLOR_GRADLEFT" value="#FFFFFF" />
<color name="COLOR_GRADRIGHT" value="#FFFFFF" />
<color name="COLOR_INTGRADLEFT" value="#FFFFFF" />
<color name="COLOR_INTGRADRIGHT" value="#FFFFFF" />
<color name="COLOR_TRAYGRADLEFT" value="#0a4476" />
<color name="COLOR_TRAYGRADRIGHT" value="#155D9C" />
<color name="COLOR_HIGHGRADLEFT" value="#3485ce" />
<color name="COLOR_HIGHGRADRIGHT" value="#3485ce" />
<color name="COLOR_TRAYTEXT" value="#FFFFFF" />
<color name="COLOR_WINDOWFRAME" value="#000000" />
<color name="COLOR_BTNFACE" value="#FFFFFF" />
<color name="COLOR_BTNTEXT" value="#000000" />
<color name="COLOR_SCROLLBAR" value="#3485ce" />
<color name="COLOR_HOMETEXT" value="#FFFFFF" />
<color name="COLOR_HOMEHIGHLIGHT" value="#3485ce" />
<color name="COLOR_HOMEHIGHLIGHTTEXT" value="#FFFFFF" />
<color name="COLOR_HOMERULE" value="#3485ce" />
<color name="COLOR_ALERTWINDOW" value="#FFFFFF" />
<color name="COLOR_ALERTTITLE" value="#444444" />
<color name="COLOR_ALERTRULE" value="#000000" />
<color name="COLOR_TITLEFLATCENTER" value="#3485ce" />
<color name="COLOR_SOFTKEYFLATCENTER" value="#3485ce" />
</scheme>
<plugin file="sysplug.dll" clsid="{5419F376-6520-4407-B8B8-740F5B353EDA}">
<label bgtext="#000000">
<text>I love french fries</text>
</label>
</plugin>
</home>
I note that both of these plugins include a call to the sysplug.dll. Is it possible that my phone does not have this dll? Where should I check?
Secondly, I have read contradictory information about where the .home.xml file should go. It seems that there is a copy of all of my .home.xml in both the /Application Data/Home directory as well as the /Windows directory. Do I need the same file copied in both locations? What's the deal here?
Thanks!

klaberte said:
I have a t-mobile dash running Windows Mobile 6.0 standard.
I have had no luck with this text plugin (nor the owner plugin)
Click to expand...
Click to collapse
For Owner Notes, have you tried like this(not sure on the clsid, you'll have to make sure its the correct for owner plugin)
Code:
<plugin file="sysplug.dll" clsid="{5419F376-6520-4407-B8B8-740F5B353EDA}" [SIZE=3][B]name="owner" height="27"[/B][/SIZE]>
<label halign="center" valign="top" w="320" h="27">
[SIZE=3][B]<text><notes/></text>[/B][/SIZE]
</label></plugin>
The height, width, and alignment values are just what i used before. Your actual text you want displayed would need to be written into notes field of owner information. I have a mortscript that will run a text loop using this plugin so that the text will rotate with different info every few seconds by rewriting the text to the registry.

Any other ideas?

Related

All You XML Buffs Out There!!!!!

Is there a way to have the "Startbar" "Deskbar" a shiny black hue, similar to using Base Hue/greyscale, but having it pre-coded in the respective "scheme.xml"?
I would guess it would require changing some of the below values or adding new ones, but all i can get thus far is a medium grey. :-(
<colorscheme><title>N15H_HUD</title>
<scheme>
<color name="COLOR_HOMETEXT" value="#FFFFFF" />
<color name="COLOR_HOMERULE" value="#000000" />
<color name="COLOR_HIGHLIGHT" value="#0066CC" />
<color name="COLOR_TRAYGRADLEFT" value="#000000" />
</scheme>
</colorscheme>

how can I set the battery gauge in 1% step?

I am using rooted original ROM. I changed the battery icons to display % in framework-res . However, I found that the battery gauge shown in 5% step. How can I set it to 1% step without in other app?
thanks
paty said:
I am using rooted original ROM. I changed the battery icons to display % in framework-res . However, I found that the battery gauge shown in 5% step. How can I set it to 1% step without in other app?
thanks
Click to expand...
Click to collapse
You need to decompile your framework-res.apk with apk manager or APKTool
Go into Res/Drawable/ edit the following xml "stat_sys_battery.xml" it would show you in that file all the images it's pointing towwards to show the battery status.
It's quite obvious what you need to change, just change it from "5, 10, 15,..." to "1,2,3,4" etc.
EDIT: If you want, I can attach a decompiled version of the XML already completed. All you have to do is insert it into your already decompiled framework-res.apk and compile it. Done and dusted send me a PM and let me know.
This http://forum.xda-developers.com/showthread.php?p=8639993#post8639993
might be of some assistance to you, ive been using this since last year and it's great.
Or just use the uot kitchen and only select battery. Its the easiest method. You just have to upload your framework.
Google it.
Nitroz said:
You need to decompile your framework-res.apk with apk manager or APKTool
Go into Res/Drawable/ edit the following xml "stat_sys_battery.xml" it would show you in that file all the images it's pointing towwards to show the battery status.
It's quite obvious what you need to change, just change it from "5, 10, 15,..." to "1,2,3,4" etc.
EDIT: If you want, I can attach a decompiled version of the XML already completed. All you have to do is insert it into your already decompiled framework-res.apk and compile it. Done and dusted send me a PM and let me know.
Click to expand...
Click to collapse
Hi, Nitroz,
I tried to use Notepad++ to edit the stat_sys_battery.xml . But cannot find the :5, 10, 15.." And the xml file is only 3K in size. What xml editor you suggest for me to use?
thanks
paty said:
Hi, Nitroz,
I tried to use Notepad++ to edit the stat_sys_battery.xml . But cannot find the :5, 10, 15.." And the xml file is only 3K in size. What xml editor you suggest for me to use?
thanks
Click to expand...
Click to collapse
This is what original stat_sys_battery.xml looks like
Code:
<?xml version="1.0" encoding="UTF-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_5" android:maxLevel="7" />
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="12" />
<item android:drawable="@drawable/stat_sys_battery_15" android:maxLevel="17" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="22" />
<item android:drawable="@drawable/stat_sys_battery_25" android:maxLevel="27" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="32" />
<item android:drawable="@drawable/stat_sys_battery_35" android:maxLevel="37" />
<item android:drawable="@drawable/stat_sys_battery_40" android:maxLevel="42" />
<item android:drawable="@drawable/stat_sys_battery_45" android:maxLevel="47" />
<item android:drawable="@drawable/stat_sys_battery_50" android:maxLevel="52" />
<item android:drawable="@drawable/stat_sys_battery_55" android:maxLevel="57" />
<item android:drawable="@drawable/stat_sys_battery_60" android:maxLevel="62" />
<item android:drawable="@drawable/stat_sys_battery_65" android:maxLevel="67" />
<item android:drawable="@drawable/stat_sys_battery_70" android:maxLevel="72" />
<item android:drawable="@drawable/stat_sys_battery_75" android:maxLevel="77" />
<item android:drawable="@drawable/stat_sys_battery_80" android:maxLevel="82" />
<item android:drawable="@drawable/stat_sys_battery_85" android:maxLevel="87" />
<item android:drawable="@drawable/stat_sys_battery_90" android:maxLevel="92" />
<item android:drawable="@drawable/stat_sys_battery_95" android:maxLevel="97" />
<item android:drawable="@drawable/stat_sys_battery_100" android:maxLevel="100" />
</level-list>
This is what you want it to look like.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<level-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
<item android:drawable="@drawable/stat_sys_battery_1" android:maxLevel="1" />
<item android:drawable="@drawable/stat_sys_battery_2" android:maxLevel="2" />
<item android:drawable="@drawable/stat_sys_battery_3" android:maxLevel="3" />
<item android:drawable="@drawable/stat_sys_battery_4" android:maxLevel="4" />
<item android:drawable="@drawable/stat_sys_battery_5" android:maxLevel="5" />
<item android:drawable="@drawable/stat_sys_battery_6" android:maxLevel="6" />
<item android:drawable="@drawable/stat_sys_battery_7" android:maxLevel="7" />
<item android:drawable="@drawable/stat_sys_battery_8" android:maxLevel="8" />
<item android:drawable="@drawable/stat_sys_battery_9" android:maxLevel="9" />
<item android:drawable="@drawable/stat_sys_battery_10" android:maxLevel="10" />
<item android:drawable="@drawable/stat_sys_battery_11" android:maxLevel="11" />
<item android:drawable="@drawable/stat_sys_battery_12" android:maxLevel="12" />
<item android:drawable="@drawable/stat_sys_battery_13" android:maxLevel="13" />
<item android:drawable="@drawable/stat_sys_battery_14" android:maxLevel="14" />
<item android:drawable="@drawable/stat_sys_battery_15" android:maxLevel="15" />
<item android:drawable="@drawable/stat_sys_battery_16" android:maxLevel="16" />
<item android:drawable="@drawable/stat_sys_battery_17" android:maxLevel="17" />
<item android:drawable="@drawable/stat_sys_battery_18" android:maxLevel="18" />
<item android:drawable="@drawable/stat_sys_battery_19" android:maxLevel="19" />
<item android:drawable="@drawable/stat_sys_battery_20" android:maxLevel="20" />
<item android:drawable="@drawable/stat_sys_battery_21" android:maxLevel="21" />
<item android:drawable="@drawable/stat_sys_battery_22" android:maxLevel="22" />
<item android:drawable="@drawable/stat_sys_battery_23" android:maxLevel="23" />
<item android:drawable="@drawable/stat_sys_battery_24" android:maxLevel="24" />
<item android:drawable="@drawable/stat_sys_battery_25" android:maxLevel="25" />
<item android:drawable="@drawable/stat_sys_battery_26" android:maxLevel="26" />
<item android:drawable="@drawable/stat_sys_battery_27" android:maxLevel="27" />
<item android:drawable="@drawable/stat_sys_battery_28" android:maxLevel="28" />
<item android:drawable="@drawable/stat_sys_battery_29" android:maxLevel="29" />
<item android:drawable="@drawable/stat_sys_battery_30" android:maxLevel="30" />
<item android:drawable="@drawable/stat_sys_battery_31" android:maxLevel="31" />
<item android:drawable="@drawable/stat_sys_battery_32" android:maxLevel="32" />
<item android:drawable="@drawable/stat_sys_battery_33" android:maxLevel="33" />
<item android:drawable="@drawable/stat_sys_battery_34" android:maxLevel="34" />
<item android:drawable="@drawable/stat_sys_battery_35" android:maxLevel="35" />
<item android:drawable="@drawable/stat_sys_battery_36" android:maxLevel="36" />
<item android:drawable="@drawable/stat_sys_battery_37" android:maxLevel="37" />
<item android:drawable="@drawable/stat_sys_battery_38" android:maxLevel="38" />
<item android:drawable="@drawable/stat_sys_battery_39" android:maxLevel="39" />
<item android:drawable="@drawable/stat_sys_battery_40" android:maxLevel="40" />
<item android:drawable="@drawable/stat_sys_battery_41" android:maxLevel="41" />
<item android:drawable="@drawable/stat_sys_battery_42" android:maxLevel="42" />
<item android:drawable="@drawable/stat_sys_battery_43" android:maxLevel="43" />
<item android:drawable="@drawable/stat_sys_battery_44" android:maxLevel="44" />
<item android:drawable="@drawable/stat_sys_battery_45" android:maxLevel="45" />
<item android:drawable="@drawable/stat_sys_battery_46" android:maxLevel="46" />
<item android:drawable="@drawable/stat_sys_battery_47" android:maxLevel="47" />
<item android:drawable="@drawable/stat_sys_battery_48" android:maxLevel="48" />
<item android:drawable="@drawable/stat_sys_battery_49" android:maxLevel="49" />
<item android:drawable="@drawable/stat_sys_battery_50" android:maxLevel="50" />
<item android:drawable="@drawable/stat_sys_battery_51" android:maxLevel="51" />
<item android:drawable="@drawable/stat_sys_battery_52" android:maxLevel="52" />
<item android:drawable="@drawable/stat_sys_battery_53" android:maxLevel="53" />
<item android:drawable="@drawable/stat_sys_battery_54" android:maxLevel="54" />
<item android:drawable="@drawable/stat_sys_battery_55" android:maxLevel="55" />
<item android:drawable="@drawable/stat_sys_battery_56" android:maxLevel="56" />
<item android:drawable="@drawable/stat_sys_battery_57" android:maxLevel="57" />
<item android:drawable="@drawable/stat_sys_battery_58" android:maxLevel="58" />
<item android:drawable="@drawable/stat_sys_battery_59" android:maxLevel="59" />
<item android:drawable="@drawable/stat_sys_battery_60" android:maxLevel="60" />
<item android:drawable="@drawable/stat_sys_battery_61" android:maxLevel="61" />
<item android:drawable="@drawable/stat_sys_battery_62" android:maxLevel="62" />
<item android:drawable="@drawable/stat_sys_battery_63" android:maxLevel="63" />
<item android:drawable="@drawable/stat_sys_battery_64" android:maxLevel="64" />
<item android:drawable="@drawable/stat_sys_battery_65" android:maxLevel="65" />
<item android:drawable="@drawable/stat_sys_battery_66" android:maxLevel="66" />
<item android:drawable="@drawable/stat_sys_battery_67" android:maxLevel="67" />
<item android:drawable="@drawable/stat_sys_battery_68" android:maxLevel="68" />
<item android:drawable="@drawable/stat_sys_battery_69" android:maxLevel="69" />
<item android:drawable="@drawable/stat_sys_battery_70" android:maxLevel="70" />
<item android:drawable="@drawable/stat_sys_battery_71" android:maxLevel="71" />
<item android:drawable="@drawable/stat_sys_battery_72" android:maxLevel="72" />
<item android:drawable="@drawable/stat_sys_battery_73" android:maxLevel="73" />
<item android:drawable="@drawable/stat_sys_battery_74" android:maxLevel="74" />
<item android:drawable="@drawable/stat_sys_battery_75" android:maxLevel="75" />
<item android:drawable="@drawable/stat_sys_battery_76" android:maxLevel="76" />
<item android:drawable="@drawable/stat_sys_battery_77" android:maxLevel="77" />
<item android:drawable="@drawable/stat_sys_battery_78" android:maxLevel="78" />
<item android:drawable="@drawable/stat_sys_battery_79" android:maxLevel="79" />
<item android:drawable="@drawable/stat_sys_battery_80" android:maxLevel="80" />
<item android:drawable="@drawable/stat_sys_battery_81" android:maxLevel="81" />
<item android:drawable="@drawable/stat_sys_battery_82" android:maxLevel="82" />
<item android:drawable="@drawable/stat_sys_battery_83" android:maxLevel="83" />
<item android:drawable="@drawable/stat_sys_battery_84" android:maxLevel="84" />
<item android:drawable="@drawable/stat_sys_battery_85" android:maxLevel="85" />
<item android:drawable="@drawable/stat_sys_battery_86" android:maxLevel="86" />
<item android:drawable="@drawable/stat_sys_battery_87" android:maxLevel="87" />
<item android:drawable="@drawable/stat_sys_battery_88" android:maxLevel="88" />
<item android:drawable="@drawable/stat_sys_battery_89" android:maxLevel="89" />
<item android:drawable="@drawable/stat_sys_battery_90" android:maxLevel="90" />
<item android:drawable="@drawable/stat_sys_battery_91" android:maxLevel="91" />
<item android:drawable="@drawable/stat_sys_battery_92" android:maxLevel="92" />
<item android:drawable="@drawable/stat_sys_battery_93" android:maxLevel="93" />
<item android:drawable="@drawable/stat_sys_battery_94" android:maxLevel="94" />
<item android:drawable="@drawable/stat_sys_battery_95" android:maxLevel="95" />
<item android:drawable="@drawable/stat_sys_battery_96" android:maxLevel="96" />
<item android:drawable="@drawable/stat_sys_battery_97" android:maxLevel="97" />
<item android:drawable="@drawable/stat_sys_battery_98" android:maxLevel="98" />
<item android:drawable="@drawable/stat_sys_battery_99" android:maxLevel="99" />
<item android:drawable="@drawable/stat_sys_battery_100" android:maxLevel="100" />
</level-list>
Notepad++ is good for editing.
edit. REMEMBER that you need to decompile framework-res.apk to make that .xml file to look like that. Like Nitroz said use apkmanager or apktool for that
edit2. you need to have framework-res decompiled when you put those battery images inside that drawable-hdpi folder. That way when you compile in puplic.xml will be generated ids for those.
This is basic stuff, google is also full of tutorials for this
Got it done. Thanks a lot.

Background of Theme.Light

prejudice would like to change a simple setting png as a background but I do not know how to do .... the value of style.xml is simply this
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="@android:style/Theme.Light" />
</resources>
how can I do ?
massinegro204 said:
prejudice would like to change a simple setting png as a background but I do not know how to do .... the value of style.xml is simply this
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="@android:style/Theme.Light" />
</resources>
how can I do ?
Click to expand...
Click to collapse
I'm not really sure what or how you're trying to do this, but if i'm following you right you could do something like this
Code:
<style name="AppTheme" parent="@android:style/Theme.Light">
<item name="windowBackground">@drawable/app_theme_background</item>
</style>
app_theme_background being your xml in drawable that defines the drawable/s
Here's the original xml from framework drawable (screen_background_selector_light.xml)
Code:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/screen_background_light" android:state_accelerated="false" />
<item android:drawable="@drawable/background_holo_light" />
</selector>
'screen_background_light' or whatever you wish to name it...being your alternative hex color in values/drawables (guessing that's for slower devices or something)
'background_holo_light' or whatever you wish to name it being your alternative background image.

[q] text color

i've posted this already in general help thread, but realized it's better placed here...
i'm using temaseks cm 10.2 build and a theme called slate..
more than one digit numbers in sms and whatsapp messages get unreadable because they are formatted as link to store in contacts or whatever, and this color fits perfectly to the background.
where are these textcolor variables defined?
i would prefer not to simply change the theme, because i'm in love with it..
i did not find the right question for Google, guess me's to stupid..
thanks in advance
Gesendet von meinem GT-I9300 mit Tapatalk 2
ok...wrong question..
i decompiled my theme, found some xml in res/values folder, where a lot colors a set..
how can i find out, which var is used for the highlighted text in sms or whatsapp..
here for example, the colors.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="holo_blue_light">#ffffffff</color>
<color name="holo_blue_dark">#ffffffff</color>
<color name="holo_green_light">#ffffffff</color>
<color name="holo_green_dark">#ffffffff</color>
<color name="holo_red_light">#ffffffff</color>
<color name="holo_red_dark">#ffffffff</color>
<color name="holo_orange_light">#ffffffff</color>
<color name="holo_orange_dark">#ffffffff</color>
<color name="holo_purple">#ffffffff</color>
<color name="holo_blue_bright">#ffffffff</color>
<color name="highlighted_text_dark">#ff999999</color>
<color name="highlighted_text_light">#ff999999</color>
<color name="link_text_dark">#ff999999</color>
<color name="link_text_light">#ff999999</color>
<color name="suggestion_highlight_text">#ffffffff</color>
<color name="perms_dangerous_grp_color">#ffffffff</color>
<color name="perms_dangerous_perm_color">#ffffffff</color>
<color name="search_url_text_normal">#ff999999</color>
<color name="keyguard_text_color_unlock">#ffffffff</color>
<color name="keyguard_text_color_soundon">#ffffffff</color>
<color name="keyguard_text_color_decline">#ffffffff</color>
<color name="lockscreen_clock_background">#cc000000</color>
<color name="lockscreen_owner_info">#ffffffff</color>
<color name="highlighted_text_holo_dark">#66ffffff</color>
<color name="highlighted_text_holo_light">#66222222</color>
<color name="link_text_holo_dark">#ffaaaaaa</color>
<color name="link_text_holo_light">#ff222222</color>
<color name="group_button_dialog_pressed_holo_dark">#46ffffff</color>
<color name="group_button_dialog_focused_holo_dark">#26222222</color>
<color name="group_button_dialog_focused_holo_light">#46222222</color>
<color name="legacy_pressed_highlight">#ff808080</color>
<color name="legacy_selected_highlight">#ff808080</color>
<color name="con_quickcontact_list_divider">#ffffffff</color>
<color name="con_quickcontact_list_background">#ff000000</color>
<color name="con_quickcontact_tab_indicator">#ffffffff</color>
<color name="con_background_primary">#ff000000</color>
<color name="con_background_social_updates">#ff000000</color>
<color name="con_section_header_text_color">#ffffffff</color>
<color name="con_detail_update_tab_text_color">#ffffffff</color>
<color name="con_call_log_missed_call_highlight_color">#ffffffff</color>
<color name="con_call_log_voicemail_highlight_color">#ffffffff</color>
<color name="con_people_app_theme_color">#ffffffff</color>
<color name="con_dialtacts_secondary_text_color">#ffffffff</color>
<color name="con_contact_count_text_color">#ffffffff</color>
<color name="con_detail_tab_carousel_tab_label_color">#ffffffff</color>
<color name="con_people_contact_tile_status_color">#ffffffff</color>
<color name="cam_recording_time_elapsed_text">#ffffffff</color>
<color name="cam_recording_time_remaining_text">#ff777777</color>
<color name="cam_on_viewfinder_label_background_color">#77333333</color>
<color name="cam_review_control_pressed_color">#ffaaaaaa</color>
<color name="cam_review_control_pressed_fan_color">#3faaaaaa</color>
<color name="cam_icon_disabled_color">#dd777777</color>
<color name="cam_time_lapse_arc">#ffffffff</color>
<color name="cam_dark_gray">#ff000000</color>
<color name="cam_share_popup_background">#da000000</color>
<color name="cam_share_popup_blackout">#ff090909</color>
<color name="cam_share_icon_background">#80000000</color>
<color name="cam_indicator_background">#40000000</color>
<color name="cam_popup_title_color">#ffffffff</color>
<color name="cam_popup_background">#ff000000</color>
<color name="cam_pano_custom_dialog_background">#ff666666</color>
<color name="cam_pano_progress_empty">#ff2e2e2e</color>
<color name="cam_pano_progress_done">#ff333333</color>
<color name="cam_pano_progress_indication">#ffffffff</color>
<color name="cam_pano_progress_indication_fast">#ffff2222</color>
<color name="cam_mode_selection_border">#ffffffff</color>
</resources>
any suggestions?
ok.. at the end i changed the theme...
even the theme developer didn't get it...
Gesendet von meinem GT-I9300 mit Tapatalk

[Tips] Mastering Xperia Home Grid & Dock Icons Modding | Newbies Welcome

Hello folks, here's a new thread with a different idea, tips for mastering Modding Xperia Home Grid & Dock Icons, You may have seen my Xperia Launcher Mods, and i got a lot of requests for how to make it, there are guides for ready values, but not for the way ? or how can i know the right values? So in this guide i show you how .​
Index :
Changing Rows & Related Cells .
Changing Columns & Related Cells .
Changing Dock Icons .
Info :
Xperia Launcher Comes With Ready Values For Different DPI, You Gonna Modify Your Default Screen DPI Values & " Values " folder .
You Must Know How To Decompile / Recompile / Sign .
You Must Know What's Your Device DPI, Because We Gonna Modify 2 Folders, "values-swyourdp" and " values " .
There Are 2 Ways to modify, Easy & Hard, Hard Below, Easy is to copy ready values from other "values-swdp" and replace it with yours .
Let's Start, With values & values-sw480 for example ( Xperia Z1 ) :
Changing Apptray Columns & Rows By 1
Let's see my default values in the following folder : res/values-sw480dp
dimens : apptray_cell_width : 112 dip | apptray_cell_height : 116dip
integers : apptray_grid_rows : 6 | apptray_grid_columns : 5 .
Now, We need to know what's the cell height & width for every row & column, Here's How :
Grid Rows : 6 / Cell Height : 116 => 116 / 6 = 19.3, it means for every row we gonna add, we must minus " 116 " with " 19.3 " .
Grid Columns : 5 / Cell Width : 112 ==> 112 / 5 = 22.4, it means for every column we gonna add, we must minus "112" with " 22.4" .
So, Here's An Example :
Rows : 7 , Columns 6 => Cell Height : 96.7, Cell Width : 89.6 .
Easy, right ? Make the same for Desktop Cells & Grid in integers & dimens files, in both "values" and " values-swyourdp " .
Changing Dock Icons, Let's Take XZ1 Again For Example, We Need To Modify The Same Files In The Same Folders ( values & values-swyoudp ) .
stage_grid_columns : 5
max_stage_items : 4
stage_cell_width : 96
stage_cell_height : 116
So, I want to make it 7 Dock Icons, What i'm gonna do ? the same as above, Here's How :
Cell Width : 96 / 5 = 19.2 | Cell Height : 116 / 5 = 23.2 | For Every Icon You need to minus it just like above, So it the values will be like this :
stage_grid_columns : 7
max_stage_items : 6
stage_cell_width : 57.6
stage_cell_height : 69.6
Smooth & Easy, All what you need is a calculator :silly:, I've minus it twice because I've added 2 icons .
Notes :
For Dock Icons, You Have To Modify " Stage Icon Size " & " Stage Text Size " .
For AppTray & Desktop, You Have To Modify " Text Size " for Apptray & Desktop .
Hope these tips help you out with Modding Xperia Launcher .
Desktop Cells / Grid Modding is the same as Apptray .
Don't forget, you need to modify 2 folders, Default " values " and " values-swyourdp " .
Happy Modding!
Nice guide bro ^^
Yes nice guide. Maybe you know how to make colour background in app drawer.
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
Thanks bro
omikron20 said:
Yes nice guide. Maybe you know how to make colour background in app drawer.
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
Click to expand...
Click to collapse
Check colors / drawables xml files in "values" folder.
abo hani said:
Check colors / drawables xml files in "values" folder.
Click to expand...
Click to collapse
OK thank. But wat I must search in this xmls you know ?
omikron20 said:
OK thank. But wat I must search in this xmls you know ?
Click to expand...
Click to collapse
"background"
"apptray"
"bg"
abo hani said:
"background"
"apptray"
"bg"
Click to expand...
Click to collapse
Nothing work. But thanks for help.
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
omikron20 said:
Nothing work. But thanks for help.
Wysłane z mojego Nexus 5 przy użyciu Tapatalka
Click to expand...
Click to collapse
It's in colors.xml " apptray background '
Sent from my C6903 using Tapatalk
abo hani said:
It's in colors.xml " apptray background '
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
I don't have it. It's my colors.xml below. I change "background_dim_color" but is change background everywhere, not only under apps.
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="abc_input_method_navigation_guard">@android:color/black</color>
<color name="abc_search_url_text_normal">#ff7fa87f</color>
<color name="abc_search_url_text_pressed">@android:color/black</color>
<color name="abc_search_url_text_selected">@android:color/black</color>
<color name="accent_material_dark">@color/material_deep_teal_200</color>
<color name="accent_material_light">@color/material_deep_teal_500</color>
<color name="actionbar_pressed_color">#33ffffff</color>
<color name="apptray_drawer_badge_text_color">@null</color>
<color name="apptray_drawer_text_color">@null</color>
<color name="apptray_drop_zone_text_color">#ffffffff</color>
<color name="apptray_drop_zone_text_shadow_color">#ff000000</color>
<color name="apptray_search_activity_hint_text_color">#50ffffff</color>
<color name="apptray_search_activity_suggestion_primary_color">#bb000000</color>
<color name="apptray_search_activity_text_color">#ffffffff</color>
<color name="apptray_text_color">@color/desktop_text_color</color>
<color name="apptray_text_shadow_color">@color/desktop_text_shadow_color</color>
<color name="background_dim_color">#99000000</color>
<color name="background_floating_material_dark">@color/material_grey_800</color>
<color name="background_floating_material_light">@android:color/white</color>
<color name="background_material_dark">@color/material_grey_850</color>
<color name="background_material_light">@color/material_grey_50</color>
<color name="bright_foreground_disabled_material_dark">#80ffffff</color>
<color name="bright_foreground_disabled_material_light">#80000000</color>
<color name="bright_foreground_inverse_material_dark">@color/bright_foreground_material_light</color>
<color name="bright_foreground_inverse_material_light">@color/bright_foreground_material_dark</color>
<color name="bright_foreground_material_dark">@android:color/white</color>
<color name="bright_foreground_material_light">@android:color/black</color>
<color name="button_material_dark">#ff5a595b</color>
<color name="button_material_light">#ffd6d7d7</color>
<color name="common_action_bar_splitter">#ffd2d2d2</color>
<color name="common_signin_btn_dark_text_default">@android:color/white</color>
<color name="common_signin_btn_dark_text_disabled">#ffaaaaaa</color>
<color name="common_signin_btn_dark_text_focused">@android:color/white</color>
<color name="common_signin_btn_dark_text_pressed">@android:color/white</color>
<color name="common_signin_btn_default_background">#ffdd4b39</color>
<color name="common_signin_btn_light_text_default">#ff737373</color>
<color name="common_signin_btn_light_text_disabled">#ffaaaaaa</color>
<color name="common_signin_btn_light_text_focused">#ff737373</color>
<color name="common_signin_btn_light_text_pressed">@android:color/white</color>
<color name="cui_grid_divider_color">#30ffffff</color>
<color name="delete_dropzone_text_color">#ffffffff</color>
<color name="delete_dropzone_text_shadow_color">#ff000000</color>
<color name="design_fab_shadow_end_color">@android:color/transparent</color>
<color name="design_fab_shadow_mid_color">#14000000</color>
<color name="design_fab_shadow_start_color">#44000000</color>
<color name="design_fab_stroke_end_inner_color">#0a000000</color>
<color name="design_fab_stroke_end_outer_color">#0f000000</color>
<color name="design_fab_stroke_top_inner_color">#1affffff</color>
<color name="design_fab_stroke_top_outer_color">#2effffff</color>
<color name="design_snackbar_background_color">#ff323232</color>
<color name="design_textinput_error_color">#ffdd2c00</color>
<color name="desktop_text_color">#ff000000</color>
<color name="desktop_text_shadow_color">#b0000000</color>
<color name="desktop_tip_info_text_color">#ff000000</color>
<color name="desktop_tip_title_text_color">#ff40a7ff</color>
<color name="dim_foreground_disabled_material_dark">#80bebebe</color>
<color name="dim_foreground_disabled_material_light">#80323232</color>
<color name="dim_foreground_material_dark">#ffbebebe</color>
<color name="dim_foreground_material_light">#ff323232</color>
<color name="drop_hint_color">#ffffffff</color>
<color name="foreground_material_dark">@android:color/white</color>
<color name="foreground_material_light">@android:color/black</color>
<color name="highlighted_text_material_dark">#6680cbc4</color>
<color name="highlighted_text_material_light">#66009688</color>
<color name="hint_foreground_material_dark">@color/bright_foreground_disabled_material_dark</color>
<color name="hint_foreground_material_light">@color/bright_foreground_disabled_material_light</color>
<color name="home_badge_text_color">#ffa86600</color>
<color name="material_blue_grey_800">#ff37474f</color>
<color name="material_blue_grey_900">#ff263238</color>
<color name="material_blue_grey_950">#ff21272b</color>
<color name="material_deep_teal_200">#ff80cbc4</color>
<color name="material_deep_teal_500">#ff009688</color>
<color name="material_grey_100">#fff5f5f5</color>
<color name="material_grey_300">#ffe0e0e0</color>
<color name="material_grey_50">#fffafafa</color>
<color name="material_grey_600">#ff757575</color>
<color name="material_grey_800">#ff424242</color>
<color name="material_grey_850">#ff303030</color>
<color name="material_grey_900">#ff212121</color>
<color name="open_folder_header_text_color">#ff4c4c4c</color>
<color name="open_folder_item_text_color">#ff4c4c4c</color>
<color name="open_folder_item_text_color_old">#ffffffff</color>
<color name="primary_dark_material_dark">@android:color/black</color>
<color name="primary_dark_material_light">@color/material_grey_600</color>
<color name="primary_material_dark">@color/material_grey_900</color>
<color name="primary_material_light">@color/material_grey_100</color>
<color name="primary_text_default_material_dark">#ffffffff</color>
<color name="primary_text_default_material_light">#de000000</color>
<color name="primary_text_disabled_material_dark">#4dffffff</color>
<color name="primary_text_disabled_material_light">#39000000</color>
<color name="ripple_material_dark">#42ffffff</color>
<color name="ripple_material_light">#1f000000</color>
<color name="search_activity_background_dim_color">@color/background_dim_color</color>
<color name="search_activity_hint_text_color">#50ffffff</color>
<color name="search_activity_text_color">#ffffffff</color>
<color name="search_suggestion_item_text_color">#ffffffff</color>
<color name="search_suggestion_item_text_shadow_color">#b0000000</color>
<color name="secondary_text_default_material_dark">#b3ffffff</color>
<color name="secondary_text_default_material_light">#8a000000</color>
<color name="secondary_text_disabled_material_dark">#36ffffff</color>
<color name="secondary_text_disabled_material_light">#24000000</color>
<color name="stage_text_color">@color/desktop_text_color</color>
<color name="stage_text_shadow_color">@color/desktop_text_shadow_color</color>
<color name="switch_thumb_disabled_material_dark">#ff616161</color>
<color name="switch_thumb_disabled_material_light">#ffbdbdbd</color>
<color name="switch_thumb_normal_material_dark">#ffbdbdbd</color>
<color name="switch_thumb_normal_material_light">#fff1f1f1</color>
<color name="tutorial_background_color">#ca0d0d0d</color>
<item type="color" name="common_signin_btn_text_dark">false</item>
<item type="color" name="common_signin_btn_text_light">false</item>
</resources>
omikron20 said:
I don't have it. It's my colors.xml below. I change "background_dim_color" but is change background everywhere, not only under apps.
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="abc_input_method_navigation_guard">@android:color/black</color>
<color name="abc_search_url_text_normal">#ff7fa87f</color>
<color name="abc_search_url_text_pressed">@android:color/black</color>
<color name="abc_search_url_text_selected">@android:color/black</color>
<color name="accent_material_dark">@color/material_deep_teal_200</color>
<color name="accent_material_light">@color/material_deep_teal_500</color>
<color name="actionbar_pressed_color">#33ffffff</color>
<color name="apptray_drawer_badge_text_color">@null</color>
<color name="apptray_drawer_text_color">@null</color>
<color name="apptray_drop_zone_text_color">#ffffffff</color>
<color name="apptray_drop_zone_text_shadow_color">#ff000000</color>
<color name="apptray_search_activity_hint_text_color">#50ffffff</color>
<color name="apptray_search_activity_suggestion_primary_color">#bb000000</color>
<color name="apptray_search_activity_text_color">#ffffffff</color>
<color name="apptray_text_color">@color/desktop_text_color</color>
<color name="apptray_text_shadow_color">@color/desktop_text_shadow_color</color>
<color name="background_dim_color">#99000000</color>
<color name="background_floating_material_dark">@color/material_grey_800</color>
<color name="background_floating_material_light">@android:color/white</color>
<color name="background_material_dark">@color/material_grey_850</color>
<color name="background_material_light">@color/material_grey_50</color>
<color name="bright_foreground_disabled_material_dark">#80ffffff</color>
<color name="bright_foreground_disabled_material_light">#80000000</color>
<color name="bright_foreground_inverse_material_dark">@color/bright_foreground_material_light</color>
<color name="bright_foreground_inverse_material_light">@color/bright_foreground_material_dark</color>
<color name="bright_foreground_material_dark">@android:color/white</color>
<color name="bright_foreground_material_light">@android:color/black</color>
<color name="button_material_dark">#ff5a595b</color>
<color name="button_material_light">#ffd6d7d7</color>
<color name="common_action_bar_splitter">#ffd2d2d2</color>
<color name="common_signin_btn_dark_text_default">@android:color/white</color>
<color name="common_signin_btn_dark_text_disabled">#ffaaaaaa</color>
<color name="common_signin_btn_dark_text_focused">@android:color/white</color>
<color name="common_signin_btn_dark_text_pressed">@android:color/white</color>
<color name="common_signin_btn_default_background">#ffdd4b39</color>
<color name="common_signin_btn_light_text_default">#ff737373</color>
<color name="common_signin_btn_light_text_disabled">#ffaaaaaa</color>
<color name="common_signin_btn_light_text_focused">#ff737373</color>
<color name="common_signin_btn_light_text_pressed">@android:color/white</color>
<color name="cui_grid_divider_color">#30ffffff</color>
<color name="delete_dropzone_text_color">#ffffffff</color>
<color name="delete_dropzone_text_shadow_color">#ff000000</color>
<color name="design_fab_shadow_end_color">@android:color/transparent</color>
<color name="design_fab_shadow_mid_color">#14000000</color>
<color name="design_fab_shadow_start_color">#44000000</color>
<color name="design_fab_stroke_end_inner_color">#0a000000</color>
<color name="design_fab_stroke_end_outer_color">#0f000000</color>
<color name="design_fab_stroke_top_inner_color">#1affffff</color>
<color name="design_fab_stroke_top_outer_color">#2effffff</color>
<color name="design_snackbar_background_color">#ff323232</color>
<color name="design_textinput_error_color">#ffdd2c00</color>
<color name="desktop_text_color">#ff000000</color>
<color name="desktop_text_shadow_color">#b0000000</color>
<color name="desktop_tip_info_text_color">#ff000000</color>
<color name="desktop_tip_title_text_color">#ff40a7ff</color>
<color name="dim_foreground_disabled_material_dark">#80bebebe</color>
<color name="dim_foreground_disabled_material_light">#80323232</color>
<color name="dim_foreground_material_dark">#ffbebebe</color>
<color name="dim_foreground_material_light">#ff323232</color>
<color name="drop_hint_color">#ffffffff</color>
<color name="foreground_material_dark">@android:color/white</color>
<color name="foreground_material_light">@android:color/black</color>
<color name="highlighted_text_material_dark">#6680cbc4</color>
<color name="highlighted_text_material_light">#66009688</color>
<color name="hint_foreground_material_dark">@color/bright_foreground_disabled_material_dark</color>
<color name="hint_foreground_material_light">@color/bright_foreground_disabled_material_light</color>
<color name="home_badge_text_color">#ffa86600</color>
<color name="material_blue_grey_800">#ff37474f</color>
<color name="material_blue_grey_900">#ff263238</color>
<color name="material_blue_grey_950">#ff21272b</color>
<color name="material_deep_teal_200">#ff80cbc4</color>
<color name="material_deep_teal_500">#ff009688</color>
<color name="material_grey_100">#fff5f5f5</color>
<color name="material_grey_300">#ffe0e0e0</color>
<color name="material_grey_50">#fffafafa</color>
<color name="material_grey_600">#ff757575</color>
<color name="material_grey_800">#ff424242</color>
<color name="material_grey_850">#ff303030</color>
<color name="material_grey_900">#ff212121</color>
<color name="open_folder_header_text_color">#ff4c4c4c</color>
<color name="open_folder_item_text_color">#ff4c4c4c</color>
<color name="open_folder_item_text_color_old">#ffffffff</color>
<color name="primary_dark_material_dark">@android:color/black</color>
<color name="primary_dark_material_light">@color/material_grey_600</color>
<color name="primary_material_dark">@color/material_grey_900</color>
<color name="primary_material_light">@color/material_grey_100</color>
<color name="primary_text_default_material_dark">#ffffffff</color>
<color name="primary_text_default_material_light">#de000000</color>
<color name="primary_text_disabled_material_dark">#4dffffff</color>
<color name="primary_text_disabled_material_light">#39000000</color>
<color name="ripple_material_dark">#42ffffff</color>
<color name="ripple_material_light">#1f000000</color>
<color name="search_activity_background_dim_color">@color/background_dim_color</color>
<color name="search_activity_hint_text_color">#50ffffff</color>
<color name="search_activity_text_color">#ffffffff</color>
<color name="search_suggestion_item_text_color">#ffffffff</color>
<color name="search_suggestion_item_text_shadow_color">#b0000000</color>
<color name="secondary_text_default_material_dark">#b3ffffff</color>
<color name="secondary_text_default_material_light">#8a000000</color>
<color name="secondary_text_disabled_material_dark">#36ffffff</color>
<color name="secondary_text_disabled_material_light">#24000000</color>
<color name="stage_text_color">@color/desktop_text_color</color>
<color name="stage_text_shadow_color">@color/desktop_text_shadow_color</color>
<color name="switch_thumb_disabled_material_dark">#ff616161</color>
<color name="switch_thumb_disabled_material_light">#ffbdbdbd</color>
<color name="switch_thumb_normal_material_dark">#ffbdbdbd</color>
<color name="switch_thumb_normal_material_light">#fff1f1f1</color>
<color name="tutorial_background_color">#ca0d0d0d</color>
<item type="color" name="common_signin_btn_text_dark">false</item>
<item type="color" name="common_signin_btn_text_light">false</item>
</resources>
Click to expand...
Click to collapse
Here's Stock Old Home - Colors.xml :
<color name="apptray_background_color">#99000000</color>
New Z5 Home - You need to dig in Styles.xml file in values & values-v21 folders, and look for HomeTheme or something related to it, and you will find " android:background " with the value beside it.

Categories

Resources