Bug 17718 - Drawables with minus / dash in name are not displayed
Summary: Drawables with minus / dash in name are not displayed
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.10.2
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
Depends on:
Reported: 2014-02-12 03:28 UTC by René Ruppert
Modified: 2014-02-12 09:16 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description René Ruppert 2014-02-12 03:28:06 UTC
This piece of XML:

        android:id="@+id/imageView2" />

does not display the drawable in question in the designer. If I replace the drawable's name with "apploading_app_loading_icon" and rename the resource it works. Seems like the designer does not like dashes.

Xamarin Android 4.12
VS Plugin 1.10
Visual Studio 2013
Comment 1 Lluis Sanchez 2014-02-12 09:16:58 UTC
Dashes are not allowed in resource file names. If you try to build the app you'll get a build error that explains this issue.