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

后端 未结 1 1420
悲&欢浪女
悲&欢浪女 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"

    
    

    0 讨论(0)
提交回复
热议问题