[TIMOB-16865] Android / MobileWeb: Unable to remove the TableView row separators even if the color is set to transparent
GitHub Issue | n/a |
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-12-10T03:18:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.2.0 |
Components | Android |
Labels | n/a |
Reporter | Bert Grantges |
Assignee | Hieu Pham |
Created | 2014-04-18T15:34:12.000+0000 |
Updated | 2016-02-18T08:13:12.000+0000 |
Description
I have a tableview where I would like to remove the tableview row separators completely. However, setting the separatorColor to transparent on Android (or on MobileWeb setting the separatorStyle to NONE) only hides the separator - it does not remove it.
iOS by contrast actually removes the separator all together and allows the tableViewRow to take up the full expected real estate.
See screenshot for comparisons.
Attachments
This is possible - and there is a native module out there to remove the separator (http://exygy.com/titanium-remove-tablewview-separators-android/) - however this should be included in our platform.
PR: https://github.com/appcelerator/titanium_mobile/pull/7514 I can't reproduce this issue with MobileWeb.
master PR: https://github.com/appcelerator/titanium_mobile/pull/7564 testing code:
Master PR merged. Doc update PR: https://github.com/appcelerator/titanium_mobile/pull/7565
Doc PR merged.
Verified the implementation. Ti.UI.TABLE_VIEW_SEPARATOR_STYLE_NONE & Ti.UI.TABLE_VIEW_SEPARATOR_SINGLE_LINE works as expected. Closing. Environment: Appc Studio : 4.5.0.201601131150 Ti SDK : 5.2.0.v20160114021251 Ti CLI : 5.0.5 Alloy : 1.7.26 MAC Yosemite : 10.10.5 Appc NPM : 4.2.2 Appc CLI : 5.1.0 Node: v0.12.27 Nexus 6P - Android 6.0 Galaxy S4 - Android 4.4.4
Why we can't make same flags for all platform same way?