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-14567 changed default color to black and add null value checking in propertyChanged method #4498

Conversation

bijupmb
Copy link
Contributor

@bijupmb bijupmb commented Jul 26, 2013

@@ -69,7 +70,7 @@ protected void onLayout(boolean changed, int left, int top, int right, int botto
tv.setFocusable(false);
tv.setSingleLine(false);
TiUIHelper.styleText(tv, null);
defaultColor = tv.getCurrentTextColor();
Copy link
Contributor

Choose a reason for hiding this comment

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

defaultColor is dependent on theme, and is not always black. You shouldn't change this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

@hieupham007
Copy link
Contributor

Code reviewed. Please address comments.

@hieupham007
Copy link
Contributor

Code reviewed and functionally tested. Request accepted

hieupham007 added a commit that referenced this pull request Aug 12, 2013
…hangeToTransparent

TIMOB-14567 changed default color to black and add null value checking in propertyChanged method
@hieupham007 hieupham007 merged commit 99bba2b into tidev:master Aug 12, 2013
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