问题:
解决方法:
只需添加 app:contentInsetStart=“0dp” 这个属性就可以
<androidx.appcompat.widget.Toolbar
android:background="@color/theme_color"
app:contentInsetStart="0dp"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" />