Bug 21608 - Android - button alignment changes after button is clicked
Summary: Android - button alignment changes after button is clicked
Status: RESOLVED DUPLICATE of bug 21138
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.2
Hardware: Other Other
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-07-25 17:40 UTC by daniel.luberda
Modified: 2014-07-28 11:52 UTC (History)
3 users (show)

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:

Description daniel.luberda 2014-07-25 17:40:20 UTC
Click the button

Button label alignment changes


	public class ButtonAlignBug : ContentPage
		public ButtonAlignBug()
			var button = new Button {
				Text = "Some button",
				BindingContext = this,
				BackgroundColor = Color.Accent,
				HorizontalOptions = LayoutOptions.FillAndExpand,
				Command = new Command(async () => 
					IsBusy = true;
					await Task.Delay(5000);
					IsBusy = false;

			var progress = new ProgressBar() {
				HorizontalOptions = LayoutOptions.FillAndExpand,
				BindingContext = this,
				IsVisible = false
			progress.SetBinding<ButtonAlignBug>(ProgressBar.IsVisibleProperty, v => v.IsBusy, BindingMode.OneWay);

			var root = new StackLayout() {
				HorizontalOptions = LayoutOptions.FillAndExpand,
				VerticalOptions = LayoutOptions.FillAndExpand,
				Padding = 5,
				Spacing = 5,
				Children = {

			Content = root;
Comment 1 Eric Maupin 2014-07-28 11:52:45 UTC

*** This bug has been marked as a duplicate of bug 21138 ***