Professional Documents
Culture Documents
(Building Layouts 1)
by/
by/ Abdullah
Abdullah Alialdin
Alialdin
documentation
debugger
emulator tutorials
Android Studio EXTRA
possible ways
• Self-closing tag children
• Non-empty closing tag parent
Non-empty
Attributes
• Undo
The height of
the text view is
the same as the
text height
(wrap_content)
Scale-independent pixel (sp)
• This is like the dp unit, but it is also
scaled by the user's font size
preference. It is recommended you
use this unit when specifying font
sizes, so they will be adjusted for
both the screen density and user's
preference.
EXTRA
Understanding Density Independence In Android:
Hexadecimal Color (Hex Color)
• android:src gives the location where the image is stored, use the exact
name of the image without the format (@drawable/Image name).
• android:scaleType Controls how the image should be resized or moved
cent cent
to match the size of this ImageView.
cen
erCr erIn
Documentation
• https://developer.android.com/
• https://developers.google.com/android/for-all/vocab-words/?
utm_source=udacity&utm_medium=course&utm_campaign=android_basi
cs
• https://google-developer-training.gitbooks.io/android-developer-fundamen
tals-course-concepts/content/en
/
• https://google-developer-training.gitbooks.io/android-developer-fundamen
tals-course-practicals/content/en
/
• https://en.wikipedia.org/
• https://www.w3schools.com/xml/xml_syntax.asp