Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
Update the test code (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
rookiejava committed Jul 29, 2020
1 parent 8a0b8ce commit 7c85f98
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,7 @@ However, they can be substituted with Xamarin.Forms controls. Below shows how th
## Tip and Tech

- [Localization](doc/guide/Localization.md) : This guide describes how to support multiple languages.
- Recommendations for `ItemHeight` of `ListView` or `CircleListView`
- According to the [Galaxy Watch's UI Component guideline](https://developer.samsung.com/galaxy-watch-design/ui-components/list.html), we recommend that the height of each item (including headers or footers) can be used to occupy at least one third of the screen (at least 115~120). The default height for a list item is 130 pixel.
<img src="https://developer.samsung.com/sd2_images/gear/design/UI_11.3.3.png" width=800/>

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
AbsoluteLayout.LayoutFlags="PositionProportional">
<ListView.ItemTemplate>
<DataTemplate>
<w:CheckCell Text="{Binding Text}" On="{Binding IsSelected}" OnColor="Violet" />
<w:CheckCell Text="{Binding Text}" On="{Binding IsSelected}" />
</DataTemplate>
</ListView.ItemTemplate>
<ListView.Header>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<w:CircleListView.HeaderTemplate>
<DataTemplate>
<Label
HeightRequest="120"
FontAttributes="Bold"
FontSize="Large"
HorizontalTextAlignment="Center"
Expand All @@ -53,6 +54,7 @@
<w:CircleListView.FooterTemplate>
<DataTemplate>
<Label
HeightRequest="120"
FontAttributes="Bold"
FontSize="Large"
HorizontalTextAlignment="Center"
Expand Down

0 comments on commit 7c85f98

Please sign in to comment.