Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-19855] Android: Fix tableview layout. #7417

Merged
merged 1 commit into from Nov 11, 2015

Conversation

hieupham007
Copy link
Contributor

h = Math.max(h, Math.max(content.getMeasuredHeight(), Math.max(leftImageHeight, rightImageHeight)));
h = Math.max(h, minRowHeight);
// If measure spec is not specified, height should behave as Ti.UI.SIZE
if (hMode == 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better if in the future magic numbers not used if possible although comments have the info.
I.e. 0 when I assume it's MeasureSpec.UNSPECIFIED

@ashcoding
Copy link
Contributor

Code reviewed functionally tested. Accepted

ashcoding added a commit that referenced this pull request Nov 11, 2015
[TIMOB-19855]: Fix tableview layout.
@ashcoding ashcoding merged commit 8d0f1a3 into tidev:master Nov 11, 2015
@ashcoding ashcoding changed the title [TIMOB-19855]: Fix tableview layout. [TIMOB-19855] Android: Fix tableview layout. Nov 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants