Android Studio 3.5 xml 格式化解决办法,正常使用格式化功能
1. Go to Android Studio > Preferences. For Windows, go to File> Settings.
2. Go to Editor>Code style>XML. OR 2.Search for xml in search bar.
3. Go to Android Tab.
4. Click on display on one link "Set from..."> Predefined style> Android.
5. Click on Apply and try to refactor.
正确的姿势 错误的姿势From StackOverflow
网友评论