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

Android: TextField cursor before hintText when textAlign is RIGHT

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      SDK 5.3.1.GA
      Android 6.0.1

    • Story Points:
      0

      Description

      When creating a TextField with alignment right and a hintText the cursor is placed on the left side of the text, which looks like it is actual text the user has to clear

      var win = Ti.UI.createWindow({backgroundColor:"#fff"});
      var tf = Ti.UI.createTextField({
          textAlign: Ti.UI.TEXT_ALIGNMENT_RIGHT,
      	width:200,
      	height:40,
      	borderColor: "red",
      	hintText: "TestTest",
          hintTextColor:"#888",
          color:"#000"
      });
      win.add(tf);
      win.open();
      

      on iOS the cursor is on the right side which looks better for the user.

      Android 6
      SDK 5.3.1.GA (and 5.4.0.v20160720201924)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              michael Michael Gangolf
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration