android:layout_height=“?attr/actionBarSize” is not working with support:design:23.0.0' library

前端 未结 5 2189
后悔当初
后悔当初 2020-12-15 18:10

If I set android:layout_height=\"56dp\", I can see the toolbar in graphical layout. But when I set like the below,

       

        
5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 19:09

    It was a problem in setting the theme.

    Theme Values-v21.
    
     
    

    when i selected the correct theme like here, it works fine for me!

    Hope it helps.

提交回复
热议问题