I have posted this here as I am not sure its a bug or not. But as far as I can see its not possible to create a std ui Search view as in ios using the ui module(as far as I can see, very possible I have over looked something).
But I think the main reason you cant get the same look and feel as a standard ios search view is because you cant manipulate some attrs of the ui.TextField, eg bg_color, corner_radius.
I would have thought you would compose the the view like -
1. Create a ui.View with a corner_radius and set the flex attrs.
2. Create an ui.ImageView and add the built in image 'iob:ios7_search_24'
3. Create a ui.TextField, with no border_width, corner_radius, bg_color
4. Add the image and textfield to the view, positioning them with x any attrs, set the flex of the textfield.
I have tried various things, but I cant get a search field view that is the equivalent of the ios one.
Again, maybe I am just missing some thing simple. Adding an search emoji in the placeholder is not the correct way.
Any insight would be great