Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: Release 9.3.0
-
Fix Version/s: Release 9.3.0
-
Component/s: Android
-
Labels:
-
Environment:
Ti SDK 9.3.x
-
Story Points:5
-
Sprint:2020 Sprint 25
Description
Specifying HeaderView inside ListView/TableView doesn't work on SDK 9.3.x in following conditions:
- If HeaderView's View height is Ti.UI.SIZE
- If HeaderView's View height is Ti.UI.FILL
- If HeaderView's View height is in %age or not mentioned at all
However, it works only:
- If HeaderView's View height is fixed like 100, 200, etc…
- In all cases with SDK 9.2.2.GA or lower
Sample code to reproduce the issue:
<Alloy> |
<Window backgroundColor="white"> |
<ListView backgroundColor="#ebe1e5"> |
<ListSection> |
<HeaderView> |
<View backgroundColor="yellow"> |
<Label top="20" color="black">Some Label</Label> |
<View> |
<Button>Some Button</Button> |
</View> |
</View> |
</HeaderView> |
</ListSection> |
</ListView> |
</Window> |
</Alloy> |
|