Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Android Fundamentals - Day 2

297 views

Published on

Android Fundamentals:
- Revision on Day 1.
- Activity.
- Back Stack.
- Activity Life Cycle,
- ScrollView.
- RecyclerView.
- Resources.
- Adapter.
- Application Manifest.

Published in: Engineering
  • Login to see the comments

  • Be the first to like this

Android Fundamentals - Day 2

  1. 1. Android Fundamentals Day 2 Mohammad Tarek Software Developer - eSpace +20-111-863-1732 /bntarek mohammad.bn.tarek@gmail.com
  2. 2. We have learned…
  3. 3. Views
  4. 4. Density-Independent Pixels (dp) 2 pixels by 2 pixels Medium Resolution High Resolution Extra-High Resolution
  5. 5. Density-Independent Pixels (dp) 2 dp by 2 dp Medium Resolution High Resolution Extra-High Resolution
  6. 6. LinearLayout TextView 1 TextView 2 TextView 3 1 2 3
  7. 7. RelativeLayout Top Edge Bottom Edge RightEdge LeftEdge Child Top Edge Bottom Edge RightEdge LeftEdge image name title
  8. 8. Padding, and Margin Welcome Welcome Welcome Original Padding Margin
  9. 9. Activity
  10. 10. Activity
  11. 11. Activity
  12. 12. Back Stack
  13. 13. Activity Life Cycle
  14. 14. ScrollView vs RecyclerView 1 2 3 4 5 6 7 8 9 10 2 3 4 5 6 1 7 7
  15. 15. Resources  ID Resource  Dimension Resource  Layout Resource  Color Resource  Drawable Resources  String Resources  Animation Resources  Color State List Resource  Menu Resource  Style Resource  And more …
  16. 16. Adapter An Adapter object acts as a bridge between an AdapterView and the underlying data for that view. The Adapter provides access to the data items. The Adapter is also responsible for making a View for each item in the data set.
  17. 17. App Manifest  AndroidManifest.xml file found in the app root directory.  Presents essential information about your app to the Android system.  Describes the activities, services, broadcast receivers.  Declares the minimum level of the Android API that the application requires.  Declares which permissions the application must have to access protected parts of the API and interact with other applications.
  18. 18. Workshop https://github.com/BnTarek/Android_Wish_Store
  19. 19. Any Questions?
  20. 20. Many Thanks!

×