xamarin/Xamarin.Forms
Android: ImageSource.FromFile does not pick up images if they are stored in a mipmap folder
Ouverte
#3 244 ouverte le 9 juil. 2018
help wantedin-progressp/Androidup-for-grabs
Métriques du dépôt
- Stars
- (5 644 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Description
If Android images are stored in mipmap folders (see attached screenshot), then ImageSource.FromFile does not pick the images up, since the associated resource lies in the Resources.Mipmap type as opposed to the Resources.Drawable type.
Steps to Reproduce
- Create a Xamarin Forms project using File -> New Project
- Check that image resources are held in mipmap files, as per the attached screenshot. The F# template certainly does this.
- Load an image using ImageSource.FromFile
Expected Behavior
The image should be visible.
Actual Behavior
The image is not visible.
Basic Information
- Version with issue:
- Last known good version:
- IDE:
- Platform Target Frameworks:
- iOS:
- Android:
- UWP:
- Android Support Library Version:
- Nuget Packages:
- Affected Devices:
Screenshots
