Содержание
- 2. Android Architecture https://developer.android.com/guide/platform
- 3. … …
- 4. … https://developer.android.com/guide/components/fundamentals
- 5. … …
- 6. … …
- 7. … …
- 8. … …
- 9. Activity Lifecycle https://developer.android.com/reference/android/app/Activity
- 10. Log Methods …
- 11. Resources Types …
- 12. Resources Tags …
- 13. Layouts … An Android layout is a class that handles arranging the way its children appear
- 14. View Properties …
- 15. layout_width and layout_height …
- 16. Dimension Units …
- 17. Dimension Units …
- 18. View Classes …
- 19. RelativeLayout … RelativeLayout is a view group that displays child views in relative positions. The position
- 20. RelativeLayout Properties … android:layout_above android:layout_below android:layout_toLeftOf android:layout_toRightOf android:layout_toStartOf android:layout_toEndOf android:layout_alignBottom android:layout_alignLeft android:layout_alignRight android:layout_alignStart android:layout_alignEnd android:layout_alignTop android:layout_alignBaseline
- 21. LinearLayout … LinearLayout is a ViewGroup that arranges the child View(s) in a single direction, either
- 22. LinearLayout Properties … android:orientation = "vertical"|"horizontal" android:weightSum = "10“ android:layout_weight = "1" android:layout_gravity = "top"|"bottom"|"left"|"right"| "center_vertical"|"center_horizontal"|"center"|
- 23. FrameLayout … FrameLayout is a simple layout. It can contain one or more child View(s), and
- 24. android:layout_gravity …
- 25. TableLayout … TableLayout arranges the View(s) in table format. Specifically, TableLayout is a ViewGroup containing one
- 26. GridLayout … GridLayout uses a grid of infinitely-thin lines to separate its drawing area into: rows,
- 27. Gravity and Layout_Gravity https://learntodroid.com/what-is-the-difference-between-gravity-and-layout_gravity-in-android/
- 28. Padding …
- 29. Margins …
- 30. Example …
- 31. ConstraintLayout … ConstraintLayout – Introduced in Android 7, use of this layout manager is recommended for
- 32. ConstraintLayout …
- 33. ConstraintLayout Properties … app:layout_constraintDimensionRatio="1:0.5" app:layout_constraintHorizontal_bias="0.5" app:layout_constraintVertical_bias="0.5" app:layout_constraintWidth_default="percent" app:layout_constraintWidth_percent="0.5" app:layout_constraintHeight_default="percent" app:layout_constraintHeight_percent="0.5" app:layout_constraintHorizontal_chainStyle = "spread"|"spread_inside"|"packed" app:layout_constraintHorizontal_weight = "1"
- 34. ConstraintLayout Properties2 … layout_constraintLeft_toLeftOf layout_constraintLeft_toRightOf layout_constraintRight_toLeftOf layout_constraintRight_toRightOf layout_constraintTop_toTopOf layout_constraintTop_toBottomOf layout_constraintBottom_toBottomOf layout_constraintBottom_toTopOf layout_constraintBaseline_toBaselineOf layout_constraintStart_toEndOf layout_constraintStart_toStartOf layout_constraintEnd_toStartOf layout_constraintEnd_toEndOf
- 35. include …
- 36. ConstraintLayout ChainStyle …
- 37. Android … …
- 39. Скачать презентацию