Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Description of Problem:
Same as summary.
Steps to reproduce the problem:
1. GradientDrawable gd = new GradientDrawable();
gd.SetColors(int) method is not available.
gd.SetColors(int) should be available, as documented here:
Only the gd.SetColor(int) method is available.
How often does this happen?
I have tried to reproduce this issue but not able to reproduce. I am getting both methods "Setcolor (int)" and "Setcolors(int ) under Android.Graphics.Drawables.GradientDrawable. Here is the screencast for the same: http://www.screencast.com/t/TvnHVjhihfxk
Please let me know if I have to follow any other steps to reproduce this issue.
if still you are able to reproduce this issue, please provide build info and screencast/video for the same.
For XS build info, Location: XS-> Help-> About-> Show Details-> Copy information.
=== Xamarin Studio ===
Version 5.9 (build 120)
Installation UUID: 01e5bc8f-b688-48d1-afba-b03c1de9590b
Microsoft .NET 4.0.30319.34011
GTK+ 2.24.22 (MS-Windows theme)
=== Xamarin.Android ===
Version: 5.1.0 (Trial Edition)
Android SDK: C:\Users\Naqeeb\AppData\Local\Android\android-sdk
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.1 (API level 16)
4.2 (API level 17)
4.3 (API level 18)
4.4 (API level 19)
5.0 (API level 21)
Java SDK: C:\Program Files\Java\jdk1.7.0_71
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
=== Xamarin Android Player ===
=== Build Information ===
Release ID: 509000120
Git revision: f5e41538f5c8635b6c00fb22f522c1de4f6509b0
Build date: 2015-03-03 17:55:36-05
Xamarin addins: 564d7bb0d7d0bc4440c14e7baf16db2fadb76975
=== Operating System ===
Windows 6.2.9200.0 (64-bit)
@firstname.lastname@example.org: Note the "Since" section at the bottom of the member documentation:
> Since: Added in API level 16
This member was added in API-16. Consequently, you must set your $(TargetFrameworkVersion) value to be "v4.1" or later in order to use it.