public class EditCurrentAreaView : ContentPage { Entry currentAreaName = new Entry() { TextColor = Color.Black }; public EditCurrentAreaView(String currentPath) { var layout = new StackLayout { Orientation = StackOrientation.Vertical, Spacing = 0, BackgroundColor = Color.White }; layout.Children.Add(currentAreaName); var listView = new ListView() { ItemsSource = new List<String>() { "Hello", "world" } }; layout.Children.Add(listView); Content = layout; } }
//=======================
is this a bug or I used Entry in the wrong way?