Android - ActionBar not resizing with onConfigurationChanged ( AppCompat )

前端 未结 3 1418
夕颜
夕颜 2020-12-11 17:31

In my application manifest I\'ve add android:configChanges to prevent activity reload/restart on rotate



        
3条回答
  •  悲&欢浪女
    2020-12-11 18:33

    If you want to keep android:configChanges, you can use this to force 56dp toolbar height, align icons and fix small text issue:

    Toolbar XML:

        
    

    Styles XML:

    
    

提交回复
热议问题