Create your own themes through XML

Discussion in 'Q Home Screens and Wallpapers' started by baer3328, May 14, 2007.

  1. Prosper

    Prosper New Member

    Joined:
    Apr 16, 2007
    Messages:
    1,469
    Likes Received:
    0
    Why did you post your xml file .. ? I thought the registry color scheme thing gave you an error .. ? I'll need the files you modified to get the .cab file to have a look at that :)
  2. baer3328

    baer3328 New Member

    Joined:
    Apr 7, 2007
    Messages:
    74
    Likes Received:
    0
    This stuff?

    Attached Files:

  3. Prosper

    Prosper New Member

    Joined:
    Apr 16, 2007
    Messages:
    1,469
    Likes Received:
    0
    Right :)

    You missed a #-character in line 12 in the postinstall.xml.

    <parm name="COLOR_TITLEFLATCENTER" value="2C2CEE" datatype="integer" translation="install" />

    It should be #2C2CEE

    That's the only thing I saw when looking over it the first time...
    Hope this helps you get it work :)
  4. baer3328

    baer3328 New Member

    Joined:
    Apr 7, 2007
    Messages:
    74
    Likes Received:
    0
    I actually missed two of them. Corrected but still unsuccessful
  5. Prosper

    Prosper New Member

    Joined:
    Apr 16, 2007
    Messages:
    1,469
    Likes Received:
    0
    Hmm.. the 2 files you posted are correct.. (Edit: After editing the two missing character, of course...). I guess the error is located in the install.inf file. Would you mind posting it, so I can have a look .. ?
  6. baer3328

    baer3328 New Member

    Joined:
    Apr 7, 2007
    Messages:
    74
    Likes Received:
    0
    Is it possible that black is restricted?

    Attached Files:

  7. Prosper

    Prosper New Member

    Joined:
    Apr 16, 2007
    Messages:
    1,469
    Likes Received:
    0
    Restricted ? No, I don't think so. Otherwise the color scheme I provide on my page wouldn't work. But it does. But I can't find the damn error ... :frown:

    Edit:
    You inserted hexadecimal codes into the postinstall.xml. You will need to insert decimal codes. Read the first part of Step 4 carefully again. Maybe this causes the error...
  8. baer3328

    baer3328 New Member

    Joined:
    Apr 7, 2007
    Messages:
    74
    Likes Received:
    0
    No, I flipped the characters around like the tutorial said. I double checked. Regardless, it would've come out with a color. Just not the color I wanted.

    Nevermind, I think I know what you're saying. The German page was giving me an error. I found an english one. Do I still need to input the # characted in front of it?
  9. baer3328

    baer3328 New Member

    Joined:
    Apr 7, 2007
    Messages:
    74
    Likes Received:
    0
    OK. Got the damn thing to install but it's giving me the great error of "The layout you have selected cannot be..." error. Suggestions?
  10. Prosper

    Prosper New Member

    Joined:
    Apr 16, 2007
    Messages:
    1,469
    Likes Received:
    0
    Ok, I'll try to explain what you have to do exactly.

    First, you take a color. Let's take the red you wanted the text to be.
    1. The code for this red color is #EE2C2C.
    2. Swap the first two and the last two digits: #2C2CEE.
    3. Goto the German page I linked to in the tutorial and enter the swapped code (2C2CEE) into the field saying "Wert". Press hex -> dez.
    4. The outcoming is 2895086.
    5. This code has to be entered into the postinstall.xml (in your case into the value of COLOR_SOFTKEYFLATCENTER).

    Hope this clarifies the way.
  11. Prosper

    Prosper New Member

    Joined:
    Apr 16, 2007
    Messages:
    1,469
    Likes Received:
    0
    See post above. I guess this solves the problem.
  12. baer3328

    baer3328 New Member

    Joined:
    Apr 7, 2007
    Messages:
    74
    Likes Received:
    0


    Like this?



    <characteristic type="Home">
    <characteristic type="HKCU\ControlPanel\Home">
    <parm name="Scheme" value="%CE19%\Home\HomeScreenBeta.scheme.xml" translation="install"/>
    </characteristic>
    </characteristic>
    <characteristic type="Registry">
    <characteristic type="HKCU\ControlPanel\Home\HomeScreenBeta.scheme.xml">
    <parm name="COLOR_SOFTKEYBTNFACE" value="0" datatype="integer" translation="install" />
    <parm name="COLOR_SOFTKEYBTNTEXT" value="65535" datatype="integer" translation="install" />
    <parm name="COLOR_SOFTKEYBTNTEXT_HIGHLIGHT" value="23387" datatype="integer" translation="install" />
    <parm name="COLOR_SOFTKEYFLATCENTER" value="2895086" datatype="integer" translation="install" />
    <parm name="COLOR_TITLEFLATCENTER" value="2895086" datatype="integer" translation="install" />
    <parm name="COLOR_TITLEFLATDONEBTN" value="0" datatype="integer" translation="install" />
    </characteristic>
    </characteristic>
  13. Prosper

    Prosper New Member

    Joined:
    Apr 16, 2007
    Messages:
    1,469
    Likes Received:
    0
    Yeah, looks ok to me :)
    (Really hope it works, since I wanna go to bed now :D)
  14. baer3328

    baer3328 New Member

    Joined:
    Apr 7, 2007
    Messages:
    74
    Likes Received:
    0
    lol sorry. Didn't work though. Go ahead and go to bed. I'll just work on it and hope my Q isn't retarded
  15. Prosper

    Prosper New Member

    Joined:
    Apr 16, 2007
    Messages:
    1,469
    Likes Received:
    0
    Hmmm.. I'll have a look how things are going tomorrow.. Go on reporting :)

    PS: You rebooted before trying to install again, did you ? Just to make sure it's not a WM error here.. :tounge:
  16. baer3328

    baer3328 New Member

    Joined:
    Apr 7, 2007
    Messages:
    74
    Likes Received:
    0
    Still no luck. I can't figure out why my Q doesn't want to display black.
  17. baer3328

    baer3328 New Member

    Joined:
    Apr 7, 2007
    Messages:
    74
    Likes Received:
    0
    UPDATE: I managed to get the Black Keys working through a program called "BlackSoftKeys", how appropriate. Anyways, since that was the main bitch I had and it's fixed now, I went through and started changing the colors I wanted. With highly unexpected results. I have 3 different screenshots and you'll notice, they're extremely F'ed up.

    [​IMG]
    I'll just go down the list on this one.

    The IconBar is great, lovin it. However, I downloaded the Orange dll file but I haven't found 1 shred of code pertaining to how to use it despite there being a billion websites hosting HomeScreens. I downloaded a few and examined their codes but I can't find out how to do it for the life of me. I want to put the date and time up in the upper lefthand corner on the IconBar. Any suggestions would be appreciated.

    The MRU is confusing me as well, it's hard to tell due to the dark background but whenever ANYTHING is selected on this bar the entire background is black, not just the selected icon. Making it impossible to tell which icon you have selected, again, any suggestions would be appreciated.

    I would like to make the Tasks bar (Oxios), the Profile bar, and the Calendar appear in bold, haven't figured that one out either. I'm proud of myself that I managed to get them in white though.

    However, the MessageCount bar refuses to show up in white. I've put the code in just about every place I can think of inside the plugin call but to no avail.

    [​IMG]
    This one is pretty self explanatory. Obviously, I would like to see what other options I have on the screen but the unselected options, from what I can tell, have no color code.

    [​IMG]
    This one has been plaguing me since I started this endevour. This is the screen where you would normally see the option to change the theme, default background, color scheme, and timeout duration for the Home Screen.

    If anyone has any suggestions on how to just change the problem areas here, I'd greatly appreciate it. Oh, and here's the code.

    <?xml version="1.0"?>
    <home>
    <author>B@eR</author>
    <contacturl>http://www.datgroup.com/</contacturl>
    <title lang="0x0409">Home Screen Beta 1.3</title>
    <title lang="0x0809">Home Screen Beta 1.3</title>
    <title lang="0x040c">Home Screen Beta 1.3</title>
    <title lang="0x0407">Home Screen Beta 1.3</title>
    <title lang="0x0410">Home Screen Beta 1.3</title>
    <title lang="0x0816">Home Screen Beta 1.3</title>
    <title lang="0x0C0A">Home Screen Beta 1.3</title>
    <version>1.3 Beta</version>

    <default target-width="240" target-height="320" font-face="Segoe Condensed" font-size="19" font-weight="normal" padding-left="5" padding-right="5" bgcolor="transparent" fgcolor="transparent" padding-top="3" b-border-color="COLOR_HOMERULE" b-border-width="1">
    <format state="selected" bgcolor="COLOR_HOMEHIGHLIGHT" fgcolor="COLOR_HOMEHIGHLIGHTTEXT"/>
    </default>
    <background bgimage="blueqbiohazard.jpg" valign="bottom" bgcolor="COLOR_TRAYGRADLEFT"/>
    <scheme>
    <color name="COLOR_WINDOW" value="#000000"/>
    <color name="COLOR_STATIC" value="#000000"/>
    <color name="COLOR_STATICTEXT" value="#990000"/>
    <color name="COLOR_HIGHLIGHT" value="#990000"/>
    <color name="COLOR_HIGHLIGHTTEXT" value="#FFFFFF"/>
    <color name="COLOR_MENU" value="#000000"/>
    <color name="COLOR_MENUTEXT" value="#990000"/>
    <color name="COLOR_GRAYTEXT" value="#DBDBDB"/>
    <color name="COLOR_GRADLEFT" value="#990000"/>
    <color name="COLOR_GRADRIGHT" value="#FFFFFF"/>
    <color name="COLOR_INTGRADLEFT" value="#FFFFFF"/>
    <color name="COLOR_INTGRADRIGHT" value="#990000"/>
    <color name="COLOR_TRAYGRADLEFT" value="#000000"/>
    <color name="COLOR_TRAYGRADRIGHT" value="#000000"/>
    <color name="COLOR_HIGHGRADLEFT" value="#000000"/>
    <color name="COLOR_HIGHGRADRIGHT" value="#000000"/>
    <color name="COLOR_WINDOWFRAME" value="#BBBBBB"/>
    <color name="COLOR_BTNFACE" value="#000000"/>
    <!--Altered BTNTEXT to appear lime green for beta testing purposes-->
    <color name="COLOR_BTNTEXT" value="#33FF66"/>
    <color name="COLOR_SCROLLBAR" value="#999999"/>
    <color name="COLOR_HOMETEXT" value="#FFFFFF"/>
    <color name="COLOR_HOMERULE" value="#FFFFFF"/>
    <color name="COLOR_HOMEHIGHLIGHT" value="#000000"/>
    <color name="COLOR_HOMEHIGHLIGHTTEXT" value="#FFFFFF"/>
    <color name="COLOR_ALERTWINDOW" value="#FFFFFF"/>
    <color name="COLOR_ALERTTITLE" value="#000000"/>
    <color name="COLOR_ALERTRULE" value="#000000"/>
    </scheme>

    <!-- Plug-Ins-->
    <!-- Icon bar-->
    <!-- MRU list: using small icons count:20-->
    <!-- Carrier plugin -->
    <!-- Profile plugin -->
    <!-- Bluetooth plugin -->
    <!-- Call Progress Plugin -->
    <!-- Calendar Plugin -->
    <!-- Extended (Beta) Message Count Plugin -->



    <!--Iconbar-->
    <plugin clsid="{837FC251-FE69-43ad-84E0-EBCEDEBA0884}" name="iconbar" height="27">
    <iconbar fgcolor="COLOR_TRAYTEXT"/>
    <background gradient="title" bgcolor="COLOR_TRAYGRADLEFT" b-border-color="COLOR_WINDOWFRAME" b-border-width="1"/>
    </plugin>

    <!--MRU-->
    <plugin clsid="{79EFB752-CB70-446d-B317-499723482B3D}" name="startmru" height="30">
    <mru y="1" icon-size="16" max-buttons="20" />
    </plugin>


    <!--Carrier-->
    <plugin clsid="{E09043DF-510E-4841-B652-388316977A7A}" name="carrier" height="20" padding-left="-3">
    <allowselection/>
    <background b-border-width="1">
    </background>
    <label font-weight="bold" fgcolor="#FFFFFF" bgcolor="transparent" halign="left" x="110" y="-3" w="320" font-size="18">
    <text><carrier/></text>
    </label>
    <clock>
    <time font-weight="bold" fgcolor="#FFFFFF" font-size="16" valign="top" halign="right" y="-3" x="-18" w="320" />
    <date font-weight="bold" fgcolor="#FFFFFF" font-size="16" valign="top" halign="left" mode="short" y="-3" x="5" w="320" />
    </clock>
    </plugin>


    <!--Profile-->
    <plugin clsid="{95976968-45D5-40c9-9779-2B859B1C2FEC}" name="profile" height="27">
    <background b-border-width="1">
    <format state="selected" font-weight="bold" fgcolor="#FFFFFF" bgcolor="COLOR_HOMEHIGHLIGHT"/>
    </background>
    <label>
    <format state="unselected" fgcolor="#FFFFFF" bgcolor="transparent"/>
    <text lang="0x0409">Profile: <profile/></text>
    <text lang="0x0809">Profile: <profile/></text>
    <text lang="0x040c">Profil: <profile/></text>
    <text lang="0x0407">Profil: <profile/></text>
    <text lang="0x0410">Profilo: <profile/></text>
    <text lang="0x0816">Perfil: <profile/></text>
    <text lang="0x0C0A">Perfil: <profile/></text>
    </label>
    </plugin>

    <!-- Bluetooth Plugin -->
    <plugin clsid="{df648b7e-7645-419d-ba0b-503acea3edfb}" height="28">
    </plugin>

    <!--Call Progress-->
    <plugin clsid="{37391041-C324-4725-BEE1-3232ED3539CA}" name="callprog" height="50">
    <background>
    <format state="selected" font-wight="bold" fgcolor="#FFFFFF" bgcolor="COLOR_HOMEHIGHLIGHT"/>
    </background>
    <format state="nocall" visible="false"/>
    <label>
    <format state="unselected" fgcolor="#FFFFFF" bgcolor="transparent"/>
    <text lang="0x0409">Call in progress:</text>
    <text lang="0x0C0A">Llamada en curso:</text>
    <text lang="0x040c">Appel en cours:</text>
    <text lang="0x0410">Chiamata in corso:</text>
    <text lang="0x0816">Chamada em curso:</text>
    <text lang="0x0416">Chamada em andamento:</text>
    <text lang="0x0809">Call in progress:</text>
    <text lang="0x0413">Actieve oproep:</text>
    <text lang="0x041b">Prebieha hovor:</text>
    <text lang="0x0415">Trwa Wywolywanie:</text>
    <text lang="0x0424">Klic poteka:</text>
    <text lang="0x081a">Poziv u toku:</text>
    </label>
    <label y="23">
    <text><progress/></text>
    </label>
    </plugin>

    <!--Oxios Tasks-->
    <plugin clsid="{0FD763F8-2BBE-42A1-94A8-A75A3758049E}" name="OxiosTasks" height="27">
    <background>
    <format state="selected" font-weight="bold" bgcolor="COLOR_HOMEHIGHLIGHT"/>
    </background>
    <format state="noevent" visible="false"/>
    <label h="22" padding-right="14">
    <format state="unselected" fgcolor="#FFFFFF" bgcolor="transparent"/>
    <text><subject/></text>
    </label>
    <priority x="-12" y="3"/>
    </plugin>

    <!--Calendar-->
    <plugin clsid="{865A354A-4A96-4687-B001-C155DC0DBE76}" name="calendar" height="50">
    <background>
    <format state="selected" font-weight="bold" fgcolor="#FFFFFF" bgcolor="COLOR_HOMEHIGHLIGHT"/>
    </background>
    <label h="22">
    <format state="unselected" fgcolor="#FFFFFF" bgcolor="transparent"/>
    <text>
    <subject/>
    </text>
    </label>
    <label h="22" y="23">
    <format state="unselected" fgcolor="#FFFFFF" bgcolor="transparent"/>
    <text>
    <time/>
    <location/>
    </text>
    </label>

    </plugin>

    <!--Message Count-->
    <plugin clsid="{62E5C279-1E55-4bbb-95DA-D576093C23BE}" name="MessageCount" height="20">
    <background>
    <format state="selected" font-weight="bold" bgcolor="#000000"/>
    <format state="unselected" font-weight="normal" fgcolor="COLOR_HOMETEXT"/>
    </background>
    <label>
    <text lang="0x0409">Text Messages <unreadMsgs name="SMS"/></text>
    <text lang="0x0C0A">Mensajes Del Texto <unreadMsgs name="SMS"/></text>
    </label>
    <label>
    <text lang="0x0409" >Email <unreadMsgs name="ActiveSync"/></text>
    <text lang="0x0C0A">Email <unreadMsgs name="ActiveSync"/></text>
    </label>
    <label>
    <text lang="0x0409" >MMS <unreadMsgs name="MMS" /></text>
    <text lang="0x0C0A">MMS <unreadMsgs name="MMS" /></text>
    </label>
    <label>
    <text lang="0x0409">Voicemail <unreadVMail hidezero="true"/></text>
    <text lang="0x0407">bbb <unreadVMail hidezero="true"/></text>
    </label>
    </plugin>

    <plugin clsid="{856CB5C4-5B27-4b64-8FB9-7E3E4987E0D1}" height="25" autoheight="false">
    </plugin>
    <plugin clsid="{52E26FD7-2A56-4e2a-988B-2B90A96B90EF}" height="25" autoheight="false">
    </plugin>
    <plugin clsid="{1CC2E12E-B863-4603-9B5F-CA754B2BDDC6}" height="25" autoheight="false">
    </plugin>
    <plugin clsid="{6B9D9399-0F93-4ba1-9DC7-483FE4877E6D}" height="25" autoheight="false">
    </plugin>
    <plugin clsid="{B9E6C503-F261-4373-A88B-0B7ACF6BC347}" height="25" autoheight="false">
    </plugin>
    <plugin clsid="{30DF3430-0266-11cf-BAA6-00AA003E0EED}" height="25" autoheight="false">
    </plugin>

    </home>


    If anyone knows the the hell those last 6 plugins are, please let me know. I'm with Verizon if it matters. Thanks in advance!
  18. n99hockey

    n99hockey Moderator Staff Member

    Joined:
    Feb 7, 2007
    Messages:
    57,525
    Likes Received:
    15
    thats the cab file i was trying to get you to download that i use...blacksoftkeys....glad you got that going!!
  19. baer3328

    baer3328 New Member

    Joined:
    Apr 7, 2007
    Messages:
    74
    Likes Received:
    0
    Well, it worked, but I don't know what color side effects it applied. I'm not sure what the hell I'm doing. I know what I want to do, but this damn code stuff is halting my Q experience.
  20. n99hockey

    n99hockey Moderator Staff Member

    Joined:
    Feb 7, 2007
    Messages:
    57,525
    Likes Received:
    15
    i wouldnt let it hamper your experience...coding xml isnt easy...

Share This Page