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

Android: Picker: The plain picker is hidden on orientation change on Android Tab

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Invalid
    • Affects Version/s: Release 2.1.0
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Environment:

      Titanium Studio: 2.1.0.201206200844
      Titanium SDK: 2.1.0.v20120619164153
      Android Device: Android Tab (V3.2)
      Runtime: v8

      Description

      The picker of type plain is hidden when device changes orientation. The issue occurs on Android Tab

      Not a Regression. The issue occurs as far as 1.8.2

      Steps to Reproduce:
      1. Create an application with code below and launch the application
      2. Click on the picker control. The picker options are shown
      3. Change the orientation of device

      Actual: The picker options are hidden

      Expected: The picker should continue to show

      Titanium.UI.setBackgroundColor('#000');
      var win = Ti.UI.createWindow();
      var picker = Ti.UI.createPicker();
       
      var data = [];
      data[0]=Ti.UI.createPickerRow({title:'Bananas',custom_item:'b'});
      data[1]=Ti.UI.createPickerRow({title:'Strawberries',custom_item:'s'});
      data[2]=Ti.UI.createPickerRow({title:'Mangos',custom_item:'m'});
      data[3]=Ti.UI.createPickerRow({title:'Grapes',custom_item:'g'});
       
      picker.selectionIndicator = true;
       
      picker.add(data);
       
      win.add(picker);
       
      picker.setSelectedRow(0,1,true);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code