An open API service indexing awesome lists of open source software.

https://github.com/google-developers-sohag/simplecounterapp

From Android Beginners series
https://github.com/google-developers-sohag/simplecounterapp

android-application kotlin layout xml

Last synced: about 2 months ago
JSON representation

From Android Beginners series

Awesome Lists containing this project

README

          

# SimpleCounterApp

Describes a simple android app using kotlin.

An app that counts on an integer and prints the result to the user.

At the end of this session, you should learn :

1) How to create a basic android application using kotlin.
2) How to use XML (Extensible Markup Language) to design an activity layout.
3) How to use android views inside an xml file.
4) How to use android views' listeners to listen for button clicks.
5) Basic android resources files.

## The proposed layout :
![image](https://user-images.githubusercontent.com/60224159/157776832-67661789-f718-42bb-ad1b-d93ea5dfae67.png)

## Layout Margins and Gravity :
![image](https://user-images.githubusercontent.com/60224159/157776842-3b8eb35e-8f04-4572-a9a2-6a280f56be10.png)

## Padding :
![image](https://user-images.githubusercontent.com/60224159/157776850-845bd4c7-ce76-4426-b384-46cd25bf6539.png)