[Android] fixes pop-up dialog in Pickers when you call Focus() (#4725)
authorPavel Yakovlev <v-payako@microsoft.com>
Thu, 13 Dec 2018 23:44:53 +0000 (02:44 +0300)
committerRui Marinho <me@ruimarinho.net>
Thu, 13 Dec 2018 23:44:53 +0000 (23:44 +0000)
commitaaff052e0a01d06cd25ff97e66c3004e633dcacc
tree56711422040296212871369c8f6ef677f705698a
parent2138e63801fb94b2b5c203481ddf3fb02c0d09ca
[Android] fixes pop-up dialog in Pickers when you call Focus() (#4725)

* [Android] fixes pop-up dialog in Pickers when you call Focus()

* [Android] Extract the popup-on-focus logic
 - the will be useful when other, non-EditText triggers are used
 - this can be extended later if more features are needed
 - no specific types in base types
Xamarin.Forms.Platform.Android/Renderers/IPopupTrigger.cs [new file with mode: 0644]
Xamarin.Forms.Platform.Android/Renderers/PickerEditText.cs
Xamarin.Forms.Platform.Android/ViewRenderer.cs
Xamarin.Forms.Platform.Android/VisualElementRenderer.cs
Xamarin.Forms.Platform.Android/Xamarin.Forms.Platform.Android.csproj