jeffdepiazza / WODJournal

https://github.com/jeffdepiazza/WODJournal.git
0 stars 0 forks source link

Horizontal Scroll for parents/children in ExpandableListView that are too large #1

Closed jeffdepiazza closed 10 years ago

jeffdepiazza commented 10 years ago

Need to come up with a good way to allow a horizontal scroll for parents/children in the ExpandableListView for the workout view. Tried this with HorizontalScrollView, but lost the ability to long click on the entire ListView for that entry. Also tried putting in "android:descendantFocusability="blocksDescendants" but this only partially worked as the scrollview was still not clickable, but it gave me back the click events for anything else in that view. Need to come up with a better solution.

jeffdepiazza commented 10 years ago

What we need to do is to build the text that we want to display, and put it into a singular TextView that is in the XML instead of trying to display each bit in its own TextView. This will speed up the code as we aren't making as many findViewbyID calls, and will allow that one TextView to be able to wrap down below to take care of the multiple line issue above without resorting to a HorizontalScrollView and the issues that come with it.

jeffdepiazza commented 10 years ago

Completed this by no using a horizontal scroll, which would've been nice...but we have now a singular text view for the top line of the movment/container, in addition to removing quite a number of findViewbyID calls that will speed up the code by a bit.