Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-28309

Setting color=red on LabelItemRenderer makes the text blue on Android

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Mobile: List
    • None
    • Affected OS(s): Google Android
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a new Flex mobile project and launch this application on an Android device:

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application
      xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark">

      <s:layout>
      <s:VerticalLayout />
      </s:layout>

      <s:Label text="Should be red" color="0xFF0000" />

      <s:LabelItemRenderer color="0xFF0000" label="Should be red" />
      <s:LabelItemRenderer color="0xFe0000" label="Should be red" />
      <s:LabelItemRenderer color="#ff0000" label="Should be red" />
      <s:LabelItemRenderer color="red" label="Should be red" />
      <s:LabelItemRenderer color="0x00FF00" label="Should be green" />

      <s:LabelItemRenderer color="0xFF0000" label="Should be red" />

      <s:List width="100%" height="100%">
      <s:dataProvider>
      <s:ArrayList>
      <fx:String>Should be red</fx:String>
      </s:ArrayList>
      </s:dataProvider>
      <s:itemRenderer>
      <fx:Component>
      <s:IconItemRenderer color="0xFF0000" />
      </fx:Component>
      </s:itemRenderer>
      </s:List>

      </s:Application>

      2.
      3.

      Actual Results:

      LabelItemRenderers have font color of blue

      Expected Results:

      LabelItemRenderers should have font color of red

      Workaround (if any):

      http://watsonexp.corp.adobe.com/#bug=2950400

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: