Bug 43975 - The SearchBar doesn't display on Android N
Summary: The SearchBar doesn't display on Android N
Alias: None
Product: Forms
Classification: Xamarin
Component: Android (show other bugs)
Version: 2.3.1
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
: 44171 (view as bug list)
Depends on:
Reported: 2016-09-02 18:30 UTC by jmgomez
Modified: 2018-01-05 14:32 UTC (History)
17 users (show)

See Also:
Tags: ac
Is this bug a regression?: ---
Last known good build:


Description jmgomez 2016-09-02 18:30:54 UTC
Android N is out there and it seems like the latest version of Xamarin.Forms is not compatible with it.
Comment 1 williamd 2016-09-16 17:50:27 UTC
Can confirm that the SearchBar does not display when using Xamarin.Forms with Android Nougat.
Comment 2 williamd 2016-09-19 13:37:51 UTC
Did some digging and it appears to be related to the Android issue: https://code.google.com/p/android/issues/detail?id=221304&q=reportedby%3DDeveloper%20-has%3Amergedinto%20type%3Adefect&colspec=ID%20Status%20Priority%20Owner%20Summary%20Stars%20Reporter%20Opened&start=500

You can work around this issue by giving your SearchBar an explicit HeightRequest value.
Comment 3 Paul DiPietro [MSFT] 2016-10-03 15:42:19 UTC
*** Bug 44171 has been marked as a duplicate of this bug. ***
Comment 4 Paul DiPietro [MSFT] 2016-10-03 15:44:53 UTC
This is a Google issue as linked above but I'll set to confirmed for now to keep track of the status of this.
Comment 5 dpedrinha 2017-08-30 05:04:24 UTC
Same problem here. Which would be the default HeightRequest?
Comment 6 Nikolai Doronin 2017-08-30 06:30:40 UTC
@dpedrinha 42 on Android, probably.

Note You need to log in before you can comment on or make changes to this bug.