IPhone : Searchbar bar gradient
Guys,
Is it possible to do gradient on the bar of searchbar?
Tried all possible combination but it just won't render. So i wanted to check if anyone else had any luck.
I check the bug list and it's not available there so…
regards,
clayton
3 Answers
-
If anyone is looking for the gradient code.
backgroundGradient:{ type:'linear', colors:['#f4be66','#ea9511'], startPoint:{x:0,y:0}, endPoint:{x:0,y:45}, backFillStart:false }
-
You can just add:
barColor: '#yourFavoriteHexColor'
to switch the Color of your Searchbar.
As I know this will not work on Android too.
-
Does gradient work on Android?
I have been trying, but its not doing anything :(