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

Android: borderColor is not behaving the same in 3.2.0 and 3.1.3 (Label & Textfield)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.0
    • Component/s: Android
    • Environment:

      Description

      Problem Description

      If you compile the same code with 3.2.0 and 3.1.3, the borderColor will differ between one and the other (with 3.1.3 you will be able to see the border and with 3.2.0.GA the borderColor won't be present at all).

      Testcase

      var win = Ti.UI.createWindow({backgroundColor:'white'});
      var label = Ti.UI.createLabel({
      	borderColor:"pink",
      	top:"40",
      	left:"40",
      	borderRadius:"4",
      	text:'Test',
      });
      var tf = Ti.UI.createTextField({
      	borderColor:"pink",
      	top:"80",
      	left:"40",
      	borderRadius:"4",
      	width:'40',
      });
      win.add(label);
      win.add(tf);
      win.open();
      

      Instructions to reproduce

      1. CReate a new mobile project classic titanium in 3.2.0
      2. Paste the testcase in app.js
      3. Run in device
      4. Change the Mobile SDK to 3.1.3.GA
      5. Run it again in device
      6. You will see different outputs in the same screen.

      Extra info

      Related Q&A: http://developer.appcelerator.com/question/160915/bordercolor-is-not-working-on-android-for-labels-and-text-fields

        Attachments

          Activity

            People

            • Assignee:
              sunila Sunila
              Reporter:
              mpmiranda Mauro Parra-Miranda
              Reviewer:
              Hieu Pham
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration