Wife learns android programming - Programmatically creating layouts & views in code exercise

Опубликовано: 29 Сентябрь 2024
на канале: Mobile Application Tutorials
1,730
13

A once a week tutorial series where I will be teaching my wife, June android programming.

This tutorial is the second part to    • Wife learns android programming - Pro...   where June is set some tasks to programmatically code a RelativeLayout & Button. As well as setting the sizes of the layout & view and positioning the view in the layout.

This gives June coding practice in:
- Creating objects
- Setting parameters for layouts & views
- Changing the layout in an android activity
- Changing the alignment & margins for a view in code
- Programmatically setting the text for a button
- Adding a view to a layout

Previous wife learns android tutorials

* Installing android studio -    • Wife learns android programming - ins...  
* Building her first app -    • Wife learns android programming - Bui...  
* Getting to know textview -    • Wife learns android programming - get...  
* Creating newsletter form -    • Wife learns android programming - cre...  
* Creating an activity -   • Wife learns android programming - cre...  
* Calling setText on views -    • Wife learns android programming - cal...  
* Calling getText on views -    • Wife learns android programming - cal...  
* Intro to object orientation -    • Wife learns android programming - Int...  
* Test one -    • Wife learns android programming - Tes...  
* Test one answers & review -    • Wife learns android programming - Tes...  
* Coding layouts & views lesson -    • Wife learns android programming - Pro...  

For much more information checkout
Website - https://www.nigeapptuts.com
Twitter -   / mobapptuts  
Facebook -   / nigeapptuts  
Google+ - https://plus.google.com/b/11588464208...
Pinterest -   / mobapptuts  

The previous tutorials were aimed at beginners to android but over time have been getting more complex as the original camera_intent app has developed.
This tutorial series is more aimed towards the intermediate developers thought for those who have been following the previous tutorial series, feel free to watch this android performance series.

Android studio (1.3.1) is the editor of choice (IDE) for this tutorial series.

This tutorial series is the start of what I expect to be many so I encourage comments and feedback to improve the quality and viewing experience.