Bug 11774 - android:tint property is visible in the properties window but can not be set
Summary: android:tint property is visible in the properties window but can not be set
Status: RESOLVED FEATURE
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.7.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jérémie Laval
URL:
Depends on:
Blocks:
 
Reported: 2013-04-14 02:59 UTC by softlion
Modified: 2017-09-01 06:55 UTC (History)
4 users (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 softlion 2013-04-14 02:59:00 UTC
How to reproduce:
using vs2012 (update.2)
add a new android layout
add an imageview and set the src attribute to a drawable png previously added as drawable resource.
in the properties toolbox, the "tint" cell does not accept input (even if it shows a drop down list)
if an item is selected in the dropdownlist, the attribute is visible in the xml source view android:tint="#fff"
Also, the tint is not applied in the design window.

What i was waiting for:
attribute set in the properties window, so it reflect what is in the xml view
tint applied in the design window (it should use imageView.SetColorFilter(Color))
Comment 1 Peter Collins 2013-05-13 18:45:11 UTC
This bug can be better addressed by breaking it into two parts. While the selected tint does not appear in the properties window or visibly on the designer view, it is applied in XML source and can be verified by deploying to device or emulator. The remaining issues are:

1) The selected tint value does not display in the properties window after selecting a value from the drop-down: http://screencast.com/t/YWKbJTN1UY3

2) The selected tint does not display in the designer view. I filed this as an enhancement for our Android Designer - Bug #12227
Comment 2 softlion 2017-09-01 06:55:02 UTC
Closing as using Android Studio designer with XamarIdea is much much faster and works fine