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

Android: MapView displays a black box in TextField

    Details

      Description

      Problem Description

      When adding a textfield and a map in a window with Alloy, you will get a black box in the textfield when focused.

      Test Case

      index.xml

      <Alloy>
      	<Window class="container">
      		<View id ="mapContainer">
      			<View id = "directionView">
      				<ImageView id = "searchImg"></ImageView>
      				<TextField id = "locationEditText" ></TextField>
      				<Button id = "getDirectionBtn" ></Button>
      			</View>
      			<View id="mapView" ns="Alloy.Globals.Map" platform = "android"></View>
      		</View>
      	</Window>
      </Alloy>
      

      index.js

      $.index.open();
      

      Steps to reproduce

      Launch the application which has been attached and then perform the following test cases:

      1. Launch the application in landscape.
      2. Click on the text area.
      3. Keyboard is displayed (It should hide the map view entirely)
      4. Hide the keyboard.
      5. Output:
      A black box will be displayed in the text field area.
      This is not displayed if the keyboard is not overlapping the entire
      map view.

        Attachments

        1. device-2013-10-21-174236.png
          device-2013-10-21-174236.png
          56 kB
        2. SampleEditText.zip
          5.08 MB
        3. text_landscape.JPG
          text_landscape.JPG
          2.92 MB
        4. text_portrait.JPG
          text_portrait.JPG
          1.88 MB

          Activity

            People

            • Assignee:
              hpham Hieu Pham
              Reporter:
              mpmiranda Mauro Parra-Miranda
              Reviewer:
              Ping Wang
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code