Bug 21401 - Android - Entry display glitch when used in StackLayout with ListView
Summary: Android - Entry display glitch when used in StackLayout with ListView
Status: RESOLVED DUPLICATE of bug 21377
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.2
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-07-17 14:50 UTC by daniel.luberda
Modified: 2014-07-17 19:29 UTC (History)
3 users (show)

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


Attachments
Screenshot (296.99 KB, image/png)
2014-07-17 14:50 UTC, daniel.luberda
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 DUPLICATE of bug 21377

Description daniel.luberda 2014-07-17 14:50:56 UTC
Created attachment 7411 [details]
Screenshot

Steps: 

1. Run application
2. Entry views are cut (screenshot - left side)
3. Focus an entry - display glitch occurs (screenshot - right side)

public class EntryCutInHalfBug : ContentPage
{
	ObservableCollection<string> listItems = new ObservableCollection<string>();

	public EntryCutInHalfBug()
	{
		for (int i = 0; i < 100; i++)
		{
			listItems.Add(string.Format("List item {0}", i));
		}

		var entry1 = new Entry() {
			Placeholder = "Placeholder"
		};

		var entry2 = new Entry() {
			Placeholder = "Placeholder"
		};

		var entry3 = new Entry() {
			Placeholder = "Placeholder"
		};

		var entry4 = new Entry() {
			Placeholder = "Placeholder"
		};

		var entry5 = new Entry() {
			Placeholder = "Placeholder"
		};

		var entry6 = new Entry() {
			Placeholder = "Placeholder"
		};

		var entry7 = new Entry() {
			Placeholder = "Placeholder"
		};

		var list = new ListView() {
			HorizontalOptions = LayoutOptions.FillAndExpand,
			VerticalOptions = LayoutOptions.FillAndExpand,
			ItemsSource = listItems
		};

		var root = new StackLayout() {
			HorizontalOptions = LayoutOptions.FillAndExpand,
			VerticalOptions = LayoutOptions.FillAndExpand,
			Children = {
				entry1,
				entry2,
				entry3,
				entry4,
				entry5,
				entry6,
				entry7,
				list
			}
		};

		Content = root;
	}
}
Comment 1 Eric Maupin 2014-07-17 19:29:18 UTC
We've tested this against the fix in #21377 and it is working.

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