Bug 34072 - [Xamarin.Forms] Android - Inconsistent Disabled Button behavior between Forms for Android & iOS
Summary: [Xamarin.Forms] Android - Inconsistent Disabled Button behavior between Forms...
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 1.5.0
Hardware: All Mac OS
: Normal normal
Target Milestone: ---
Assignee: E.Z. Hart [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-09-18 15:07 UTC by Matthew Regul
Modified: 2016-08-05 12:25 UTC (History)
7 users (show)

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


Attachments
Sample App (6.81 MB, application/zip)
2015-09-18 15:07 UTC, Matthew Regul
Details


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:
VERIFIED FIXED

Description Matthew Regul 2015-09-18 15:07:06 UTC
Created attachment 12965 [details]
Sample App

**Overview:**
There appears to be inconsistent Xamarin.Forms.Button behavior between the Android and iOS.

Disabling a Forms Button on Android does not gray the text color, whereas it does in Forms for iOS and also in both NonForms iOS & Android.

*=*=*=*=*=*=*=*=*=*=*=*=* 
Because of this bug, you are able to adjust the Text Color of a Disabled button in Forms for Android.  Which in turn lead to Customers requesting the ability to adjust Disabled text colors in Forms for iOS  (See my private note below)
*=*=*=*=*=*=*=*=*=*=*=*=*



**Steps to Reproduce:**
See image - https://dl.dropboxusercontent.com/u/62849286/DisabledButtonTextColor/BugImage.png

Run the attached sample solution which includes the following projects:
- Forms.Android (DisabledButtonTextColor.Droid) *BUG HERE*
- Forms.iOS (DisabledButtonTextColor.iOS)
- NonForms.Android
- NonForms.iOS

Solution attached above, but also hosted here - https://dl.dropboxusercontent.com/u/62849286/DisabledButtonTextColor/DisabledButtonTextColor.zip



**Actual Results:**
When running the Android Forms project, the button is not grayed when disabled.



**Expected Results:**
Android Forms buttons to gray out just as it does in Forms.iOS and NonForms Android & iOS   



**Build Date & Platform:**
XF 1.5.0.6446


   
**Additional Information:**
=== Xamarin Studio ===

Version 5.10 (build 704)
Installation UUID: 3477b147-e3de-47d4-87f5-4f0230db8f1e
Runtime:
	Mono 4.2.0 (explicit/2701b19)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402000207

=== Xamarin.Profiler ===

Version: 0.20.81.0
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Xamarin.Android ===

Version: 5.1.99.653 (Enterprise Edition)
Android SDK: /Users/matthewr/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3   (API level 10)
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
		5.1   (API level 22)

SDK Tools Version: 24.3.4
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 22.0.1

Java SDK: /usr
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 ===

Version: 0.4.4
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 6.4 (7720)
Build 6E35b

=== Xamarin.iOS ===

Version: 8.13.0.131 (Enterprise Edition)
Hash: 79f8535
Branch: master
Build date: 2015-08-31 15:32:33-0400

=== Xamarin.Mac ===

Version: 2.3.0.131 (Enterprise Edition)

=== Build Information ===

Release ID: 510000704
Git revision: c16e63aeeaa63ea912638f958ae1547905aed4e5
Build date: 2015-08-31 15:47:00-04
Xamarin addins: a7a74af8bcc6bca9a02f34afb66025c0a3fa18cb
Build lane: monodevelop-lion-master

=== Operating System ===

Mac OS X 10.10.5
Darwin mMac.home 14.5.0 Darwin Kernel Version 14.5.0
   Wed Jul 29 02:26:53 PDT 2015
   root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
Comment 2 Rui Marinho 2015-09-30 19:51:20 UTC
Should be fixed in 1.5.1-pre1
Comment 3 Parmendra Kumar 2015-10-08 08:00:12 UTC
I have checked this issue with Xamarin.Forms 1.5.1-pre1 and its working fine.

Hence closing this issue.
Comment 4 Rajesh Vaghela 2016-08-05 09:59:39 UTC
This bug is present in Xamarin.Forms 2.3.1.114 and also 2.3.2.118-pre1
Comment 5 Rajneesh Kumar 2016-08-05 12:19:49 UTC
I have checked this issue with Xamarin.Forms 2.3.2.118-pre1 and observed that this issue is working fine.

Screencast: http://www.screencast.com/t/P9OloEntJa

@Rajesh, If you still facing same issue please file a separate bug for the same.

Thanks.
Comment 6 Parmendra Kumar 2016-08-05 12:25:05 UTC
An update for comment #5.

@Rajesh, To Verify/Reproduce this issue I have used attached project in bug description.