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

Android: ListView doesn't correctly adhere to the Holo theme

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 3.1.1, Release 3.1.3
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      Titanium Studio, build: 3.1.0.201304151600
      SDK 3.1.1.GA

      Description

      Problem Description

      When using a ListView on Android with a Holo theme, there are discrepancies between how the TableView was originally displayed, and how the ListView is displayed. This is especially apparent in the section-titles, and in buttons on a table-view row, neither of which seem to change when the theme changes. See the attached screenshots.

      Steps to reproduce

      1. Create a new mobile project
      2. Import the attached test case
      3. Click in the tab 1, should show you a tableview
      4. Click in the tab 2, should show you the same data, but implemented in a listview.
      5. The theme in both cases should be the same, but it's different.

      Extra info

      I have attached a test-project to demonstrate this issue. The app has two tabs, one containing a TableView, and one containing a ListView. Both tables have a similar buildup and should look identical. However, they don't.

      The project in the zip-file contains a git repository. Switch between different commits to view the issue in the default theme, holo dark (currently selected) and holo light.

        Attachments

        1. Listview_theming.patch
          4 kB
          Tijs Zwinkels
        2. Screenshot_2013-08-09-09-54-00.png
          76 kB
          Tijs Zwinkels
        3. Screenshot_2013-08-09-09-54-04.png
          84 kB
          Tijs Zwinkels

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tinkertank Tijs Zwinkels
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-17651
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code