[TIMOB-869] Android: Missing separatorColor on TableView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.3.0 |
Components | Android |
Labels | android, defect |
Reporter | Don Thorp |
Assignee | Bill Dawson |
Created | 2011-04-15T02:38:09.000+0000 |
Updated | 2011-04-17T01:54:30.000+0000 |
Description
See https://developer.appcelerator.com/apidoc/mobile/1.2/Titanium.UI.TableView-object.html"> doc
add support for separatorColor to TableView.
At a minimum you'll probably need to do something like this. On the list view
int dividerHeight = listView.getDividerHeight();
listView.setDivider(new ColorDrawable(TiColorHelper.parseColor(newValue)));
listView.setDividerHeight(dividerHeight); // This may not be necessary, but copy the old height.
(from [bd567014515b6d7f9c081b862b738e080a678caf]) Support separatorColor in TableView [#869 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/bd567014515b6d7f9c081b862b738e080a678caf"> http://github.com/appcelerator/titanium_mobile/commit/bd567014515b6...