Relative Content

Tag Archive for android-fragmentsbuttonaddition

I have two buttons with the exact same code, one works the other crashes the app, why?

so this app is for me to track my bicycle rides. It is my first project using fragments. I want to see on fragment “gesamt” all bikerides i did over the year (kilometer and altitude).
So i created two progressbars (the max of the progressbars are the data from last year), and a surface to add racing bicycle and a surface to add mountainbike rides.
Once you enter your kilometer and altitude for, let´s say racing bicycle 500/5000 and press the add button
a TextView under the progressbar should display 500 / max and 5000 / max.