I have RadListView which has default item template ListViewTextCell and LayoutDefinition of ListViewGridLayout.
In Android devices ListViewTextCell text are not vertically center align, but in iOS it is ok. It seems like even without using "Detail" section, ui rendere keeps space for that. ListViewLinearLayout also has same problem. i'll post xaml here...
<
telerikDataControls:RadListView
ItemsSource
=
"{Binding EventStatusList}"
SelectedItem
=
"{Binding SelectedEventStatus}"
SelectionMode
=
"Single"
>
<
telerikDataControls:RadListView.ItemTemplate
>
<
DataTemplate
>
<
telerikListView:ListViewTextCell
Text
=
"{Binding EventStatusDescription}"
/>
</
DataTemplate
>
</
telerikDataControls:RadListView.ItemTemplate
>
<
telerikDataControls:RadListView.LayoutDefinition
>
<
telerikListView:ListViewGridLayout
HorizontalItemSpacing
=
"2"
VerticalItemSpacing
=
"2"
SpanCount
=
"3"
/>
</
telerikDataControls:RadListView.LayoutDefinition
>
<
telerikDataControls:RadListView.ItemStyle
>
<
telerikListView:ListViewItemStyle
BackgroundColor
=
"{StaticResource BrandColorDarker}"
BorderWidth
=
"0"
TextCellTextColor
=
"White"
BorderLocation
=
"None"
BorderColor
=
"Transparent"
/>
</
telerikDataControls:RadListView.ItemStyle
>
<
telerikDataControls:RadListView.SelectedItemStyle
>
<
telerikListView:ListViewItemStyle
TextCellTextColor
=
"{StaticResource BrandColor}"
BackgroundColor
=
"White"
BorderColor
=
"Transparent"
BorderWidth
=
"0"
BorderLocation
=
"None"
/>
</
telerikDataControls:RadListView.SelectedItemStyle
>
<
telerikDataControls:RadListView.PressedItemStyle
>
<
telerikListView:ListViewItemStyle
TextCellTextColor
=
"{StaticResource BrandColor}"
BorderColor
=
"White"
BorderWidth
=
"5"
BorderLocation
=
"All"
/>
</
telerikDataControls:RadListView.PressedItemStyle
>
</
telerikDataControls:RadListView
>
I can not find a way to attach images to this thread. how to remove extra space under text in Android ?