Android - Activity Home/Up arrow has additional padding/margin with SDK 24

前端 未结 3 1164
再見小時候
再見小時候 2021-01-31 19:12

I\'ve just updated my app from using SDK 23 to SDK 24.

A problem has arisen for my activities that have show the Up/Home arrow (i.e., getSupportActionBar().setDisp

3条回答
  •  有刺的猬
    2021-01-31 19:44

    This was answered in the Android Issues Tracker. The link is:

    https://code.google.com/p/android/issues/detail?id=213826

    Add app:contentInsetStartWithNavigation="0dp" to the toolbar view.

提交回复
热议问题