SMS Force Lowercase/Disable Automatic Capitializing First Letter of Setence? - Touch Diamond, MDA Compact IV General

This is rather pointless but my undiagnosed OCD really doesn't like how I can't change the SMS settings so that the first letter of each sentence isn't automatically uppercase.
Any way to fix this?
Thanks.

smb20 said:
This is rather pointless but my undiagnosed OCD really doesn't like how I can't change the SMS settings so that the first letter of each sentence isn't automatically uppercase.
Any way to fix this?
Thanks.
Click to expand...
Click to collapse
Go to the windows folder and find the file thread_sms.htm. Copy it over to a pc and then open it in notepad. It will look like this:
<html XMLNS:Inbox>
<head>
<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90" />
<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
<link rel="stylesheet" href="file://\windows\thread_style.css" type="text/css" />
</head>
<body>
<Inbox:ThreadIFrame>
<Inbox:content id="THREADIFRAME" links />
</Inbox:ThreadIFrame>
<div id="threadbottom">
<hr class="divider" size="1" />
<Inbox:ComposeBodyCount>
<Inbox:content ID="COMPOSEBODYCOUNT" format="%1!d!/%2!d!%4 (%3!d! messages)" title />
</Inbox:ComposeBodyCount>
<Inbox:ComposeSubject class="sms">
<Inbox:content id="COMPOSESUBJECT" width="98%" height=50 spell focus links noclearonbackpresshold limit=0 autocap inserttab scroll />
</Inbox:ComposeSubject>
</div>
</body>
</html>
I highlighted and underlined the word you need to delete, autocap. Then save it with notepad and then copy it back to the windows folder using total commander or another file explorer (except for the WM one).
dwizzy130

you're amazing.

smb20 said:
you're amazing.
Click to expand...
Click to collapse
Lol, just doing my job.
dwizzy130

Related

how do disable character count on sms message titlebar?

i think this is the reason my text messaging has been very slow at responding. i'm running an htc based 6.1 rom. can anyone point me to some registry settings or a .cab?
or if there are any other ways i could speed up my text input, please let me know! (i have already disabled auto correct, word suggestion, cleartype and xt9)
can anyone help me? or point me to other ways to speed up texting?
This seems to have helped me, but my Kaiser still isn't as responsive as the Touch Pro.
http://forum.xda-developers.com/showthread.php?t=436795
I was looking for this exact solution since I don't have any lag in portrait mode and there is no counter. Is this possible?
This here
This here did the trick, and it really does help with the typing lag. Copy the 2 files in the zip to the windows directory, backup the originals if you feel that you might want to revert back. Be sure to use Total Commander or equivalent.
Here are the changes for compose_sms.htm :
(added the parts in red)
Code:
<html XMLNS:Inbox>
<head>
<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90"/>
<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
<link rel="stylesheet" href="file://\windows\compose_style.css" type="text/css" />
</head>
<body>
<a name="inbox:top"></a>
<table class="header">
<tr>
<td class="header">From:</td>
<td class="content">
<Inbox:ComposeFrom>
<Inbox:content id="COMPOSEFROM" />
</Inbox:ComposeFrom>
</td>
</tr>
<tr>
<td class="header"><a class="header" href="Inbox:COMPOSETO 0">To:</a></span>
<td class="content">
<Inbox:ComposeTo>
<Inbox:content id="COMPOSETO" nocr focus phone count />
</Inbox:ComposeTo>
</td>
</tr>
</table>
<div class="divider" />
<Inbox:ComposeSubject class="sms">
<Inbox:Content id="COMPOSESUBJECT" smartheight=50 limit=0 replyfocus count links spell autocap inserttab />
</Inbox:ComposeSubject>
[COLOR="Red"]<!--[/COLOR] <div class="SMSLine" />
<Inbox:ComposeBodyCount>
<Inbox:Content id="COMPOSEBODYCOUNT" format="%1!d!/%2!d!%4 (%3!d! messages)" />
</Inbox:ComposeBodyCount>
[COLOR="Red"]-->[/COLOR]
<Inbox:Padding>
<a href="Inbox:ComposeSubject setfocus">
<Inbox:content id="PADDING" UseComposeSubjectHeight />
</a>
</Inbox:Padding>
</body>
</html>
Changes to thread_sms.htm :
(deleted the part in red)
Code:
<html XMLNS:Inbox>
<head>
<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90" />
<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
<link rel="stylesheet" href="file://\windows\thread_style.css" type="text/css" />
</head>
<body>
<Inbox:ThreadIFrame>
<Inbox:content id="THREADIFRAME" links />
</Inbox:ThreadIFrame>
<div id="threadbottom">
<hr class="divider" size="1" />
<Inbox:ComposeBodyCount>
<Inbox:content ID="COMPOSEBODYCOUNT" format="%1!d!/%2!d!%4 (%3!d! messages)" title />
</Inbox:ComposeBodyCount>
<Inbox:ComposeSubject class="sms">
<Inbox:content id="COMPOSESUBJECT" width="98%" height=35 spell focus [COLOR="Red"]count[/COLOR] links noclearonbackpresshold limit=0 autocap inserttab scroll />
</Inbox:ComposeSubject>
</div>
</body>
</html>
This is based off of the info provided to mod an HTC Touch Pro by Bradyonly on ppcgeaks:
http://forum.ppcgeeks.com/showthread.php?t=73005
What I posted was the code from the files from my Tilt's AthineOS V2 Lite ROM.
Tags: Kaiser keyboard fix TILT Tytn II lag laggy character disable typing sms counter Why is my Kaiser a big POS when it comes to text messaging?
zephxiii said:
This here did the trick, and it really does help with the typing lag. Copy the 2 files in the zip to the windows directory, backup the originals if you feel that you might want to revert back. Be sure to use Total Commander or equivalent.
Here are the changes for compose_sms.htm :
(added the parts in red)
Code:
<html XMLNS:Inbox>
<head>
<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90"/>
<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
<link rel="stylesheet" href="file://\windows\compose_style.css" type="text/css" />
</head>
<body>
<a name="inbox:top"></a>
<table class="header">
<tr>
<td class="header">From:</td>
<td class="content">
<Inbox:ComposeFrom>
<Inbox:content id="COMPOSEFROM" />
</Inbox:ComposeFrom>
</td>
</tr>
<tr>
<td class="header"><a class="header" href="Inbox:COMPOSETO 0">To:</a></span>
<td class="content">
<Inbox:ComposeTo>
<Inbox:content id="COMPOSETO" nocr focus phone count />
</Inbox:ComposeTo>
</td>
</tr>
</table>
<div class="divider" />
<Inbox:ComposeSubject class="sms">
<Inbox:Content id="COMPOSESUBJECT" smartheight=50 limit=0 replyfocus count links spell autocap inserttab />
</Inbox:ComposeSubject>
[COLOR="Red"]<!--[/COLOR] <div class="SMSLine" />
<Inbox:ComposeBodyCount>
<Inbox:Content id="COMPOSEBODYCOUNT" format="%1!d!/%2!d!%4 (%3!d! messages)" />
</Inbox:ComposeBodyCount>
[COLOR="Red"]-->[/COLOR]
<Inbox:Padding>
<a href="Inbox:ComposeSubject setfocus">
<Inbox:content id="PADDING" UseComposeSubjectHeight />
</a>
</Inbox:Padding>
</body>
</html>
Changes to thread_sms.htm :
(deleted the part in red)
Code:
<html XMLNS:Inbox>
<head>
<object id="HTMLFormFactory" CLASSID="clsid:29d48cf7-ed6a-4a9d-a17a-ae9115c07a90" />
<?IMPORT NAMESPACE="Inbox" IMPLEMENTATION="#HTMLFormFactory" />
<link rel="stylesheet" href="file://\windows\thread_style.css" type="text/css" />
</head>
<body>
<Inbox:ThreadIFrame>
<Inbox:content id="THREADIFRAME" links />
</Inbox:ThreadIFrame>
<div id="threadbottom">
<hr class="divider" size="1" />
<Inbox:ComposeBodyCount>
<Inbox:content ID="COMPOSEBODYCOUNT" format="%1!d!/%2!d!%4 (%3!d! messages)" title />
</Inbox:ComposeBodyCount>
<Inbox:ComposeSubject class="sms">
<Inbox:content id="COMPOSESUBJECT" width="98%" height=35 spell focus [COLOR="Red"]count[/COLOR] links noclearonbackpresshold limit=0 autocap inserttab scroll />
</Inbox:ComposeSubject>
</div>
</body>
</html>
This is based off of the info provided to mod an HTC Touch Pro by Bradyonly on ppcgeaks:
http://forum.ppcgeeks.com/showthread.php?t=73005
What I posted was the code from the files from my Tilt's AthineOS V2 Lite ROM.
Tags: Kaiser keyboard fix TILT Tytn II lag laggy character disable typing sms counter Why is my Kaiser a big POS when it comes to text messaging?
Click to expand...
Click to collapse
HOLY JESUS THANK YOU. i have battled this problem now for weeks, ever since i got my first tp2 for $40. thought my phone was broke, went through multiple roms, multiple fixes with the latest microsoft builds and custom roms. nothing worked.
i even hard reset the phone one last time on this fastest rom i could find, and the first thing i tried was SMS. sure enough, laggy as hell! knowing this fix was my next try, i copied the two files to my windows directory and soft reset....
texting absolutely FLYS now! just as fast as any full sized computer. finally! screw the text count, even if i did use that a lot... **** it. this is going to save me so much frustration. it also allows my auto rotate to work much better. thank you so much

how to edit XML files?

i searched but found nothing of use..
someone can please explain it to me?
thanks
The xml files within an android build have been compiled and can only be hex-edited.. what are you trying to do?
change a little thing.. i guess hax-editing its ok
how can i do that?
There actually IS a way to view the xml files as plain xml. You can then edit the xml files, but you need to resign the application again.
ok.. im listening
i do it on eclipse?
Download AXMLPrinter2.jar from here:
http://code.google.com/p/android4me/downloads/list
It works very well. I hope that you're not cheating on some game or something...
derfolo said:
Download AXMLPrinter2.jar from here:
http://code.google.com/p/android4me/downloads/list
It works very well. I hope that you're not cheating on some game or something...
Click to expand...
Click to collapse
i want to change color in progress_horizontal.xml
and its a good opportunity to learn
i download it.. where to put it?
derfolo said:
Download AXMLPrinter2.jar from here:
http://code.google.com/p/android4me/downloads/list
It works very well. I hope that you're not cheating on some game or something...
Click to expand...
Click to collapse
I didn't know about that... what a useful tool, thanks.
Guys, after reading about this a bit more, this is what you'll need to do:
1. use the AXMLPrinter2.jar to get the xml file where you can read it.
2. Find the value you are trying to change in the xml file--e.g., color = #FF0000.
3. Edit the binary version of the xml file with a hexeditor and find and replace your variable.
Unfortunately, it seems that no one has figured out how to convert the plain xml back to binary (and make it work) yet. Hope this is all helpful to you!
Barina said:
i want to change color in progress_horizontal.xml
and its a good opportunity to learn
i download it.. where to put it?
Click to expand...
Click to collapse
Put it anywhere you want. Make sure you have java installed, then type:
Code:
java -jar (your path)AXMLprinter2.jar (filename) > (filename.out)
Find the value you want to change, then use a hex editor to make the change to the original binary xml file. Colors are easy to find and change.
ive got this:
Code:
<?xml version="1.0" encoding="utf-8" ?>
- <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:id="@android:01020000">
- <shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#FF9D9E9D" android:endColor="#FF747674" android:angle="270.0" android:centerY="0.75" android:centerColor="#FF5A5D5A" />
</shape>
</item>
- <item android:id="@android:0102000F">
- <clip>
- <shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#80FFD300" android:endColor="#A0FFCB00" android:angle="270.0" android:centerY="0.75" android:centerColor="#80FFB600" />
</shape>
</clip>
</item>
- <item android:id="@android:0102000D">
- <clip>
- <shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#FFFFD300" android:endColor="#FFFFCB00" android:angle="270.0" android:centerY="0.75" android:centerColor="#FFFFB600" />
</shape>
</clip>
</item>
</layer-list>
what to do next?
is that hex editor okay?
http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm#download
edit:
the color is represented with 8 chars and in photoshop its 6 chars.... what a..?!
Barina said:
ive got this:
Code:
<?xml version="1.0" encoding="utf-8" ?>
- <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:id="@android:01020000">
- <shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#FF9D9E9D" android:endColor="#FF747674" android:angle="270.0" android:centerY="0.75" android:centerColor="#FF5A5D5A" />
</shape>
</item>
- <item android:id="@android:0102000F">
- <clip>
- <shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#80FFD300" android:endColor="#A0FFCB00" android:angle="270.0" android:centerY="0.75" android:centerColor="#80FFB600" />
</shape>
</clip>
</item>
- <item android:id="@android:0102000D">
- <clip>
- <shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#FFFFD300" android:endColor="#FFFFCB00" android:angle="270.0" android:centerY="0.75" android:centerColor="#FFFFB600" />
</shape>
</clip>
</item>
</layer-list>
what to do next?
is that hex editor okay?
http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm#download
edit:
the color is represented with 8 chars and in photoshop its 6 chars.... what a..?!
Click to expand...
Click to collapse
I Googled it and came up with this:
"..colors are 8 digit hexidecimal numbers which include the alpha value. The last 6 digits are the RGB values, much like an HTML color. The first 2 digits is the alpha value, and that is what we must set to get a translucent background."
So I am guessing the first 2 digits of the 8 are the background color/transparency, and the rest is what you want to change.
There is a thread by stericson that details this in the theme section. Go to his profile and look through the threads he created or search for
"How to edit xml"
the thread should be linked in the stickies in the theme section
ohhh i see..
okay ill search it later i just noticed that the ColorChange3 can do this..
thanks a lot!
thanks for this programme going to see if van edit a few files here and there. what do i do once i have finished editing the .out file? do i jus rename it back to .xml?

help on editing cpr file?

i m trying to modify chome to have a small icon in front of every plugin when they are condensed...
it was a success before i tried to modify the "ATContact"..
no matter i use "icon" or "iconimage" with "source" in front of "plug in label", it just doesn't show up...
here is my code...(the condensed part of ATContact)
<Layer ID="ATFavePeopleCondensed" Visible="False" Width="240" Height="34">
<Layer ID="Page">
<Image ID="Icon" Left="10" Top="5" Width="25" Height="34" ScaleStyle="Fit" />
<!-- Title or Condensed Line 1 -->
<Text ID="PluginLabel" Left="45" Top="4" Width="220" Height="34" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" InnerTextType="Resource" Text="cmhomeres.dll,1026">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
</Layer>
</Layer>
Click to expand...
Click to collapse
hope anyone can help me out...
thanks a lot
Code:
<Layer ID="[COLOR="Blue"](plugin name)[/COLOR]Condensed" Visible="False" Width="240" Height="34">
<Layer ID="Page">
<Image ID="Icon" Left="[COLOR="Red"]***[/COLOR]" Top="[COLOR="Red"]***[/COLOR]" Width="[COLOR="Red"]***[/COLOR]" Height="[COLOR="Red"]***[/COLOR]" ScaleStyle="Fit" />
HKEY_LOCAL_MACHINE\Software\Microsoft\CHome\(plugin name)\CondensedPage
"icon"="(your pic address)\*.png"
kane159 said:
Code:
<Layer ID="[COLOR="Blue"](plugin name)[/COLOR]Condensed" Visible="False" Width="240" Height="34">
<Layer ID="Page">
<Image ID="Icon" Left="[COLOR="Red"]***[/COLOR]" Top="[COLOR="Red"]***[/COLOR]" Width="[COLOR="Red"]***[/COLOR]" Height="[COLOR="Red"]***[/COLOR]" ScaleStyle="Fit" />
HKEY_LOCAL_MACHINE\Software\Microsoft\CHome\(plugin name)\CondensedPage
"icon"="(your pic address)\*.png"
Click to expand...
Click to collapse
thanks..that solves the problem..
but other than this plug in ...i can add picture in front of plug in label in the condensed page by adding this:
<Image ID="IconImage" Left="10" Top="4" Width="24" Height="24" Source="\windows\Chome-Clock.png" />
how come i can't do this to the ATContacts plug in??..
ok, in this case
Code:
<Layer ID="(plugin name)Condensed" Visible="False" Width="240" Height="34">
[COLOR="Red"]<Layer ID="Page">[/COLOR]
<Image ID="Icon" Left="***" Top="***" Width="***" Height="***" ScaleStyle="Fit" />
you need reg key and source dont work
and in this case
Code:
<Layer ID="(plugin name)Condensed" Visible="False" Width="240" Height="34">
<Image ID="Icon" Left="***" Top="***" Width="***" Height="***" ScaleStyle="Fit" />
[COLOR="Red"]<Layer ID="Page">[/COLOR]
the source works
Code:
<Layer ID="PhotosCondensed" Visible="False" Width="240" Height="34">
<Layer ID="Page">
<Image ID="IconImage" Left="10" Top="4" Width="24" Height="24" Source="\windows\Chome-Photo.png" />
<!-- Title or Condensed Line 1 -->
<Text ID="PluginLabel" Left="45" Top="4" Width="220" Height="34" FontFamily="Tahoma" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" InnerTextType="Resource" Text="cmhomeres.dll,1028">
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
</Layer>
</Layer>
but ..
this one works...
see the reg, there should be a reg names
"IconImage"="\windows\Chome-Photo.png"
in
HKEY_LOCAL_MACHINE\Software\Microsoft\CHome\Photos\CondensedPage
i edited it from original titanium...
n i checked the reg...there's no iconimage in any other condensed page reg...
that's y i m confused...
the only thing in the reg is ICONPATHS ..the data is 2451;2451..
the reg trick you taught me works fine...
but another problem came up ...
the photo page doesn't show picture anymore...
it keeps saying " no picture" no matter how many times i restarted both phone or titanium alone...
thanks for the big help..
*by the way, i m from TW as well...read ur post on mobile01 n tried with ur EZinput 2.1 QVGA too... thanks for helping again...
早說嘛= ="我英文就不太好,沒辦法解釋的很清楚
原始的那些plugin他們運行的方法比較特殊,他們大多都是從bronzeres.dll內抓出resource的圖片來用
所以,如果硬要他讀取reg值的話會有莫名奇妙的問題
,在原始的plugin的condensed page或是啟用的頁面上,加入圖片,比較安全的方法即是
在
<Layer ID="(plugin name)Condensed" Visible="False" Width="240" Height="34">
和
<Layer ID="Page">
之間加入
<Image ID="IconImage" Left="**" Top="**" Width="**" Height="**" Source="\(圖片位置)\(圖片名).png" />

[GUIDE][CAB]Tweak Themes with Startmenu_Gridscene (W)VGA

