-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainPage.xaml
36 lines (33 loc) · 1.35 KB
/
MainPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="AndroidLayoutIssue.MainPage">
<ListView x:Name="LayoutProblem"
Margin="20"
>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<Grid>
<Grid.RowDefinitions >
<RowDefinition Height="Auto"/>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Image
Grid.Row="0"
Source="testgraphic.png"
Aspect="AspectFit"
>
</Image>
<Label Grid.Row="1" Text="Title" FontAttributes="Bold" ></Label>
<Label Grid.Row="2" Text="Description"></Label>
</Grid>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</ContentPage>