[Windows Mobile Apps and Games] JMLToday_Team:
<<< How to change Positions of Icons >>>
​

!!! UNDER CONSTRUCTION !!!​

How to change your Icons you have learned already so: How to change their positions?

For this you have to know something about default.plg. This file consists the parameters of every item which is shown on your screen.

Basic Structure:

[SIZE="3"]
<?xml version="1.0" encoding="utf-8"?>
<plugin>
<name>JMLToday</name>
<position>0</position>
<layouts>
<layout screenWidth="240" screenHeight="320">
<Layer ID="JMLTodayExpanded" nil="False" Width="240" Height="82" Clip="False">
<Keypad ID="Buttons" Width="240" Height="170" Clip="False">
[...]
</Keypad>
<Layer ID="Page" Clip="False">
[...]
</Layer>
</Layer>
<Layer ID="JMLTodayCondensed" Visible="False" Width="240" Height="34">
<Layer ID="Page">
[...]
</Layer>
</Layer>
</layout>
<layout screenWidth="480" screenHeight="640">
<Layer ID="JMLTodayExpanded" nil="False" Width="480" Height="164" Clip="False">
<Keypad ID="Buttons" Width="480" Height="340" Clip="False">
[...]
</Keypad>
<Layer ID="Page" Clip="False">
[...]
</Layer>
</Layer>
<Layer ID="JMLTodayCondensed" Visible="False" Width="480" Height="68">
<Layer ID="Page">
[...]
</Layer>
</Layer>
</layout>
[... AND SO ON FOR ALL RESOLUTIONS YOUR SKIN SHOULD SUPPORT ...]
</layout>
</layouts>
</plugin>
[/SIZE]

Explanation of some Basics:

[SIZE="3"]
<?xml version="1.0" encoding="utf-8"?>
<plugin>
<name>JMLToday</name>
<position>0</position>
<layouts>
[...]
</layouts>
</plugin>
[/SIZE]

- This is the header Text which is essential for making Titanium - don't change anything!

[SIZE="3"]
<layout screenWidth="240" screenHeight="320">
<Layer ID="JMLTodayExpanded" nil="False" Width="240" Height="82" Clip="False">
<Keypad ID="Buttons" Width="240" Height="170" Clip="False">
[...]
</Keypad>
<Layer ID="Page" Clip="False">
[...]
</Layer>
</Layer>
<Layer ID="JMLTodayCondensed" Visible="False" Width="240" Height="34">
<Layer ID="Page">
[...]
</Layer>
</Layer>
</layout>
[/SIZE]

You don't have to know all of this .plg. Only concentrate on the area <Layer ID="Page" Clip="False"> of your Resolution

Don't mess up with starting and closing characters (<Layer> & </Layer>) - If you forget one (or accidentally deleted one) your skin won't work!

You will recognize that, if your Skin is not properly installed, or if you cannot click something or your right Softkey isn't working...

So now let's rearrange some Items!

Open your .plg under "\JMLToday\skins\default\default.plg" (on PC or PPC as you want and with any Editor you prefer) and scroll to your resolution you would like to change your Skin for.

In your <Layer ID="Page" Clip="False"> you will find two different part of Items: <Image/> & <Text/>

Possible Attributes for <image>:

Always use this line for displaying an Image:

[SIZE="3"]
<Image [...] />

[/SIZE]

Possible Attributes for <text>:

Always use this three lines for displaying a text:

[SIZE="3"]
<Text [...] >
<TextStage [...] />
</Text>
[/SIZE]

For: <TextStage/>

- TextOffsetType = "TextOffsetNone" is only Text - If you want to have an Offset (Shadow or something) read *1

- Color = Enter Hex Code for your Textcolor ([E] Color="#0064FF")

*1:

Add the following line before <TextStage TextOffsetType="TextOffsetNone" [...] />:

[SIZE="3"]
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="0" BlurFactor="0" Alpha="1.0"/>

[/SIZE]

TextOffsetDropBottomRight adds a Shadow with black Color and no Blur or additional Offset (full visible) to your text.

Experiment a little bit, to get satisfied!

With this knowledge you can adjust all those Items you want...

Save your new .plg (copy it back to your device in "\JMLToday\skins\default") and reinstall the default Skin.

Of course you have to experiment a lot to get this Items rearranged correctly and it can cost you alot of time - don't panic ;)