I have been playing with the Startmenu_Gridscene.cpr, and found
out that we can do much more with the cpr file.
People have been editing the titanium.cpr files, but I haven't seen
anyone, doing this with the Startmenu, except for the columns(1-6).
I made a little guide in post 2, so that u can understand, what I have
done. I have also provided 4 cpr examples.
I hope that this can be of some help, to all that are making themes,
so they don't have to edit icons. (Editing a couple of 100 icons takes some time).
And to all that wants a cleaner startmenu, with either just icons - big or small, or just text with your favorite font and/or favorite color etc
What you can do with Startmenu_Gridscene:
* Specify the exact font
* What color you want the font to have (back-and forecolor)
* The size of the text
* The size of image
* Add additional image
* Make double layer with text
* Alignment of text
...and I hope much more
The Startmenu_Gridscene.cpr, taken from NRGZ28 EnergyRom.
and used as base:
<Form Width="480" Height="640">
<StartMenu_GridScene ID="Scene">
<GridView ID="Start Menu Items List" Top="-5" Left="-10" Width="500" Height="536" Columns="4" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="TRUE">
<Image ID="Selection" Left="-5" Top="-25" Width="160" Height="160" Opacity="0.6" Source=".\StartMenu_Selection.png" />
<Layer ID="GridItem" Width="155" Height="123" OnAction ="GridItemAction">
<Layer ID="Normal">
<Image ID="Image" Left="40" Top="10" Width="70" Height="70" ScaleStyle="Fit" />
<Text ID="Text" Left="25" Top="83" Width="100" Height="75" FontFamily="Tahoma" FontSize="6" HorizontalAlignment="Center" VerticalAlignment="Top" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="2" BlurFactor="5" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
</Layer>
</Layer>
<Layer ID="NoItems">
<Text ID="Text" Width="480" Height="40" FontFamily="Tahoma" FontSize="10" ForeColor="#00FFFFFF" Wrap="False" HorizontalAlignment="Center" Trimming="Character" InnerTextType="Resource">shellres.dll,22596</Text>
</Layer>
</GridView>
</StartMenu_GridScene>
</Form>
Click to expand...
Click to collapse
Her is the Startmenu_Gridscene.cpr, I made for _LeCiel_ Sencity theme:
<Form Width="480" Height="640">
<StartMenu_GridScene ID="Scene">
<GridView ID="Start Menu Items List" Top="-5" Left="-10" Width="500" Height="536" Columns="4" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="FALSE">
<Image ID="Selection" Left="32" Top="2" Width="95" Height="95" Opacity="1" Source=".\Sencity_Sel.png" />
<Layer ID="GridItem" Width="155" Height="123" OnAction ="GridItemAction">
<Layer ID="Normal">
<Image ID="Frame" Left="40" Top="10" Width="80" Height="80" Source=".\Sencity_Fra.png" ScaleStyle="Fit" />
<Image ID="Image" Left="60" Top="30" Width="40" Height="40" Opacity="1" ScaleStyle="Fit" />
<Image ID="Frame2" Left="60" Top="29" Width="40" Height="40" Source=".\Sencity_XmasFrame2.png" ScaleStyle="Fit" />
<Text ID="Text" Left="30" Top="87" Width="100" Height="75" FontFamily="Tahoma" FontSize="6" HorizontalAlignment="Center" VerticalAlignment="Top" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="2" BlurFactor="5" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
</Layer>
</Layer>
<Layer ID="NoItems">
<Text ID="Text" Width="480" Height="40" FontFamily="Tahoma" FontSize="10" ForeColor="#00FFFFFF" Wrap="False" HorizontalAlignment="Center" Trimming="Character" InnerTextType="Resource">shellres.dll,22596</Text>
</Layer>
</GridView>
</StartMenu_GridScene>
</Form>
Click to expand...
Click to collapse
And here is the 4 Columns Dusk StartMenu_Gridscene WVGA:
<Form Width="480" Height="800">
<StartMenu_GridScene ID="Scene">
<GridView ID="Start Menu Items List" Top="-5" Left="-10" Width="500" Height="696" Columns="4" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="FALSE">
<Image ID="Selection" Left="-5" Top="-25" Width="160" Height="160" Opacity="0.6" Source=".\Dusk_Selection.png" />
<Layer ID="GridItem" Width="155" Height="123" OnAction ="GridItemAction">
<Layer ID="Normal">
<Image ID="Frame" Left="40" Top="10" Width="70" Height="70" Source=".\Dusk_Frame.png" ScaleStyle="Fit" />
<Image ID="Image" Left="50" Top="20" Width="50" Height="50" Opacity="0.8" ScaleStyle="Fit" />
<Text ID="Text" Left="25" Top="83" Width="100" Height="75" FontFamily="Tahoma" FontSize="6" HorizontalAlignment="Center" VerticalAlignment="Top" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="2" BlurFactor="5" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
</Layer>
</Layer>
<Layer ID="NoItems">
<Text ID="Text" Width="480" Height="90" FontFamily="Tahoma" FontSize="10" ForeColor="#00FFFFFF" Wrap="False" Trimming="Character" HorizontalAlignment="Center" InnerTextType="Resource" />
</Layer>
</GridView>
</StartMenu_GridScene>
</Form>
Click to expand...
Click to collapse
And here is the 1 Columns with mirror text WVGA:
<Form Width="480" Height="800">
<StartMenu_GridScene ID="Scene">
<GridView ID="Start Menu Items List" Width="480" Height="696" Columns="1" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="FALSE">
<Image ID="Selection" Left="135" Top="13" Width="330" Height="70" Source=".\" Opacity="0.6" ScaleStyle="" />
<Layer ID="GridItem" Width="480" Height="90" OnAction ="GridItemAction">
<Layer ID="Normal">
<Image ID="Image" Left="35" Top="13" Width="64" Height="64" ScaleStyle="Fit" />
<Text ID="Text" Left="139" Top="5" Width="335" Height="64" FontFamily="Zegoe UI - U" FontSize="15" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="2" BlurFactor="5" Alpha="1.0" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
<Text ID="Text" Left="139" Top="52" Width="335" Height="24" FontFamily="Zegoe UI - U_Mirr" FontSize="15" Opacity="0.2" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#FFFFFFFF" TextOffset="1" BlurFactor="5" Alpha="0.3" />
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF" />
</Text>
</Layer>
</Layer>
<Layer ID="NoItems">
<Text ID="Text" Width="480" Height="90" FontFamily="Tahoma" FontSize="10" ForeColor="#00FFFFFF" Wrap="False" Trimming="Character" HorizontalAlignment="Center" InnerTextType="Resource" />
</Layer>
</GridView>
</StartMenu_GridScene>
</Form>
Click to expand...
Click to collapse
Some Screenshoots:
{
"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"
}
#U will find the Roosticity icons <Here>,
if you want to have the same look as in the screenshot,
for the Sencity theme
#Note: These cab's can be used on any 6.5 WVGA og VGA rom.
The font with mirror text, is included in the cab.
|Guidelines|
<GridView ID="Start Menu Items List" Top="-5" Left="-10" Width="500" Height="536" Columns="4" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="TRUE">
Click to expand...
Click to collapse
In this line u can do some big changes. By reducing the <Width> to
the half (250), the icons and text will be shown on the half of the screen, but the hole screen will still remain scrollable.
If you are planing of doing this, is it recommended that u change
the <Columns> to 1.
* I have not been able to tweak the <HexagonGrid>
<Image ID="Selection" Left="-5" Top="-25" Width="160" Height="160" Opacity="0.6" Source=".\StartMenu_Selection.png" />
Click to expand...
Click to collapse
This is the first image, and being the first it will always be underneath the rest - image and text -. It's all layers.
The <Left> and <Top> u use to move the image around, if it is missplaced. <Opacity> means how transparent u want it.
<Source> .\StartMenu_Selection.png -is the name of the image and
located in windows folder.
<Layer ID="GridItem" Width="155" Height="123" OnAction ="GridItemAction">
Click to expand...
Click to collapse
If you feel like the icons doesn't fill out the screen, u have to much space on the left and right side, changing the <Width> to a larger number will move them apart.
<Image ID="Image" Left="40" Top="10" Width="70" Height="70" ScaleStyle="Fit" />
Click to expand...
Click to collapse
This is the second image and will of course go on top of the
StartMenu_Selection.png. You can place a second image either before or after this one. I have chosen to call the second image for: ImageID="Frame".
The moving u do with <Left> and <Top>. And the size of the image with <Width> and <Height>.
U can also put in <Opacity>, this will make the two images to natural float together.
<Text ID="Text" Left="25" Top="83" Width="100" Height="75" FontFamily="Tahoma" FontSize="6" HorizontalAlignment="Center" VerticalAlignment="Top" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" >
Click to expand...
Click to collapse
Moving and sizing as explain before. <FontFamily> change this, if
you just wanna have a specific font in the startmenu.
<HorizontalAlignment> and <VerticalAlignment>: if you are going to have the icons on the left side, u wanna change this to HA=Left and
VA=Center.
<Wrap> True makes text to appear on multiple lines.
<Trimming> EllipsisCharacter makes three ...if
the text gets to long.
TOOLS
If you don't have a editor that can edit .Cpr files,
then this is a great tool: Chome Visual Editor
FAQ
What if I install a new app after installing this cab, how will it look??
It will look like the rest, if there is a frame, u will get this on your new app, the same with the font.
Thanks for sharing =^-^=
Yes indeed it is the most underrated mod...Some GTX themes are based on modding the startmenu cprs as well.
Anyhow, thanks for sharing the knowledge.
Have included some guidelines in post #2, and some more
tweaks.
Very nice! Especially the NRG christmas theme
Awassenaar said:
Very nice! Especially the NRG christmas theme
Click to expand...
Click to collapse
Thank you
Here is a closer look at the background frame:
Haha nice! Hadn't noticed the reindeer before
how do you remove hex style and have basic columns
shaba10k said:
how do you remove hex style and have basic columns
Click to expand...
Click to collapse
Have not been able to do that.
I have tried to remove the hex style. By changing the
HexagonGrid="TRUE to "FALSE" was a logic beginning.
Removing it total was my second attempt, but none off
these tweaks, had any effect.
I have also tried renaming HexagonGrid to NormalGrid and just Grid,
with no success.
I even tried making two 1 columns layers by duplicating the Gridview ID,
with no success...
...
shaba10k said:
how do you remove hex style and have basic columns
GbNoR said:
Have not been able to do that.
I have tried to remove the hex style. By changing the
HexagonGrid="TRUE to "FALSE" was a logic beginning.
Removing it total was my second attempt, but none off
these tweaks, had any effect.
I have also tried renaming HexagonGrid to NormalGrid and just Grid,
with no success.
I even tried making two 1 columns layers by duplicating the Gridview ID,
with no success...
...
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Well, You could try [ROM][WWE][grzegorz10_Dusk-Ultimate_2_HD_v12.00_CHT v2.0.0] or contact with grzegorz10. He made ROMs for Touch HD and HD2 with scrollable list.
WallyGator said:
Well, You could try [ROM][WWE][grzegorz10_Dusk-Ultimate_2_HD_v12.00_CHT v2.0.0] or contact with grzegorz10. He made ROMs for Touch HD and HD2 with scrollable list.
Click to expand...
Click to collapse
Here are the StartMenu_Gridscene.cpr, taken out from this ROM:
grzegorz10_Dusk-Ultimate_2_X_HD_WM_24001_v12.10
<Form Width="800" Height="480">
<StartMenu_GridScene ID="Scene">
<GridView ID="Start Menu Items List" Top="0" Left="0" Width="800" Height="376" Columns="5" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="TRUE" PaginatedScrolling="TRUE">
<Image ID="Selection" Left="0" Top="-30" Width="192" Height="158" Source=".\StartMenu_Selection.png" />
<Layer ID="GridItem" Width="192" Height="166" OnAction ="GridItemAction">
<Layer ID="Normal">
<Image ID="Image" Left="51" Top="4" Width="90" Height="90" ScaleStyle="Fit" />
<Text ID="Text" Left="18" Top="98" Width="156" Height="68" FontFamily="Tahoma" FontSize="7" HorizontalAlignment="Center" VerticalAlignment="Top" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" />
</Layer>
</Layer>
<Layer ID="NoItems">
<Text ID="Text" Width="800" Height="40" FontFamily="Tahoma" FontSize="10" ForeColor="#00FFFFFF" Wrap="False" HorizontalAlignment="Center" Trimming="Character" InnerTextType="Resource">shellres.dll,22596</Text>
</Layer>
</GridView>
</StartMenu_GridScene>
</Form>
Click to expand...
Click to collapse
As you can see, there are nothing here that makes the Hex grid
become "normal".
I'm thinking that he is using a app, if you are claiming that he
has a startmenu with 3 columns,where the icons and the text is
vertically aligned...
GbNoR said:
Here are the StartMenu_Gridscene.cpr, taken out from this ROM:
grzegorz10_Dusk-Ultimate_2_X_HD_WM_24001_v12.10
As you can see, there are nothing here that makes the Hex grid
become "normal".
I'm thinking that he is using a app, if you are claiming that he
has a startmenu with 3 columns,where the icons and the text is
vertically aligned...
Click to expand...
Click to collapse
Sorry, my fault! Latest ROM has 3-column layout. Try one of prevoius ROM - there was linear layout.
What about this one?
It is a one column scrollable list vew, portrait, there is also a landscape one, it is taken from a cab i dowloaded some time ago, and i do not remember who did it
Code:
<?xml version="1.0"?>
<Form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Width="240" Height="400">
<StartMenu_GridScene ID="Scene">
<GridView ID="Start Menu Items List" Width="240" Height="348" Columns="1" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="FALSE">
<Image ID="Selection" Left="29" Width="45" Height="45" Source=".\StartMenu_List_Selection_Portrait.png" />
<Layer ID="GridItem" Width="240" Height="45" OnAction="GridItemAction">
<Layer ID="Normal">
<Image ID="Hexagon Overlay Image" Width="240" Height="45" ScaleStyle="Fit" Source=".\StartMenu_List_Inactive_Portrait.png" />
<Image ID="Image" Left="35" Top="7" Width="32" Height="32" ScaleStyle="Fit" />
<Text ID="Text" Left="72" Top="13" Width="200" Height="45" FontFamily="Segoe UI" FontSize="11" ForeColor="#00FFFFFF" BackColor="#00000000" Wrap="True" Trimming="EllipsisCharacter" />
</Layer>
</Layer>
<Layer ID="NoItems">
<Text ID="Text" Width="240" Height="45" FontFamily="Tahoma" FontSize="10" ForeColor="#00FFFFFF" Wrap="False" Trimming="Character" HorizontalAlignment="Center" InnerTextType="Resource" />
</Layer>
</GridView>
</StartMenu_GridScene>
</Form>
claus1953 said:
What about this one?
It is a one column scrollable list vew, portrait, there is also a landscape one, it is taken from a cab i dowloaded some time ago, and i do not remember who did it
Click to expand...
Click to collapse
Yes, this is a one panel/columns starmenu. U find a similar in the
Energy rom. And the one I upload (1 columns/halfscreen).
(Just that I didn't make it with a panel look )
I'm been working on a better looking Sencity Theme.
Uploading it now
Updating with some new stuff
whew!! reflections!!
JWMD Arminds could help changing the column easily!

[GUIDE] How resize/edit a custom theme for TWRP

How resize/edit a theme TWRP
​
First things to know :
A custom theme for TWRP ( recovery ) is a zipped folder who is named : ui.zip
This folder is composed by 2 folders :
fonts
There are in this folder all fonts resources of the theme in .dat format.
nb: the two last numbers of name is the size
images
There are in this folder any images resources.
If you are editing/resizing a theme you must be aware about size of these.
exemple : if you are trying to port a 720p theme in 1080p you'll need to multiply the size of all images by 1,5
( 100x100 => 150x150 ).
And an xml file :
ui.xml
There are in this file any codes of apparence of the theme.
This is the most complicate part of theme and is composed like this :
Code:
<?xml version="1.0"?>
The version of xml ... Don't touch this.
Code:
<recovery>
<details>
<resolution width="1080" height="1920" />
<author>Primokorn</author>
<title>XDA Origins</title>
<description>TWRP Theme </description>
<preview>preview.jpg</preview>
</details>
Well ... I think it's enough explicit.
then, between > ... < put what you want.
Code:
<resources>
<resource name="font" type="font" filename="Roboto-Regular-30" />
<resource name="mediumfont" type="font" filename=" Roboto-Regular-25" />
<resource name="filelist" type="font" filename="Roboto-Regular-30" />
<resource name="top_bar" type="image" filename="top-bar.png" />
<resource name="background" type="image" filename="background.jpg" />
<resource name="main_button" type="image" filename="menu-button" />
<resource name="main_button_highlight" type="image" filename="menu-button-highlight" />
<resource name="file_icon" type="image" filename="file" />
<resource name="folder_icon" type="image" filename="folder" />
<resource name="slideout" type="image" filename="slideout" />
<resource name="progress" type="animation" filename="indeterminate" />
<resource name="progress_empty" type="image" filename="progress_empty" />
<resource name="progress_full" type="image" filename="progress_fill" />
<resource name="checkbox_false" type="image" filename="checkbox_empty" />
<resource name="checkbox_true" type="image" filename="checkbox_checked" />
<resource name="radio_false" type="image" filename="radio_empty" />
<resource name="radio_true" type="image" filename="radio_selected" />
<resource name="medium_button" type="image" filename="medium-button" />
<resource name="sort_button" type="image" filename="sort-button" />
<resource name="medium_button_highlight" type="image" filename="medium-button-highlight" />
<resource name="sort_button_highlight" type="image" filename="sort-button-highlight" />
<resource name="minus_button" type="image" filename="minus-button" />
<resource name="plus_button" type="image" filename="plus-button" />
<resource name="home_icon" type="image" filename="home-icon" />
<resource name="back_icon" type="image" filename="back-icon" />
<resource name="slider" type="image" filename="slider" />
<resource name="slider-used" type="image" filename="slider-used" />
<resource name="slider-touch" type="image" filename="slider-touch" />
<resource name="unlock-icon" type="image" filename="unlock" />
<resource name="keyboard1" type="image" filename="keyboard1" />
<resource name="keyboard2" type="image" filename="keyboard2" />
<resource name="keyboard3" type="image" filename="keyboard3" />
<resource name="keyboard4" type="image" filename="keyboard4" />
</resources>
<resources> ... </resources> : any resources files inside.
- resource name="..." this is the resource name used in the xml script
- type="..." this the type of resource ( image, font, animation ... )
- filename=" ... " this is the name in resources folders
Code:
<variables>
<variable name="col1_x" value="10" />
<variable name="col2_x" value="565" />
<variable name="col_center_x" value="288" />
<variable name="col_center_medium_x" value="414" />
<variable name="center_x" value="540" />
<variable name="row1_y" value="255" />
<variable name="row2_y" value="615" />
<variable name="row3_y" value="975" />
<variable name="row4_y" value="1335" />
<variable name="col1_center_x" value="179" />
<variable name="col2_center_x" value="552" />
<variable name="row1_text2_y" value="310" />
<variable name="row2_text2_y" value="550" />
<variable name="row_queue_y" value="1140" />
<variable name="row1_header_y" value="180" />
<variable name="row1_text_y" value="255" />
<variable name="row2_text_y" value="330" />
<variable name="row3_text_y" value="405" />
<variable name="row4_text_y" value="480" />
<variable name="row5_text_y" value="555" />
<variable name="row6_text_y" value="630" />
<variable name="row7_text_y" value="705" />
<variable name="row8_text_y" value="780" />
<variable name="row9_text_y" value="855" />
<variable name="row10_text_y" value="930" />
<variable name="row11_text_y" value="1005" />
<variable name="row12_text_y" value="1080" />
<variable name="row13_text_y" value="1155" />
<variable name="row14_text_y" value="1230" />
<variable name="row15_text_y" value="1305" />
<variable name="row16_text_y" value="1380" />
<variable name="row17_text_y" value="1455" />
<variable name="row18_text_y" value="1530" />
<variable name="zip_status_y" value="922" />
<variable name="tz_selected_y" value="240" />
<variable name="tz_set_y" value="1500" />
<variable name="tz_current_y" value="1425" />
<variable name="col_progressbar_x" value="351" />
<variable name="row_progressbar_y" value="1650" />
<variable name="col1_medium_x" value="10" />
<variable name="col2_medium_x" value="282" />
<variable name="col3_medium_x" value="545" />
<variable name="col4_medium_x" value="817" />
<variable name="row1_medium_y" value="195" />
<variable name="row2_medium_y" value="345" />
<variable name="row3_medium_y" value="392" />
<variable name="row4_medium_y" value="645" />
<variable name="row5_medium_y" value="795" />
<variable name="row6_medium_y" value="1260" />
<variable name="row7_medium_y" value="730" />
<variable name="slider_x" value="101" />
<variable name="slider_y" value="1575" />
<variable name="slider_text_y" value="1676" />
<variable name="button_text_color" value="#FF9C11" />
<variable name="text_color" value="#FF9C11" />
<variable name="text_success_color" value="#00FF00" />
<variable name="text_fail_color" value="#FF9C11" />
<variable name="highlight_color" value="#90909080" /> <variable name="home_button_x" value="10" />
<variable name="home_button_y" value="1839" />
<variable name="back_button_x" value="944" />
<variable name="back_button_y" value="1839" />
<variable name="sort_text_x" value="10" />
<variable name="sort_asc_text_y" value="1635" />
<variable name="sort_asc_button_y" value="1620" />
<variable name="sort_desc_text_y" value="1725" />
<variable name="sort_desc_button_y" value="1710" />
<variable name="sort_col1_button_x" value="390" />
<variable name="sort_col2_button_x" value="540" />
<variable name="sort_col3_button_x" value="690" />
<variable name="input_width" value="1060" />
<variable name="input_height" value="75" />
<variable name="input_background_color" value="#000000" />
<variable name="input_cursor_color" value="#FF9C11" />
<variable name="input_cursor_width" value="4" />
<variable name="console_x" value="0" />
<variable name="console_width" value="1080" />
<variable name="console_foreground" value="#FF9C11" />
<variable name="console_background" value="#000000" />
<variable name="console_scroll" value="#000000" />
<variable name="console_action_height" value="705" />
<variable name="console_install_height" value="900" />
<variable name="console_installdone_height" value="660" />
<variable name="fileselector_x" value="5" />
<variable name="fileselector_width" value="1070" />
<variable name="fileselector_install_height" value="1170" />
<variable name="fileselector_header_background" value="#000000" />
<variable name="fileselector_header_textcolor" value="#FF9C11" />
<variable name="fileselector_header_separatorcolor" value="#FF9C11" />
<variable name="fileselector_header_separatorheight" value="4" />
<variable name="fileselector_separatorcolor" value="#FF9C11" />
<variable name="fileselector_separatorheight" value="3" />
<variable name="fileselector_background" value="#000000" />
<variable name="fileselector_highlight_color" value="#505050" />
<variable name="fileselector_highlight_font_color" value="#FF9C11" />
<variable name="fileselector_spacing" value="36" />
<variable name="fastscroll_linecolor" value="#FF9C11" />
<variable name="fastscroll_rectcolor" value="#FF9C11" />
<variable name="fastscroll_w" value="90" />
<variable name="fastscroll_linew" value="3" />
<variable name="fastscroll_rectw" value="60" />
<variable name="fastscroll_recth" value="105" />
<variable name="listbox_x" value="5" />
<variable name="listbox_width" value="1070" />
<variable name="listbox_tz_height" value="885" />
<variable name="listbox_background" value="#000000" />
<variable name="listbox_spacing" value="24" />
<variable name="sd_plus_x" value="525" />
<variable name="sdext_text_x" value="165" />
<variable name="sdext_text_y" value="270" />
<variable name="sdswap_button_y" value="390" />
<variable name="sdswap_text_x" value="165" />
<variable name="sdswap_text_y" value="405" />
<variable name="sdfilesystem_text_y" value="510" />
<variable name="sdfilesystem_button_y" value="570" />
<variable name="lock_x" value="240" />
<variable name="lock_y" value="600" />
<variable name="filemanager_select_x" value="840" />
<variable name="filemanager_select_y" value="1620" />
<variable name="backup_name_y" value="825" />
<variable name="terminal_console_height" value="1080" />
<variable name="terminal_text_y" value="1095" />
<variable name="terminal_button_y" value="1050" />
<variable name="row_dst_text_y" value="1080" />
<variable name="row_offset_text_y" value="1155" />
<variable name="row_offset_medium_y" value="1260" />
<variable name="button_fill_color" value="#303030" />
<variable name="button_fill_full_width" value="1060" />
<variable name="button_fill_main_width" value="505" />
<variable name="button_fill_main_height" value="324" />
<variable name="button_fill_half_height" value="162" />
<variable name="button_fill_quarter_height" value="81" />
<variable name="backup_list_height" value="780" />
<variable name="backup_button_row1" value="1118" />
<variable name="backup_button_row2" value="1220" />
<variable name="mount_list_height" value="1035" />
<variable name="mount_storage_row" value="1240" />
<variable name="storage_list_height" value="1000" />
<variable name="wipe_list_height" value="1305" />
<variable name="wipe_button_y" value="975" />
<variable name="slidervalue_w" value="1060" />
<variable name="slidervalue_line_clr" value="#FFFFFF" />
<variable name="slidervalue_slider_clr" value="#FF9C11" />
<variable name="slidervalue_lineh" value="3" />
<variable name="slidervalue_padding" value="30" />
<variable name="slidervalue_sliderw" value="15" />
<variable name="slidervalue_sliderh" value="90" />
</variables>
<variables> ... </variables>
there are inside all predefined interfaces of pages : colors, X and Y values
If you resize a theme this a part you need to modify !
X is the margin and Y the verticaly position.
X = 0 is the left side
Y = 0 is the top
If you resize a theme you need to modify X and Y value in fonction of the size difference.
Exemple : 720p -> 1080p 1080 : 720 =1,5
if you have X = 100 and Y =500 you must change values in X = 150 and Y = 750.
You can change too html colors with codes colors wanted.
NB : variables are predefined but evey pages can have his values and need to be modified too
Code:
<templates>
<template name="sort_options">
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%sort_text_x%" y="%sort_asc_text_y%" />
<text>Sort Ascending:</text>
</object>
<object type="button">
<placement x="%sort_col1_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Name</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=1</action>
</object>
<object type="button">
<placement x="%sort_col2_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Date</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=2</action>
</object>
<object type="button">
<placement x="%sort_col3_button_x%" y="%sort_asc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Size</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=3</action>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="%sort_text_x%" y="%sort_desc_text_y%" />
<text>Sort Descending:</text>
</object>
<object type="button">
<placement x="%sort_col1_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Name</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=-1</action>
</object>
<object type="button">
<placement x="%sort_col2_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Date</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=-2</action>
</object>
<object type="button">
<placement x="%sort_col3_button_x%" y="%sort_desc_button_y%" />
<font resource="font" color="%button_text_color%" />
<text>Size</text>
<image resource="sort_button" highlightresource="sort_button_highlight" />
<action function="set">tw_gui_sort_order=-3</action>
</object>
</template>
<template name="action_page_console">
<object type="console">
<placement x="0" y="%row2_y%" w="1080" h="700" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
</object>
</template>
<template name="footer">
<object type="console">
<slideout resource="slideout" x="490" y="1830" />
<placement x="%console_x%" y="0" w="%console_width%" h="1900" />
<color foreground="%console_foreground%" background="%console_background%" scroll="%console_scroll%" />
<font resource="fixed" />
</object>
</template>
<template name="keyboardtemplate">
<object type="keyboard">
<placement x="0" y="1200" />
<layout resource1="keyboard1" resource2="keyboard2" resource3="keyboard3" resource4="keyboard4" />
<highlight color="%highlight_color%" />
<layout1>
<keysize height="161" width="108" />
<row1 key01="q" long01="1" key02="w" long02="2" key03="e" long03="3" key04="r" long04="4" key05="t" long05="5" key06="y" long06="6" key07="u" long07="7" key08="i" long08="8" key09="o" long09="9" key10="p" long10="0" />
<row2 key01="162:a" long01="@" key02="s" long02="#" key03="d" long03="$" key04="f" long04="%" key05="g" long05="&" key06="h" long06="*" key07="j" long07="-" key08="k" long08="+" key09="162:l" long09="_" />
<row3 key01="162:layout2" key02="z" long02="!" key03="x" key04="c" long04="'" key05="v" long05=":" key06="b" long06=";" key07="n" long07="/" key08="m" long08="?" key09="162:c:8" />
<row4 key01="162:layout3" key02="108:c:47" key03="108:" key04="432: " key05="." key06="162:action" />
</layout1>
<layout2>
<keysize height="161" width="108" />
<row1 key01="Q" long01="1" key02="W" long02="2" key03="E" long03="3" key04="R" long04="4" key05="T" long05="5" key06="Y" long06="6" key07="U" long07="7" key08="I" long08="8" key09="O" long09="9" key10="P" long10="0" />
<row2 key01="162:A" long01="@" key02="S" long02="#" key03="D" long03="$" key04="F" long04="%" key05="G" long05="&" key06="H" long06="*" key07="J" long07="-" key08="K" long08="+" key09="162:L" long09="_" />
<row3 key01="162:layout1" key02="Z" long02="!" key03="X" key04="C" long04="'" key05="V" long05=":" key06="B" long06=";" key07="N" long07="/" key08="M" long08="?" key09="162:c:8" />
<row4 key01="162:layout3" key02="/" key03="108:" key04="432: " key05="." key06="162:action" />
</layout2>
<layout3>
<keysize height="161" width="108" />
<row1 key01="1" key02="2" key03="3" key04="4" key05="5" key06="6" key07="7" key08="8" key09="9" key10="0" />
<row2 key01="@" key02="#" key03="$" key04="%" key05="&" key06="*" key07="-" key08="+" key09="(" key10=")" />
<row3 key01="162:layout4" key02="!" key03="108:c:34" key04="'" key05=":" key06=";" key07="/" key08="?" key09="162:c:8" />
<row4 key01="162:layout1" key02="," key03="108:" key04="432: " key05="." key06="162:action" />
</layout3>
<layout4>
<keysize height="161" width="108" />
<row1 key01="~" key02="`" key03="|" key04="108:" key05="108:" key06="108:" key07="%" key08="108:" key09="{" key10="}" />
<row2 key01="108:" key02="108:" key03="108:" key04="108:" key05="108:" key06="^" key07="_" key08="=" key09="[" key10="]" />
<row3 key01="162:layout3" key02="108:" key03="108:" key04="108:" key05="108:" key06="\" key07="<" key08=">" key09="162:c:8" />
<row4 key01="162:layout1" key02="108:c:34" key03="108:" key04="432: " key05="." key06="162:action" />
</layout4>
</object>
</template>
</templates>
<templates> ... </template>
well, inside any things who can appair on any pages.
you must change any X and Y values.
If wanted, colors codes too ...
placement x="%........_....._....x%"
% is the value defined in <variables></variables>
NB : for Keyboard values I recommand to copy/past from an ui.xml in size wanted !
And for finish you have
Code:
<page> ... </pages>
any pages who can be open in the Recovery are here.
there are lot of pages and if you want resize a theme you must change any X and Y values in any pages.
when you finish to edit any pages as wanted, rezipe 2 resources folders + ui.xml in " stockage mod " ( without compression ) and let's GO ! :victory:
I hope that will help you, don't hesitate to ask me on this thread.
* * * * * * *
​
Reserved for OP
Useful "how-to" guide mate :good:
thanks for your guide, i want to try it but i don't know about xml
can u give me a explain if i want to port to 540x960 ??
thanks
sorry for me bad english
gangsar said:
thanks for your guide, i want to try it but i don't know about xml
can u give me a explain if i want to port to 540x960 ??
thanks
sorry for me bad english
Click to expand...
Click to collapse
Hello,
You need to change all X and Y value.
If you take a theme in 720p, you must divide value by 1,5.
For keyboard, copy/past from an xml For your screen resolution.
Warning : any values are between " ".
Don't delete one of " or you will have a Recovery bootloop.
Ok ?
ok I'll try, thanks for explain
I was tried to devide to 1.5 an resize background n keyboard to my screen resolution, but I can't see navigation button n main button is too large,
what's wrong ?
thanks
gangsar said:
I was tried to devide to 1.5 an resize background n keyboard to my screen resolution, but I can't see navigation button n main button is too large,
what's wrong ?
thanks
Click to expand...
Click to collapse
Have you resized pictures too ?
If not, do it
Edit : you have to resize all pictures in images folder and change all X and Y values in xml file
ohh thanks i'll try again
Sent from my Lenovo P770 using XDA Premium 4 mobile app
Can you give a formula for resizing of images?
How you calculate it? I want for e.g to resize 720x1280 theme images for 480x800.
dancer_69 said:
Can you give a formula for resizing of images?
How you calculate it? I want for e.g to resize 720x1280 theme images for 480x800.
Click to expand...
Click to collapse
720 : 480 = 1,5
1280 : 800 = 1,6
Then divide all by 1,5 if you want a theme who is in 720p
So, if I have a picture with width: 80 and height: 53, this will become
width: 80/1.5=53.3 and height: 53/1.5=35.3 to be okay for resolution 480x800?
dancer_69 said:
So, if I have a picture with width: 80 and height: 53, this will become
width: 80/1.5=53.3 and height: 53/1.5=35.3 to be okay for resolution 480x800?
Click to expand...
Click to collapse
Yes
@NorthLight
I was able to port XDA_Origin over to my HTC One SV at 480x800. Looks great, but I'm having issues with the font size. They are too big. Any suggestions?
Edit: Nevermind... I overlooked it lol.
Modding.MyMind said:
@NorthLight
I was able to port XDA_Origin over to my HTC One SV at 480x800. Looks great, but I'm having issues with the font size. They are too big. Any suggestions?
Edit: Nevermind... I overlooked it lol.
Click to expand...
Click to collapse
It's ok ? It works ?
If you want share the ported theme, open your thread, Give crédits to Primokorn and me, put the source link.
Good job mate !
NorthLight said:
It's ok ? It works ?
If you want share the ported theme, open your thread, Give crédits to Primokorn and me, put the source link.
Good job mate !
Click to expand...
Click to collapse
It works, but some things appear to be slightly off, but not by much. I have a question.... I am porting the XDA_Origin based on 1080x1920 to 480x800. I already know what needs to be done with all the images and all the X's and Y's. However, there is one thing i have been seeing inside the ui.xml file which has me confused. Here is an example (see red).
Base Version: 1080x1920 XDA_Origin:
Code:
<object type="text" color="%text_color%">
<font resource="mediumfont" />
<placement x="450" y="%row1_header_y%" [COLOR="Red"]placement="[B]8[/B]"[/COLOR] />
<text></text>
</object>
Port Version: 480x800 XDA_Origin:
Code:
<object type="text" color="%text_color%">
<font resource="mediumfont" />
<placement x="200" y="%row1_header_y%" [COLOR="Red"]placement="[B]8[/B]"[/COLOR] />
<text></text>
</object>
Should the value number 8 be changed as well? I have changed all values accordingly, but all codes that come up as, placement="", I have not tampered with because I do not know what those values do, and I am curious as to whether or not those values are the reason why my port is slightly off just a little bit on my screen lol.
---------- Post added 19th February 2014 at 12:54 AM ---------- Previous post was 18th February 2014 at 11:57 PM ----------
@NorthLight
Nevermind, changing those values should not be touched lol. They need to stay the same as from the original. Still at a lost as to what is causing the theme to be slightly off. For example, the keyboard is a smudge too high and needs to be lowered, but I changed it properly so I dont fully understand why it isnt aligned to begin with.
1080 : 480 = 2.25
1920 : 800 = 2.4
I changed every value by dividing with 2.25. I am starting to wonder if the Y values should be divided by 2.25 and the X values divided by 2.4? Though, all the images for width and height were divided by only 2.25....
Modding.MyMind said:
It works, but some things appear to be slightly off, but not by much. I have a question.... I am porting the XDA_Origin based on 1080x1920 to 480x800. I already know what needs to be done with all the images and all the X's and Y's. However, there is one thing i have been seeing inside the ui.xml file which has me confused. Here is an example (see red).
Base Version: 1080x1920 XDA_Origin:
Code:
<object type="text" color="%text_color%">
<font resource="mediumfont" />
<placement x="450" y="%row1_header_y%" [COLOR="Red"]placement="[B]8[/B]"[/COLOR] />
<text></text>
</object>
Port Version: 480x800 XDA_Origin:
Code:
<object type="text" color="%text_color%">
<font resource="mediumfont" />
<placement x="200" y="%row1_header_y%" [COLOR="Red"]placement="[B]8[/B]"[/COLOR] />
<text></text>
</object>
Should the value number 8 be changed as well? I have changed all values accordingly, but all codes that come up as, placement="", I have not tampered with because I do not know what those values do, and I am curious as to whether or not those values are the reason why my port is slightly off just a little bit on my screen lol.
---------- Post added 19th February 2014 at 12:54 AM ---------- Previous post was 18th February 2014 at 11:57 PM ----------
@NorthLight
Nevermind, changing those values should not be touched lol. They need to stay the same as from the original. Still at a lost as to what is causing the theme to be slightly off. For example, the keyboard is a smudge too high and needs to be lowered, but I changed it properly so I dont fully understand why it isnt aligned to begin with.
1080 : 480 = 2.25
1920 : 800 = 2.4
I changed every value by dividing with 2.25. I am starting to wonder if the Y values should be divided by 2.25 and the X values divided by 2.4? Though, all the images for width and height were divided by only 2.25....
Click to expand...
Click to collapse
For keyboard I recommend to copy/past from an official TWRP in your screen resolution, it's more easy.
@NorthLight
Yea, did that already. The image is still up a little too high.
Sent from my C525c using Tapatalk
Modding.MyMind said:
@NorthLight
Yea, did that already. The image is still up a little too high.
Sent from my C525c using Tapatalk
Click to expand...
Click to collapse
The pictures of keyboard for you need to be large as 480
NorthLight said:
The pictures of keyboard for you need to be large as 480
Click to expand...
Click to collapse
It is lol. But its currently raised up on the screen slightly too high, so when you type, the keyboard itself is overlapping the actual text being displayed from typing.
Sent from my C525c using Tapatalk
---------- Post added at 10:38 AM ---------- Previous post was at 10:18 AM ----------
@NorthLight
I changed the values inside the ui.xml by dividing the numbers with 2.25. Though, for some reason, it is not sitting on the screen where it is suppose to be. Does the ui.xml file accept decimals? Most of my numbers when dividing by 2.25 result in decimals but I rounded them all down. For example, lets say one came out to be 40.65, then I would write it down as 40 in the ui.xml file? Or can I use 40.65?
Sent from my C525c using Tapatalk

Categories

Resources