Android Studio: Building UI
Revision as of 05:56, 4 March 2022 by Onnowpurbo (talk | contribs)
New Project
File > New > New Project > Empty Activity Name MyApplication Package Name com.example.myapplication
Klik "Finish"
Open the Layout Editor
- Di Project window > app > res > layout > activity_main.xml.
- Click (Select Design Surface) > Blueprint.
- Click (View Options) > Show All Constraints pastikan checked.
- (Enable Autoconnection to Parent) > Disable Autoconnect to parent.
- (Default Margins) > 16
- (Device for Preview) > 5.5
Referensi
https://developer.android.com/training/basics/firstapp/building-ui