sbch1234 sbch1234 -4 years ago 199
Android Question

Type RowDefinitions not found in xmlns="

I am trying to make an app, like tinder.

I wanted to have Text on top of the screen and two buttons for like and dislike, for this I chose to use the gridlayout, that xamarin can use.

Whenever I try to run my app it gives me this error: "Xamarin.Forms.Xaml.XamlParseExeption 7:8: Type RowDefinitions not found in xmlns"

My code is this

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns=""
<Grid x:Name="controlGrid" rowSpacing="1" columnSpacing="1">
<RowDefinitions Height="*"/>
<RowDefinitions Height="*"/>
<RowDefinitions Height="*"/>
<RowDefinitions Height="*"/>
<RowDefinitions Height="*"/>
<ColumnDefinitions Width="*"/>
<ColumnDefinitions Width="*"/>
<ColumnDefinitions Width="*"/>

<Label Text="Slagelse Kommune" Grid.Row="0" Grid.Column="1"/>

<Button Text="Syntes ikke godt om" Clicked="handle_dislike"

<Button Text="Syntes godt om" Clicked="handle_like"


I've looked in the reference manual, and it had an example on what it should look like, and its pretty much THIS!

I would greatly appreciate any help.

sincerely Me

Answer Source

RowDefinition and ColumnDefinition are singular, not plural.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download