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-16353] Use TiTranslucentActivity if the backgroundcolor is transpar... #5390

Merged
merged 2 commits into from Mar 7, 2014

Conversation

salachi
Copy link
Contributor

@salachi salachi commented Feb 26, 2014

Use TiTranslucentActivity if the backgroundcolor is transparent or has alpha

https://jira.appcelerator.org/browse/TIMOB-16353

@@ -350,6 +351,11 @@ private void fillIntent(Activity activity, Intent intent)
}
if (!modal && hasProperty(TiC.PROPERTY_OPACITY)) {
intent.setClass(activity, TiTranslucentActivity.class);
} else if (hasProperty(TiC.PROPERTY_BACKGROUND_COLOR)) {
Integer bgColor = TiConvert.toColor(properties, TiC.PROPERTY_BACKGROUND_COLOR);
Copy link
Contributor

Choose a reason for hiding this comment

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

return type for this method is int not Integer

@vishalduggal
Copy link
Contributor

Code Reviewed. Please address comments

@salachi
Copy link
Contributor Author

salachi commented Mar 7, 2014

Addressed review comments

@vishalduggal
Copy link
Contributor

Code Reviewed. ACCEPTED

@vishalduggal
Copy link
Contributor

Functional Passed. APPROVED

vishalduggal added a commit that referenced this pull request Mar 7, 2014
[TIMOB-16353] Use TiTranslucentActivity if the backgroundcolor is transpar...
@vishalduggal vishalduggal merged commit e4d4dcd into tidev:master Mar 7, 2014
farfromrefug pushed a commit to Akylas/titanium_mobile that referenced this pull request Aug 15, 2014
[TIMOB-16353] Use TiTranslucentActivity if the backgroundcolor is transpar...
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

3 participants