I’m stuck on this one. It seems to me that I should be putting the SeekBar in fragment_beat_box.xml, but how? I can’t seem to add anything within or surrounding it. Should I be trying one or these approaches or something totally different? Your speedy advice would be most appreciated.
I was able to put in a FrameLayout inside the layout, wrapping the Recyclerview. Maybe I should use LinearLayout or soemthing else, your advice welcome. Just started over with a saved copy of my Chaper 21 pre-challenge solution and it worked where I was getting errors before, I’m sure I must have done something I shouldn’t have. Code in Chapter 23 helped. So I can continue now. Thanks.
Yes, I would use a LinearLayout inside of the fragment to include the seekbar. Something like this:
<LinearLayout android:orientation="vertical"...> <RecyclerView.../> <SeekBar.../> </LinearLayout