In this video, I'll explain why Textviews and Buttons are clickable and show it in action.
00:45 Reviewing the View class
03:15 Updating the ClickingViews layout with a TextView
04:00 Setting up the TextView object
05:15 Updating the onClickListener
We know Buttons are meant for clicking. So why does Android allow you to click TextViews? To answer this, we'll examine the View class on the Android API.
Links
Android View class: https://developer.android.com/referen...
Click here to subscribe! / @codingfanatic8526
Website: https://www.codingfanatic.com/
Twitter: / rclarkecf
Github: https://github.com/codingfanatic
LinkedIn: / richard-clarke-8699a399
#codingfanatic #Android #100DaysofCode