none
change soft key color in home xml file RRS feed

  • Question

  • Is there a way to change the color of the soft key on Windows Mobile devices using the xml file in the 'home' folder? For example, the color scheme of the device is as follows:

    <!-- Color Scheme -->

    <scheme>
    <color name="COLOR_HOMEHIGHLIGHT" value="#B900B9" />
    <color name="COLOR_HOMETEXT" value="#000000" />
    <color name="COLOR_HOMEHIGHLIGHTTEXT" value="#000000" />
    <color name="COLOR_TRAYGRADLEFT" value="#BD34D6" />
    <color name="COLOR_WINDOW" value="#FFFFFF" />
    <color name="COLOR_HIGHLIGHT" value="#970097" />
    <color name="COLOR_HIGHLIGHTTEXT" value="#FFFFFF" />
    <color name="COLOR_WINDOWTEXT" value="#000000" />
    <color name="COLOR_GRADLEFT" value="#FFFFFF" />
    <color name="COLOR_GRADRIGHT" value="#000000" />
    <color name="COLOR_INTGRADLEFT" value="#FFFFFF" />
    <color name="COLOR_INTGRADRIGHT" value="#000000" />
    <color name="COLOR_BTNFACE" value="#000000" />
    <color name="COLOR_WINDOWFRAME" value="#000000" />
    <color name="COLOR_SCROLLBAR" value="#800080" />
    <color name="COLOR_MENUTEXT" value="#000000" />
    <color name="COLOR_MENU" value="#D3D3D3" />
    <color name="COLOR_GRAYTEXT" value="#808080" />
    <color name="COLOR_ALERTWINDOW" value="#C0C0C0" />
    <color name="COLOR_ALERTTITLE" value="#800080" />
    <color name="COLOR_ALERTRULE" value="#800080" />
    <color name="COLOR_STATIC" value="#808080" />
    <color name="COLOR_STATICTEXT" value="#000000" />
    <color name="COLOR_BTNTEXT" value="#000000" />
    <color name="COLOR_TRAYTEXT" value="#FFFFFF" />
    </scheme>

    Is there any code I can use to set the soft key colors this way? Thanks.
    -Sue
    Friday, October 24, 2008 2:05 AM

Answers