Bug 8223 - Layout parameters do not work correctly from styles.xml
Summary: Layout parameters do not work correctly from styles.xml
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.2.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-11-05 11:06 UTC by Allie Miller
Modified: 2012-11-05 13:32 UTC (History)
1 user (show)

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


Attachments
Java Project (688.61 KB, application/zip)
2012-11-05 13:29 UTC, Allie Miller
Details
Customer created test case (609.88 KB, application/zip)
2012-11-05 13:30 UTC, Allie Miller
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 INVALID

Description Allie Miller 2012-11-05 11:06:56 UTC
Case #19347 and #19350

When using styles.xml to assign properties to two widgets in a column format with two rows of data  (Each row has a textview and an edittext widget), the layout does not work properly. The first column is 30% and the second column is 70%.

In the case #, there is an attached project, there are 4 lines commented out. Each of these lines programmatically assigns the layout parameters to the widgets. These programmatic means work when they are commented out. 

No error messages appear. 

A Java/Eclipse test project is currently being created.

System Info:
Mono for Android 4.2.7
MonoDevelop 3.4.0.7
MacBook Pro
Comment 1 Allie Miller 2012-11-05 13:29:00 UTC
Created attachment 2865 [details]
Java Project
Comment 2 Allie Miller 2012-11-05 13:30:06 UTC
Created attachment 2866 [details]
Customer created test case