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

Android: TextField and TextArea - Black stripe appears above the text field at the bottom of the screen

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Won't Fix
    • Affects Version/s: Release 2.1.4
    • Component/s: Android
    • Labels:
    • Environment:

      Tested on:
      Titanium Studio, build: 3.0.0.201210271747
      Titanium SDK, build: 2.1.4.v20121026164613
      Devices: Galaxy Nexus (4.1.1), Samsung Galaxy SIII (4.0.4)

      Description

      Description:
      Black stripe appears above the text field at the bottom of the screen. Occurs on some devices (Galaxy Nexus (4.1.1), Samsung Galaxy SIII (4.0.4)). Does not occur on Android Emulator, Droid 3 (2.3.4) and LG VS910 4G (2.3.6).

      This is not a regression, the behavior exists on 2.1.3 and 2.1.2 as well.

      Steps:
      1. Run the following code:

      var _window = Ti.UI.createWindow({
          backgroundColor : 'white'
      });
        
      var textField = Ti.UI.createTextField({
      			color : '#336699',
      			backgroundColor : '#eee',
      			bottom : 10,
      			left : 10,
      			width : 250,
      			height : 60,
      			borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED
      		});
      		_window.add(textField);
       
      		var textArea = Ti.UI.createTextArea({
      			borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED,
      			backgroundColor : '#eee',
      			color : '#336699',
      			top : 10,
      			left : 10,
      			width : 250,
      			height : 60
      		});
      		_window.add(textArea);
      		
      		_window.open();
      

      2. Dismiss two alerts
      3. Click on the text field at the bottom of the screen to invoke the soft keyboard.
      4. Press hardware "back" button
      5. Repeat steps 2 and 3 several times

      Actual result:
      Black stripe appears above the text field

      Expected:
      Should not see any black stripes above the text field

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pwang Ping Wang
                Reporter:
                tsmolich Tamila Smolich
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration