Bug 14913 - match_parent attribute not recognized
Summary: match_parent attribute not recognized
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.1.x
Hardware: PC Windows
: Low normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-09-22 05:06 UTC by Tony
Modified: 2017-03-03 10:11 UTC (History)
1 user (show)

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


Attachments
Showing issue with match_parent in CheckBox control (73.48 KB, image/jpeg)
2013-09-22 05:06 UTC, Tony
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:
RESOLVED NORESPONSE

Description Tony 2013-09-22 05:06:39 UTC
Created attachment 4954 [details]
Showing issue with match_parent in CheckBox control

The legacy constant fill_parent appears to have been superceded by match_parent (Quote: "This constant is deprecated starting from API Level 8 and is replaced by match_parent." from http://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html). However the Xamarin Studio does not always recognize match_parent, thus the color/paint effect on the display of the axml source is corrupted, at least it is with a CheckBox control, as is shown in the attached screen grab.
Using:
=== Xamarin Studio ===

Version 4.1.10 (build 14)
Installation UUID: 7a6c4257-a123-4c4b-b669-3eeba0a5e2d2
Runtime:
	Microsoft .NET 4.0.30319.18052
	GTK+ 2.24.20 theme: MS-Windows
	GTK# (2.12.0.0)

=== Xamarin.Android ===

Version: 4.8.2 (Starter Edition)
Android SDK: C:\Program Files (x86)\Android\android-sdk
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_27
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) Client VM (build 20.2-b06, mixed mode)

=== Build Information ===

Release ID: 401100014
e88e6ef4416e4f8ca405a372df4f26cd67a2e8f6
Build date: 2013-09-05 16:32:19Z
Xamarin addins: 0a3cbd89efe969c522b81dc7c24d7da1564df585

=== Operating System ===

Windows 6.1.7601.65536 (64-bit)
Comment 1 Lluis Sanchez 2013-10-24 10:06:52 UTC
This seems to be a problem in the text editor syntax highlighting engine. Can you provide the source of the axml file?
Comment 2 Lluis Sanchez 2017-03-03 10:11:06 UTC
Closing.