Details

    • Story Points:
      5
    • Sprint:
      2018 Sprint 06 SDK, 2018 Sprint 07 SDK, 2018 Sprint 08 SDK, 2018 Sprint 09 SDK

      Description

      Problem:
      The Ti.UI.Android.SearchView has no property to change the hintTextColor. In a light theme the color is always white and you can't see the hintText.

      Solution:
      Add hintTextColor as a property. Since it is Android-only no parity is needed.

      Example

      var win = Ti.UI.createWindow({
      	fullscreen: false,
      	theme: "Theme.AppCompat.Light"
      });
       
      // Use action bar search view
      var search = Ti.UI.Android.createSearchView({
      	hintText: "Table Search",
      	color: "#000",
      	hintTextColor: "#999",
              iconifiedByDefault: false
      });
       
      var data = [];
      data.push(Ti.UI.createTableViewRow({
      	title: 'Apple'
      }));
      data.push(Ti.UI.createTableViewRow({
      	title: 'Banana'
      }));
      data.push(Ti.UI.createTableViewRow({
      	title: 'Orange'
      }));
      data.push(Ti.UI.createTableViewRow({
      	title: 'Raspberry'
      }));
       
      var tableview = Titanium.UI.createTableView({
      	data: data,
      	search: search
      });
       
      win.add(tableview);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              michael Michael Gangolf
              Reviewer:
              Joshua Quick
              Tester:
              Samir Mohammed
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code