Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26284

Android: Cannot add child-views to views extending UIFragment

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.5.0
    • Component/s: Android
    • Labels:
      None

      Description

      When using Ti.Map to create a map-view, sub-views of the map are not being displayed. This is not the case for iOS. A reproducible test-case can be done by taking the module's example app.js and trying to add a child view to it:

      var Map = require('ti.map');
      var win = Titanium.UI.createWindow();
       
      var mapview = Map.createView({
       
      });
       
      mapview.add(Ti.UI.createView({
        width: 50,
        height: 50,
        backgroundColor: 'red'
      }))
       
      win.add(mapview);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              ybanev Yordan Banev
              Reporter:
              hknoechel Hans Knöchel
              Reviewer:
              Joshua Quick
              Tester:
              Lokesh Choudhary
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-6514
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code