Titanium JIRA Archive
Appcelerator Community (AC)

[AC-808] Android: Images are not getting displayed in ImageView and View

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2014-05-21T13:41:04.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterFix Please
AssigneeRitu Agrawal
Created2014-05-18T15:14:23.000+0000
Updated2016-03-08T07:37:05.000+0000

Description

See the images attached. The markup:
<Alloy>
  <TabGroup>
    
    <Tab title="Window">
      <Window title="Window" backgroundImage="appicon.png">
        <Label color="green">Window: 'appicon.png' is shown as background image.</Label>
      </Window>
    </Tab>
    
    <Tab title="View">
      <Window title="View">
        <View backgroundImage="appicon.png">
          <Label color="red">View: 'appicon.png' is NOT shown background image.</Label>
        </View>
      </Window>
    </Tab>
    
    <Tab title="ImageView">
      <Window title="ImageView">
        <Label color="red">Window: ImageView is NOT shown.</Label>
        <ImageView image="appicon.png">
          <Label color="red">ImageView: 'appicon.png' is NOT shown.</Label>
        </ImageView>
      </Window>
    </Tab>
    
    <Tab title="ImageView">
      <Window title="ImageView">
        <Label color="red">Window: ImageView is NOT shown.</Label>
        <ImageView backgroundImage="appicon.png">
          <Label color="red">ImageView: 'appicon.png' is NOT shown background image.</Label>
        </ImageView>
      </Window>
    </Tab>
    
  </TabGroup>
</Alloy>

Attachments

FileDateSize
1.jpg2014-05-18T15:14:23.000+000098773
2.jpg2014-05-18T15:14:23.000+000044572
3.jpg2014-05-18T15:14:23.000+000041819
4.jpg2014-05-18T15:14:23.000+000041838

Comments

  1. Fix Please 2014-05-20

    Hi there, could you pay attention to the issue, please? Imho, the bug is a kind of critical. Don't you think so?
  2. Ritu Agrawal 2014-05-20

    This is basically related to TIMOB-16983. I will update this test case in TIMOB-16983. Make sense?
  3. Fix Please 2014-05-20

    {quote} This is basically related to TIMOB-16983 . I will update this test case in TIMOB-16983 . Make sense? {quote} Ok. But note that it looks like the *ImageView* does not work as expected. Imho that's much worse than View background issue reported in the TIMOB-16983. Could you raise a priority for that? Thanks.
  4. Ritu Agrawal 2014-05-21

    Resolving this ticket as a duplicate of TIMOB-16983. I have updated TIMOB-16983 to add ImageView test case from this ticket.

JSON Source