kotlin-android-practice
Some small projects to practice Android Basics with Kotlin for beginners. Every project in this repository is simplest. Besides making your own project following this, you should improve the UI for better look and feel, or maybe add more functionalities to upgrade your skill. Happy coding !
Tictactoe
-
Simple layout design with TableLayout
-
Handle click event to change button's attributes
-
Handle simple logic for game playing
References:
Calculator
- Simple layout design with TableLayout, LinearLayout
- Support multiple screens sizes
- Handle calculating operations "+ - * /". The +/- and % is your part
Multiple screens Instruction: These are some kind of screens that you have to support: ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi You have to do this for every Ativity that you need it to be supported.
Follow these steps:
-
Add new resource file in layout folder
-
Name that new file by the name of the root activity. And the directory shoud follow this convention: layout-ldpi or layout-xxxhdpi
-
Use Design tab and choose the device with suitable kind of screen to see your layout in that screen
-
Change the layout if needed
References:
Disneyworld
- Play with Google Map SDK Android
References:
License
Kotlin Android Practice is licensed under a Creative Commons Attribution 4.0 International License. .
Based on a work at https://github.com/hieuwu/kotlin-android-practice.