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-7739 add label for prompt and implement background properties #4409
TIMOB-7739 add label for prompt and implement background properties #4409
Conversation
String strPrompt = TiConvert.toString(d, "prompt"); | ||
promptText.setText(strPrompt); | ||
} | ||
if (d.containsKey("backgroundImage")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All these strings should be constants in TiC class. Some of these probably already exist there.
There needs to be a test case added to the ticket. |
layout.setPadding(0,0,0,0); | ||
layout.setPadding(0, 0, 0, 0); | ||
int promptWidth = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 150, proxy.getActivity() | ||
.getResources().getDisplayMetrics()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we restricting width to be 150 dp? You've already set it to single line and truncate at end. Why not FILL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
modified
Needs a doc update and remerging with master. |
Please merge with master. |
Any update on this? |
NEW PR:- |
Closing this PR since new PR is up |
added properties
https://jira.appcelerator.org/browse/TIMOB-7739