Other important UI components

Android Framework is large and powerful. So far, we have covered View classes, which are most frequently used. However, there are a lot of View classes that we did not cover. Some of them will be covered later, but some that are not so frequently used will be just mentioned. Anyway, it's good to know that these views exist and it is a good starting point for your further learning. Let's give some examples to give you an idea:

  • ConstraintLayout: This views and positions child elements in a flexible way
  • CoordinatorLayout: This is a very advanced version of FrameLayout
  • SurfaceView: This is a view used for drawing (especially when high performance is needed)
  • VideoView: This is set to play video content

Get Mastering Android Development with Kotlin now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.