上QQ阅读APP看书,第一时间看更新
Summary
We have covered many topics in just a few dozen pages. We have not only built three different types of layout, including LinearLayout
with nested layouts, ConstraintLayout
with manually configured constraints, and TableLayout
(albeit with fake data), but we have also wired all the layouts together with clickable buttons and text that trigger our Kotlin code to switch between all these different layouts.
In the next chapter, we will stick with the topic of layouts. We will review the many attributes we have seen, and we will build our most aesthetically pleasing layout so far by incorporating multiple CardView
layouts, complete with depth and shadow, into a smooth-scrolling ScrollView
layout.