TabLayout inside Toolbar
问题 I want to achieve a certain look with the new Design Support Library and I can't stop seeing a weird bug. Here's the screencast with the desired output (not done with DSL) And the ouput I get using DSL . The toolbar+tabs is in an activity with a viewpager, and the recyclerView is inside a fragment within the viewpager (the adapter actually, but you get my point) Code for the activity : <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"