Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
• Most files get displayed in the text editor. The text editor also known as code
editor, with extra features such as color coding and code checking.
• The design editor allows you to drag GUI components onto your layout, and
arrange them how you want.
FILL_PARENT
MATCH_PARENT
WRAP_CONTENT
• fill_parent and match_parent are the same, used when we want the height or
width of a view to be as big as its parent view, fill_parent being deprecated.
• wrap_content is used when we want the view to occupy only as much space as
required by it.
THE ANDROID EMULATOR
• allows you to run your app in an Android virtual device (AVD). The AVD
behaves just like a physical Android device. You can set up numerous AVDs,
each emulating a different type of device.
• typically enables the host system to run software or use peripheral devices
designed for the guest system.
THE APK FILE
• An APK file is an Android application package. It’s basically a JAR or ZIP file
for Android applications.
• APK stands for Android Package Kit (also Android Application Package) and
is the file format that Android uses to distribute and install apps. It contains all
the elements that an app needs to install correctly on your device.
VIEWS & LAYOUTS
ConstraintLayout
• is a view group that displays child views in relative positions. The position of
each view can be specified as relative to sibling elements (such as to the left-
of or below another view) or in positions relative to the parent RelativeLayout
area (such as aligned to the bottom, left or center).
• a Layout where the positions of the children can be described in relation to
each other or to the parent.
LinearLayout
• a view group that allows the view hierarchy placed within it to be scrolled.
Scroll view may have only one direct child placed within it. To add multiple
views within the scroll view, make the direct child you add a view group, for
example LinearLayout, and place additional views within that LinearLayout.
ListView
• is a view group that displays a list of scrollable items. The list items are
automatically inserted to the list using an Adapter that pulls content from a
source such as an array or database query and converts each item result into
a view that's placed into the list.
• displays a vertically-scrollable collection of views, where each view is
positioned immediatelybelow the previous view in the list.
ExpandableListView
• A view that shows items in a vertically scrolling two-level list. This differs from
the ListView by allowing two levels: groups which can individually be
expanded to show its children. The items come from the
ExpandableListAdapter associated with this view.
GridView
• Intents - allow you to interact with components from the same applications as
well as with components contributed by other applications.
THANK YOU