Bug 27314 - [Android only] Label text alignment changes after button is pressed
Summary: [Android only] Label text alignment changes after button is pressed
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Rui Marinho
Depends on:
Reported: 2015-02-23 13:24 UTC by Matthew Leibowitz
Modified: 2015-07-20 14:14 UTC (History)
9 users (show)

Tags: android visual button AC
Is this bug a regression?: ---
Last known good build:

Test Case (261.33 KB, application/x-zip-compressed)
2015-02-23 13:24 UTC, Matthew Leibowitz
Screenshot (30.09 KB, image/png)
2015-02-23 13:25 UTC, Matthew Leibowitz

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:

Description Matthew Leibowitz 2015-02-23 13:24:30 UTC
Created attachment 9982 [details]
Test Case

This is the same as bug 21138.
However, this now occurs only on Android 5.0.
Comment 1 Matthew Leibowitz 2015-02-23 13:25:04 UTC
Created attachment 9983 [details]
Comment 2 Josh Wallace 2015-02-25 00:46:49 UTC
Hi This is still occurring in older versions of Android. We are seeing it on a Samsung Galaxy Note 2 running 4.1.2
Comment 3 asimk 2015-03-24 13:48:28 UTC
I have checked this issue with the sample app attached in bug description and I observed that application is working fine. I observed that Label text alignment is remains same when I press the button. Please go through screencast and let me know if I have to perform any other step to reproduce this issue.
Screencast: http://www.screencast.com/t/wu81O4QAB

If you are able to reproduce this issue then please attach 'android device log', Zip Xamarin log and application output.

VS -> Help -> Zip Xamarin Logs
VS -> View -> Output

I have check this issue with samsung galaxy note3/Emulator and getting same behavior on both. 

Environment Info:
Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.6.00007

Installed Version: Professional

Xamarin   3.9.534.0 (bb0518b)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android (38ac51a9d0866c7726a7484d82632c82c8221594)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS (61fa2c6e0f2ef51eb98b8810de13b4469f379cc7)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified
Comment 4 John Miller [MSFT] 2015-04-08 12:33:52 UTC
I was able to reproduce this on API 21 with 1.4.1.

@asimk, I don't think your test worked because it was on API 19. This bug is for the issue on API 21.
Comment 6 Rui Marinho 2015-07-02 15:04:01 UTC
Hi, you must set your target/compile version of your android projects to 21+ , after doing that and upgrading to Xamarin.Forms 1.4.3 i wasn't able to reproduce the issue.

Can you please confirm? thanks
Comment 7 Jason Smith [MSFT] 2015-07-08 04:06:57 UTC
Should be fixed in 1.4.4-pre1
Comment 8 Parmendra Kumar 2015-07-20 14:14:04 UTC
I have checked this issue with X.F 1.4.4-pre3 and its working fine at my end.

Hence closing this issue.