Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1341

"Auto" TableViewRow not working in Android 6

    Details

      Description

      Dynamic height of TableViewRow doesn't work in Android 6:

      <Alloy>
      	<Window class="container">
      		<TableView height="Ti.UI.SIZE" layout="vertical">
      			<TableViewRow height="Ti.UI.SIZE">
      <Label height="Ti.UI.SIZE">
      Label1
      Label1
      Label1
      </Label>
      			</TableViewRow>
      			<TableViewRow height="Ti.UI.SIZE">
      <Label text="Label2" height="Ti.UI.SIZE" />
      			</TableViewRow>
      			<TableViewRow height="Ti.UI.SIZE">
      <Label text="Label3" height="Ti.UI.SIZE" />
      			</TableViewRow>
      		</TableView>
      	</Window>
      </Alloy>
      

      See attached Screenshots for expected Layout as in Android 5 + wrong layout in Android 6. In Android 6 the TableViewRow takes up the entire height of the screen.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shossain Shak Hossain (Inactive)
                Reporter:
                AceMcLoud Ace McLoud
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration