title: Titanium android textview based zindex bad behavior #appcelerator
body: <p>My code works in iOS but not android. </p>
  
  <p>I have several views, where a settings button makes a view visible with a higher zindex. That original view and the second view that I made visible both have textfields. When I make the 2nd view visible only a part of the view appears like below.</p>
  
  <pre><code>original view
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/K3WNJ.png" rel="nofollow">original view with text view</a></p>
  
  <pre><code>second added view with higher zindex
  </code></pre>
  
  <p><a href="http://i.stack.imgur.com/2zHnU.png" rel="nofollow">original view second view w/ higher zindex partially visible</a></p>
  
  <p>The code for the original view</p>
  
  <pre><code>var view = Ti.UI.createView({backgroundColor: '#F00',top: theTop});
  T=Ti.UI.createView({backgroundColor:"#000",top:theTop});
  var textfield = Ti.UI.createTextField({
      color: 'black',
      height: '40dp',
      top: '5dp',
      left: '5dp',
      right: '50dp',
      style: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,
      hintTextColor:"black",
      hintText: 'Enter an address',
      backgroundColor: '#aaa',
      zindex:"1",
      paddingLeft: '5dp'
  });
  </code></pre>
  
  <p>The code for the 2nd view made visible</p>
  
  <pre><code>E=Titanium.UI.createView({
      borderRadius:8,
      backgroundColor:"red",
      visible:"false",
      zindex:"9999",
      top:5,
      left:5,
      width:250,
      height:80
   });
  
  P=Ti.UI.createTextField({
      height:"30dp",
      top:"8dp",
      left:"8dp",
      width:"200dp",
      zindex:"9999",
      style:Ti.UI.INPUT_BORDERSTYLE_ROUNDED,
      hintText:"ET API key",
      backgroundColor:"#fff",
      paddingLeft:"5dp"
  });
  </code></pre>
  
  <p>Again, this works fine in iOS but in android the 2nd view partially appears</p>