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

Android: Textfield cursor not visible when setting API level to 11 or above

    Details

      Description

      Steps to reproduce:

      1. Add the following in your tiapp.xml:

          <android xmlns:android="http://schemas.android.com/apk/res/android">
              <manifest>
                  <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="14"/>
              </manifest>
          </android>
      

      2. Use the following app.js:

      Titanium.UI.setBackgroundColor('#000');
      var win1 = Titanium.UI.createWindow({
      	title : 'Tab 1',
      	navBarHidden : true
      });
       
      var pw = Ti.UI.createTextField({
      	top : 20,
      	left : 10,
      	right : 10,
      	passwordMask : true,
      	backgroundColor : 'white'
      });
      win1.add(pw);
       
      win1.open(); 
      

      3. Click on the text field when the app is launched, and the cursor is white by default, which makes it nearly invisible.

      NOTE: This is related to heavyweight windows. If you comment out navBarHidden, this bug does not appear.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ayeung Allen Yeung
                Reporter:
                ayeung Allen Yeung
              • Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code