Editing the 6.1 .xml file

From AllShadow.com Wiki

How to use this

  • The following is a break-down of the xml file for the Erofich ROM. It can be found in the "Application Data/ Home" folder and is named HTCSlidingPanelIconbar.home.xml
    • In other 6.1 ROMS, the xml may be named slidingpanaelmedia.home.xml
  • Whichever 6.1 ROM you have, find the XML file you want to edit, copy it to your computer and open it with a text editing program (make sure you can edit it by right-clicking and un-checking read only.)
  • Before changing anything please make a back-up that you can always go back to. Do NOT copy the below as the spacing of the sections has been changed.
  • Once you have made the changes you have wanted, replace your new xml in the "Application Data/ Home" folder and reboot your phone (turn off/on.)
  • Please add/ change if you know more!

Breakdown of the .xml

  • As stated above, this is the HTCSlidingPanelIconbar.home.xml (of the Erofich ROM) found in the application data/ home folder on your phone.
  • The explanations are in red italics
<?xml version="1.0"?>
<home>


The following is the name of the theme; feel free to change the "HTC Corporation" to something that better fits your theme!

<author>HTC Corporation</author>


These are the names for the layout in all the different languages. Each 'lang="0x0409" number stands for a different language.

<contacturl>http://www.HTC.com/</contacturl>
<title lang="0x0409">HTC Home Iconbar</title>
<title lang="0x0403">HTC Home Iconbar</title>
<title lang="0x0405">HTC Home Iconbar</title>
<title lang="0x0406">HTC Home Iconbar</title>
<title lang="0x0407">HTC Home Iconbar</title>
<title lang="0x0408">HTC Home Iconbar</title>
<title lang="0x0410">HTC Home Iconbar</title>
<title lang="0x0411">HTC Home Iconbar</title>
<title lang="0x0413">HTC Home Iconbar</title>
<title lang="0x0414">HTC Home Iconbar</title>
<title lang="0x0415">HTC Home Iconbar</title>
<title lang="0x0416">HTC Home Iconbar</title>
<title lang="0x0418">HTC Home Iconbar</title>
<title lang="0x0419">HTC Home Iconbar</title>
<title lang="0x0809">HTC Home Iconbar</title>
<title lang="0x0816">HTC Home Iconbar</title>
<title lang="0x040b">HTC Home Iconbar</title>
<title lang="0x040c">HTC Home Iconbar</title>
<title lang="0x040e">HTC Home Iconbar</title>
<title lang="0x041b">HTC Home Iconbar</title>
<title lang="0x041d">HTC Home Iconbar</title>
<title lang="0x041f">HTC Home Iconbar</title>
<title lang="0x0c0a">HTC Home Iconbar</title>


The following has the font that you see (here it is Segoe Condensed). If you want to change fonts, see the Changing your Font guide (note: it was written for WM 6/ neo, but it should apply)

<version>1.0</version>
<default target-width="240" target-height="320" font-face="Segoe Condensed" font-size="19" 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="0">
<format state="selected" fgcolor="COLOR_HOMEHIGHLIGHTTEXT"/>
</default>


The following contains the background image you see on the home page. It is entitled "ODSI_bg_240X320.png" and is located in the /windows folder. To change your background image you have 2 options. First one is to change the name below to that of your selected image or the second option is to rename your new image to "ODSI_bg_240X320.png" without the quotes and copy over the original file in the /windows folder. For more options, see the 6.1 Graphics guide.

<background bgimage="\windows\ODSI_bg_240X320.png" bgimage-rotated="\windows\ODSI_bg_320X240.png" valign="bottom" bgcolor="COLOR_TRAYGRADLEFT" />


The following is the coloring of the start bars, etc. To understand it and figure out how to change it, please see this guide made for neo; the same rules apply for 6.1!!'

<scheme>
<color name="COLOR_TRAYGRADLEFT" value="#000000"/>
<color name="COLOR_TRAYGRADRIGHT" value="#000000"/>
<color name="COLOR_HOMEHIGHLIGHT" value="#7D7D7D"/>
<color name="COLOR_HOMERULE" value="#000000"/>
<color name="COLOR_HOMETEXT" value="#FFFFFF"/>
<color name="COLOR_HOMEHIGHLIGHTTEXT" value="#000000"/>
</scheme>


This is the iconbar plugin. To get the the colored one (the Rinku Iconbar) visit this guide and to get the dockstation working (get WMP and weather working in your iconbar), check out this guide or visit rinku's original blog.

<plugin clsid="{837FC251-FE69-43ad-84E0-EBCEDEBA0884}" name="iconbar" height="27">
<iconbar bgcolor="transparent" fgcolor="COLOR_HOMETEXT"/>
</plugin>
<plugin clsid="{E9267CAB-02EE-4f37-8216-6BF6A8FF5A71}" name="HTC" height="266">


This is the order that of the plugins on your home screen. You can re-order them, just copy and paste in different order, or if you don't like one on your front page, just delete it here (it doesn't delete the program, just its presence on the home page.)

<Plugins Order="CClock;CAppointments;CHome;CWindowsLive;HTCWeather;HTCFavorite;CMusic;CMyPhotos;Settings" CPRFileName="HTCSlidingPanel" SMSMMSOverride="false" EmailOverride="false" >


The following are plugins that are specific to unique programs that are running on the front page. You can re-arrange and delete them from the home page if you choose.

<CustomPlugin Name="HTCWeather" LocName="HTCWeather" GUID="{F0A1B246-6E64-40cd-8E15-347D29FF6F18}">
<DataSource>SOFTWARE\HTC\HTCHome\SLIDINGPANEL\HTCWeather</DataSource>
<Layout>HTCWeather</Layout>
<IconPaths>2301;2301;2301</IconPaths>
</CustomPlugin>


<CustomPlugin Name="HTCSMSMMS" LocName="HTCSMSMMS" GUID="{F0A1B246-6E64-40cd-8E15-347D29FF6F18}">
<DataSource>SOFTWARE\HTC\HTCHome\SLIDINGPANEL\HTCSMSMMS</DataSource>
<Layout>HTCSMSMMS</Layout>
<IconPaths>2301;2301;2301</IconPaths>
</CustomPlugin>


<CustomPlugin Name="HTCEMAIL" LocName="HTCEMAIL" GUID="{F0A1B246-6E64-40cd-8E15-347D29FF6F18}">
<DataSource>SOFTWARE\HTC\HTCHome\SLIDINGPANEL\HTCEMAIL</DataSource>
<Layout>HTCEMAIL</Layout>
<IconPaths>2301;2301;2301</IconPaths>
</CustomPlugin>


<CustomPlugin Name="HTCMUSIC" LocName="HTCMUSIC" GUID="{F0A1B246-6E64-40cd-8E15-347D29FF6F18}">
<DataSource>SOFTWARE\HTC\HTCHome\SLIDINGPANEL\HTCMUSIC</DataSource>
<Layout>HTCMUSIC</Layout>
<IconPaths>2301;2301;2301</IconPaths>
</CustomPlugin>


<CustomPlugin Name="HTCFavorite" LocName="HTCFavorite" GUID="{F0A1B246-6E64-40cd-8E15-347D29FF6F18}">
<DataSource>SOFTWARE\HTC\HTCHome\SLIDINGPANEL\HTCFavorite</DataSource>
<Layout>HTCPIEFAVORITE</Layout>
<IconPaths>2301;2301;2301</IconPaths>
</CustomPlugin>
</Plugins>
</plugin>


</home>