Coder Social home page Coder Social logo

Comments (8)

bparmentier avatar bparmentier commented on June 16, 2024

That's strange. Is it the first time you try the app? Which version is it? Do you have the same problem if you select another bike network?

from openbikesharing.

woutersj avatar woutersj commented on June 16, 2024

I am using v1.3 (from f-droid). I have used the app since 1.1.3, but have always had this issue. The station names are displayed in the map view though.
The same package on another phone does not have this issue. Removing and reinstalling has no effect. Neither does selecting another bike network.

screenshot_2014-09-20-15-57-39

from openbikesharing.

bparmentier avatar bparmentier commented on June 16, 2024

Could you post a logcat of when you open the application? Also, is the displayed entry (the "P 13") clickable? And I guess it takes all the screen, is it right?

from openbikesharing.

woutersj avatar woutersj commented on June 16, 2024

The entry is clickable (goes to station details). One item takes up the entire screen, but the list is scrollable, so there are other items of similar size below it.

from openbikesharing.

bparmentier avatar bparmentier commented on June 16, 2024

I watched your logcat. However I cannot find anything wrong with it.

I'm sorry, I can't reproduce your bug so I don't really know how to manage it...

Are you able to build the app yourself? I think it could be related with the file app/src/main/res/layout/station_list_item.xml. Each element of a line is defined in there. Try playing with the values of android:padding*, android:layout_width or android:layout_height and tell me if it goes better.

from openbikesharing.

woutersj avatar woutersj commented on June 16, 2024

I haven't had much success so far (I don't have a clue about Android development). I can get text to display by removing the ImageViews in station_list_item.xml, but then no stations show up in the favorites list.

I have also managed to reproduce the issue in a virtual Nexus S device, with a 4" 480x800 screen running Android 4.2.2. The same virtual device with Android 4.4.2 works fine.

from openbikesharing.

bparmentier avatar bparmentier commented on June 16, 2024

I found what was wrong! In one ImageView, the id referenced in layout_toStartOf was not the same as the one in layout_toLeftOf (and should have been). It seems that layout_toStartOf was used on Android 4.2 and layout_toLeftOf was used on Android 4.4 (layout_toStartOf was introduced in 4.2 for right-to-left locales).

I should have tested my app on all targeted Android version. Lesson learned 😉

Tell me if this works for you, and I'll push an update.

Thanks a lot for taking the time to report the bug!

from openbikesharing.

woutersj avatar woutersj commented on June 16, 2024

Great, that did it! Thanks a lot for this nice open source app.

from openbikesharing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.