Skip to content
This repository has been archived by the owner on Aug 10, 2020. It is now read-only.

Compile error of Entry custom renderer in android #3

Closed
apolo96 opened this issue Sep 17, 2017 · 0 comments
Closed

Compile error of Entry custom renderer in android #3

apolo96 opened this issue Sep 17, 2017 · 0 comments

Comments

@apolo96
Copy link

apolo96 commented Sep 17, 2017

The error appears when testing the app with in device with versions of android equal or less than api 19
[Error code]
Control.Background = Android.App.Application.Context.GetDrawable(Resource.Drawable.uhcustomentry);
[Solved]
Control.Background = ContextCompat.GetDrawable(Forms.Context, Resource.Drawable.uhcustomentry);

@adamped adamped closed this as completed Mar 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants