Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-4041

Android: Add "separatorStyle" property to Ti.UI.ListView

    Details

    • Story Points:
      5
    • Sprint:
      2019 Sprint 2, 2019 Sprint 3, 2019 Sprint 4, 2019 Sprint 5, 2019 Sprint 6, 2019 Sprint 7, 2019 Sprint 8, 2019 Sprint 9

      Description

      Users have requested the ability to eliminate the Separator in a tableview so when they are using backgroundImages for the TableViewRow there is no break in between the rows. See screenshot: http://screencast.com/t/5lDQUpCyHpxv

      Setting the tableView seperatorColor to 'transparent' shows the table backgroundColor.

      Sample project is attached.

      The API should match iOS as closely as possible, so we are moving the existing iOS* constants into the top level UI namespace, and keeping the existing separatorStyle property that iOS uses. The valid styles should be:

      Ti.UI.TableViewSeparatorStyle.NONE
      Ti.UI.TableViewSeparatorStyle.SINGLE_LINE

      In the future we can also implement custom separator drawables by passing them to this property (Android only)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                aleard Alan Leard
                Reviewer:
                Joshua Quick
                Tester:
                Josh Longton
              • Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code