Method 2: Formatting a code from MenuBar. Method 1: By using a shortcut key for formatting a code in any file in Android Studio. Tweak: import order Go to File → Settings… We are going to discuss three different methods with the help of which we can format the code in our Android Studio. Click on the Wrapping and Braces tab and un-tick the Indent 'case' branches option (as shown in the screenshot above). Click on Editor → Code style → Java (see the screenshot below).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |