Commit d7bdad2
authored
[Testing] Fixed Test case failure in PR 33363 - [01/05/2026] Candidate - 1 (#33384)
This pull request refines the logic for setting the search icon color in
the Android `SearchView`. This PR
#33071 set the search icon color to
transparent if no color was specified, which caused the search icon to
become invisible and led to search bar-related test failures. Now, if no
custom search icon color is provided, the icon will use the platform's
default primary text color instead of becoming transparent.
**Android SearchView icon color handling:**
* Updated `UpdateSearchIconColor` in `SearchViewExtensions.cs` to apply
the default primary text color (`TextColorPrimary`) to the search icon
when no custom color is set, instead of making it transparent.
<table>
<tr>
<td>
Before fix
</td>
<td>
After fix
</td>
</tr>
<tr>
<td>
https://github.com/user-attachments/assets/22c5dc6f-2e8a-417d-89da-afaa422c9e15
</td>
<td>
https://github.com/user-attachments/assets/b4289eb2-7266-48a2-be12-eb0eabecb40f
</td>
</tr>
</table>1 parent 6e2e673 commit d7bdad2
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
153 | 154 | | |
154 | | - | |
155 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| |||
0 commit comments