Bug 13972 - Please bind more drawables such as IcMenuRefresh
Summary: Please bind more drawables such as IcMenuRefresh
Status: RESOLVED FEATURE
Alias: None
Product: Android
Classification: Xamarin
Component: Bindings ()
Version: 4.8.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Atsushi Eno
URL:
Depends on:
Blocks:
 
Reported: 2013-08-14 10:29 UTC by Neal
Modified: 2013-08-15 02:05 UTC (History)
1 user (show)

Tags:
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:
Status:
RESOLVED FEATURE

Description Neal 2013-08-14 10:29:49 UTC
Hello,

There are still quite a few drawables from the Android resources that are not bound in Xamarin.Android.  I'm not sure if there is a way to dynamically reference an image but for example, I need a "sync" icon and I want to use the ic_menu_refresh that's in the platform.  I'm not sure how you all choose what images are available or not.  If you could continue adding them I'd appreciate it.  And if there is a way to point to an item not directly bound please let me know.

Thanks.
Comment 1 Atsushi Eno 2013-08-15 02:05:06 UTC
Our API binding for android.jar binds any public member in android.R.drawable. It seems the resource you mentioned is NOT publicly accessible in Android API.
http://stackoverflow.com/questions/9385617/eclipse-not-recognizing-android-supplied-drawable

I believe Android does not expose this specific resource as public because it should NOT be.