Android studio 3.5 refactor issue

前端 未结 8 1781
陌清茗
陌清茗 2020-11-22 03:33

I just updated my studio with android studio 3.5 and now when I am trying to refactor AndroidManifest.xml file and it is refactoring my all app permission to th

8条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-22 04:11

    You just need to set xml layout for Android applications from the settings.

    Follow this steps:

    1. Go to Android Studio > Preferences. For Windows, go to File > Settings.

    2. Search for xml in search bar.

    3. Under code style section, select xml tab.

    4. In the top right corner, click on set from... and under predefined style, select Android

    5. Click on Apply and try to refactor.

提交回复
热议问题