title: How can I add button function into fragments
body: <p>I'm trying to create a learning application the activity will show 3 tabs, my question is how can I put a Video View into the tab. The codes for the button that I know doesn't work. any idea about what syntax should I use when it comes to fragments?<a href="https://i.stack.imgur.com/DxHDV.png" rel="nofollow noreferrer">enter image description here</a></p>