From the course: Android Studio Essential Training 2020
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Edit code files in the editor window
From the course: Android Studio Essential Training 2020
Edit code files in the editor window
- When you're working in Android Studio, you'll spend a lot of your time in the editor window, editing and searching for code. The editor window is also used to present the layout editor, where you can design screens with the WYSISYG or "what you see is what you get" interface and other editors for other kinds of files. If the project is brand new, depending on which template you selected, you might see more than one tab. But regardless, you can always open new files from the project window. The tabs that appear on the top can be re-ordered just by clicking and dragging the tabs around. You can also double-click on a tab and that will expand the editor window and hide any other windows that might currently be open. Double-click on the tab again and now you'll restore the layout. You can split an editor window, by right-clicking on the tab and then choosing split vertically or split horizontally. Each of…
Contents
-
-
-
-
-
-
-
-
(Locked)
Create new Kotlin and Java code files3m
-
(Locked)
Edit code files in the editor window3m 15s
-
(Locked)
Useful code editing shortcuts4m 49s
-
(Locked)
Refactor and inspect code3m 6s
-
(Locked)
Create and use live templates3m 32s
-
Edit layouts with design and text mode3m 36s
-
(Locked)
Add MotionLayout to an XML layout file2m 2s
-
(Locked)
Animate views in the Motion Editor4m 56s
-
(Locked)
Challenge: Extract code to a new class1m 8s
-
(Locked)
Solution: Extract code to a new class2m 12s
-
(Locked)
-
-
-
-