Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-28276

Android: ListView/TableView "headerView" may not show when setting height as of 9.3.0

    Details

    • Story Points:
      5
    • Sprint:
      2020 Sprint 25

      Description

      Specifying HeaderView inside ListView/TableView doesn't work on SDK 9.3.x in following conditions:

      1. If HeaderView's View height is Ti.UI.SIZE
      2. If HeaderView's View height is Ti.UI.FILL
      3. If HeaderView's View height is in %age or not mentioned at all

      However, it works only:

      1. If HeaderView's View height is fixed like 100, 200, etc…
      2. 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>
      
      

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              prashant_saini Prashant Saini
              Reviewer:
              Joshua Quick
              Tester:
              Lokesh Choudhary
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration