android.support.v7.widget.Toolbar icon alignment issue

后端 未结 1 1421
悲&欢浪女
悲&欢浪女 2021-02-07 11:11

Using the new Android 5.0 Toolbar approach, and following the Google IO example, I\'m setting a navigation icon and a spinner in the toolbar.

The issue is, the navigatio

相关标签:
1条回答
  • 2021-02-07 11:41

    Try to use ?attr/actionBarSize instead of android:layout_height="?android:actionBarSize"

    <android.support.v7.widget.Toolbar 
        android:layout_height="?attr/actionBarSize">
    
    0 讨论(0)
提交回复
热议问题