├── Section 4 - Android Components ├── Buttons │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── buttons │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── techmania │ │ │ │ │ └── buttons │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ ├── button_shape.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── buttons │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── CheckBox │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── checkbox │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── techmania │ │ │ │ │ └── checkbox │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── checkbox │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── ConstraintLayout │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── .name │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── constraintlayout │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── constraintlayout │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── constraintlayout │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── EditTexts │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── edittexts │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── techmania │ │ │ │ │ └── edittexts │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ ├── first_image.png │ │ │ │ ├── ic_launcher_background.xml │ │ │ │ └── second_image.jpg │ │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── edittexts │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── Layouts │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── layouts │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── layouts │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── layouts │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── RadioButtons │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── radiobuttons │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── techmania │ │ │ │ │ └── radiobuttons │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── radiobuttons │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── Spinner │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── spinner │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── techmania │ │ │ │ │ └── spinner │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── spinner │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── TextViews │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── textviews │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── techmania │ │ │ │ │ └── textviews │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── textviews │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle └── ToggleButton │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── compiler.xml │ ├── gradle.xml │ ├── misc.xml │ └── render.experimental.xml │ ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── togglebutton │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── togglebutton │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ ├── first_image.png │ │ │ └── ic_launcher_background.xml │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── techmania │ │ └── togglebutton │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── Section 5 - User Interactions └── UserInteractions │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── .name │ ├── compiler.xml │ ├── gradle.xml │ ├── misc.xml │ └── render.experimental.xml │ ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── userinteractions │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── userinteractions │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ ├── ic_launcher_background.xml │ │ │ └── warning.xml │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── techmania │ │ └── userinteractions │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── Section 6 - List and Views ├── GridView │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── gridview │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── techmania │ │ │ │ │ └── gridview │ │ │ │ │ ├── AnimalsAdapter.kt │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ ├── bird.jpg │ │ │ │ ├── cat.jpg │ │ │ │ ├── chicken.jpg │ │ │ │ ├── dog.jpg │ │ │ │ ├── fish.jpg │ │ │ │ ├── ic_launcher_background.xml │ │ │ │ ├── lion.jpg │ │ │ │ ├── monkey.jpg │ │ │ │ ├── rabbit.jpg │ │ │ │ └── sheep.jpg │ │ │ │ ├── layout │ │ │ │ ├── activity_main.xml │ │ │ │ └── custom_layout.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── gridview │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── ListView │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── listview │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── techmania │ │ │ │ │ └── listview │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── listview │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── RecyclerView │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── recyclerview │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── techmania │ │ │ │ │ └── recyclerview │ │ │ │ │ ├── CountriesAdapter.kt │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ ├── germany.png │ │ │ │ ├── ic_launcher_background.xml │ │ │ │ ├── unitedkingdom.png │ │ │ │ └── usa.png │ │ │ │ ├── layout │ │ │ │ ├── activity_main.xml │ │ │ │ └── card_design.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── recyclerview │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── ScrollView │ ├── .gitignore │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── gradle.xml │ │ ├── misc.xml │ │ └── render.experimental.xml │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── scrollview │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── techmania │ │ │ │ │ └── scrollview │ │ │ │ │ └── MainActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ │ ├── values-night │ │ │ │ └── themes.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── themes.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── scrollview │ │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle └── WebView │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── compiler.xml │ ├── gradle.xml │ ├── misc.xml │ └── render.experimental.xml │ ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── webview │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── webview │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── techmania │ │ └── webview │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── Section 7 - Intent and Lifecycle └── Intent │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── compiler.xml │ ├── gradle.xml │ ├── misc.xml │ └── render.experimental.xml │ ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── intent │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── intent │ │ │ │ ├── MainActivity.kt │ │ │ │ └── SecondActivity.kt │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ └── activity_second.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── techmania │ │ └── intent │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── Section 8 -Shared preferences └── SharedPreferences │ ├── .gitignore │ ├── .idea │ ├── .gitignore │ ├── compiler.xml │ ├── gradle.xml │ ├── misc.xml │ └── render.experimental.xml │ ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── techmania │ │ │ └── sharedpreferences │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── techmania │ │ │ │ └── sharedpreferences │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.webp │ │ │ └── ic_launcher_round.webp │ │ │ ├── values-night │ │ │ └── themes.xml │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── themes.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── techmania │ │ └── sharedpreferences │ │ └── ExampleUnitTest.kt │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle └── Section 9 -To-Do List Project └── ToDoList ├── .gitignore ├── .idea ├── .gitignore ├── .name ├── compiler.xml ├── gradle.xml ├── misc.xml └── render.experimental.xml ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── example │ │ └── todolist │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── todolist │ │ │ ├── FileHelper.kt │ │ │ └── MainActivity.kt │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_launcher_background.xml │ │ └── todolist.jpg │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml │ └── test │ └── java │ └── com │ └── example │ └── todolist │ └── ExampleUnitTest.kt ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /Section 4 - Android Components/Buttons/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 19 | 20 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/androidTest/java/com/techmania/buttons/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.buttons 2 | 3 | import androidx.test.platform.app.InstrumentationRegistry 4 | import androidx.test.ext.junit.runners.AndroidJUnit4 5 | 6 | import org.junit.Test 7 | import org.junit.runner.RunWith 8 | 9 | import org.junit.Assert.* 10 | 11 | /** 12 | * Instrumented test, which will execute on an Android device. 13 | * 14 | * See [testing documentation](http://d.android.com/tools/testing). 15 | */ 16 | @RunWith(AndroidJUnit4::class) 17 | class ExampleInstrumentedTest { 18 | @Test 19 | fun useAppContext() { 20 | // Context of the app under test. 21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext 22 | assertEquals("com.techmania.buttons", appContext.packageName) 23 | } 24 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/drawable/button_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Buttons 3 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/app/src/test/java/com/techmania/buttons/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.buttons 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Buttons/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Aug 31 15:47:27 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Buttons/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "Buttons" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | CheckBox 3 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/app/src/test/java/com/techmania/checkbox/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.checkbox 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/CheckBox/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Sep 02 12:00:48 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 4 - Android Components/CheckBox/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "CheckBox" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/.idea/.name: -------------------------------------------------------------------------------- 1 | Constraint Layout -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/java/com/example/constraintlayout/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.constraintlayout 2 | 3 | import androidx.appcompat.app.AppCompatActivity 4 | import android.os.Bundle 5 | 6 | class MainActivity : AppCompatActivity() { 7 | 8 | override fun onCreate(savedInstanceState: Bundle?) { 9 | super.onCreate(savedInstanceState) 10 | setContentView(R.layout.activity_main) 11 | 12 | } 13 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Constraint Layout 3 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/app/src/test/java/com/example/constraintlayout/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.example.constraintlayout 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ConstraintLayout/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Aug 27 15:49:56 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ConstraintLayout/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "Constraint Layout" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/drawable/first_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/drawable/first_image.png -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/drawable/second_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/drawable/second_image.jpg -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | EditTexts 3 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/app/src/test/java/com/techmania/edittexts/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.edittexts 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/EditTexts/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Sep 01 15:17:01 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 4 - Android Components/EditTexts/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "EditTexts" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/androidTest/java/com/example/layouts/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- 1 | package com.example.layouts 2 | 3 | import androidx.test.platform.app.InstrumentationRegistry 4 | import androidx.test.ext.junit.runners.AndroidJUnit4 5 | 6 | import org.junit.Test 7 | import org.junit.runner.RunWith 8 | 9 | import org.junit.Assert.* 10 | 11 | /** 12 | * Instrumented test, which will execute on an Android device. 13 | * 14 | * See [testing documentation](http://d.android.com/tools/testing). 15 | */ 16 | @RunWith(AndroidJUnit4::class) 17 | class ExampleInstrumentedTest { 18 | @Test 19 | fun useAppContext() { 20 | // Context of the app under test. 21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext 22 | assertEquals("com.example.layouts", appContext.packageName) 23 | } 24 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/java/com/example/layouts/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.layouts 2 | 3 | import androidx.appcompat.app.AppCompatActivity 4 | import android.os.Bundle 5 | 6 | class MainActivity : AppCompatActivity() { 7 | override fun onCreate(savedInstanceState: Bundle?) { 8 | super.onCreate(savedInstanceState) 9 | setContentView(R.layout.activity_main) 10 | } 11 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Layouts 3 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/app/src/test/java/com/example/layouts/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.example.layouts 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.0" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Layouts/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Aug 27 14:52:33 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Layouts/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "Layouts" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RadioButtons 3 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/app/src/test/java/com/techmania/radiobuttons/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.radiobuttons 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/RadioButtons/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Sep 02 15:21:51 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 4 - Android Components/RadioButtons/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "RadioButtons" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Spinner 3 | 4 | 5 | 6 | England 7 | Netherlands 8 | Belgium 9 | Germany 10 | Finland 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/app/src/test/java/com/techmania/spinner/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.spinner 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.2" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/Spinner/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Sep 03 14:18:33 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 4 - Android Components/Spinner/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "Spinner" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | TextViews 3 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/app/src/test/java/com/techmania/textviews/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.textviews 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/TextViews/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Aug 31 14:53:20 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 4 - Android Components/TextViews/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "TextViews" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/drawable/first_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/drawable/first_image.png -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ToggleButton 3 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/app/src/test/java/com/techmania/togglebutton/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.togglebutton 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 4 - Android Components/ToggleButton/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Sep 02 20:09:34 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 4 - Android Components/ToggleButton/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "ToggleButton" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/.idea/.name: -------------------------------------------------------------------------------- 1 | User Interactions -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/drawable/warning.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | User Interactions 3 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/app/src/test/java/com/techmania/userinteractions/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.userinteractions 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 5 - User Interactions/UserInteractions/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Sep 06 12:03:35 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 5 - User Interactions/UserInteractions/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "User Interactions" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/drawable/bird.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/drawable/bird.jpg -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/drawable/cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/drawable/cat.jpg -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/drawable/chicken.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/drawable/chicken.jpg -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/drawable/dog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/drawable/dog.jpg -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/drawable/fish.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/drawable/fish.jpg -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/drawable/lion.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/drawable/lion.jpg -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/drawable/monkey.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/drawable/monkey.jpg -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/drawable/rabbit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/drawable/rabbit.jpg -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/drawable/sheep.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/drawable/sheep.jpg -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | GridView 3 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/app/src/test/java/com/techmania/gridview/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.gridview 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/GridView/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Sep 08 13:20:32 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 6 - List and Views/GridView/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "GridView" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ListView 3 | 4 | 5 | 6 | England 7 | Netherlands 8 | Belgium 9 | Germany 10 | Finland 11 | America 12 | Thailand 13 | China 14 | Mexico 15 | Greece 16 | Italy 17 | Russia 18 | Spain 19 | Australia 20 | Turkey 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/app/src/test/java/com/techmania/listview/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.listview 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ListView/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Sep 07 11:17:14 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ListView/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "ListView" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/drawable/germany.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/drawable/germany.png -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/drawable/unitedkingdom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/drawable/unitedkingdom.png -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/drawable/usa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/drawable/usa.png -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RecyclerView 3 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/app/src/test/java/com/techmania/recyclerview/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.recyclerview 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/RecyclerView/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Sep 07 19:09:23 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 6 - List and Views/RecyclerView/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "RecyclerView" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Shared Preferences 3 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/app/src/test/java/com/techmania/scrollview/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.scrollview 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/ScrollView/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Sep 08 16:51:16 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 6 - List and Views/ScrollView/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "ScrollView" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/androidTest/java/com/techmania/webview/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.webview 2 | 3 | import androidx.test.platform.app.InstrumentationRegistry 4 | import androidx.test.ext.junit.runners.AndroidJUnit4 5 | 6 | import org.junit.Test 7 | import org.junit.runner.RunWith 8 | 9 | import org.junit.Assert.* 10 | 11 | /** 12 | * Instrumented test, which will execute on an Android device. 13 | * 14 | * See [testing documentation](http://d.android.com/tools/testing). 15 | */ 16 | @RunWith(AndroidJUnit4::class) 17 | class ExampleInstrumentedTest { 18 | @Test 19 | fun useAppContext() { 20 | // Context of the app under test. 21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext 22 | assertEquals("com.techmania.webview", appContext.packageName) 23 | } 24 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | WebView 3 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/app/src/test/java/com/techmania/webview/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.webview 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.1" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 6 - List and Views/WebView/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Sep 08 17:47:23 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 6 - List and Views/WebView/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "WebView" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 18 | 19 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/java/com/techmania/intent/SecondActivity.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.intent 2 | 3 | import androidx.appcompat.app.AppCompatActivity 4 | import android.os.Bundle 5 | import android.widget.TextView 6 | 7 | class SecondActivity : AppCompatActivity() { 8 | 9 | lateinit var result : TextView 10 | 11 | override fun onCreate(savedInstanceState: Bundle?) { 12 | super.onCreate(savedInstanceState) 13 | setContentView(R.layout.activity_second) 14 | 15 | result = findViewById(R.id.textView) 16 | 17 | var userName : String = intent.getStringExtra("username").toString() 18 | var userAge : Int = intent.getIntExtra("userage",0) 19 | 20 | result.text = "Your name is $userName and your age is $userAge" 21 | 22 | } 23 | } -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Intent 3 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/app/src/test/java/com/techmania/intent/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.intent 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.2" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 7 - Intent and Lifecycle/Intent/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Sep 09 13:31:31 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 7 - Intent and Lifecycle/Intent/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "Intent" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | SharedPreferences 3 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/app/src/test/java/com/techmania/sharedpreferences/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.techmania.sharedpreferences 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.2" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 8 -Shared preferences/SharedPreferences/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Sep 09 20:20:17 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 8 -Shared preferences/SharedPreferences/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "SharedPreferences" 10 | include ':app' 11 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/.idea/.name: -------------------------------------------------------------------------------- 1 | To Do List -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/.idea/render.experimental.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/drawable/todolist.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/drawable/todolist.jpg -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFBB86FC 4 | #FF6200EE 5 | #FF3700B3 6 | #FF03DAC5 7 | #FF018786 8 | #FF000000 9 | #FFFFFFFF 10 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | To Do List 3 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/app/src/test/java/com/example/todolist/ExampleUnitTest.kt: -------------------------------------------------------------------------------- 1 | package com.example.todolist 2 | 3 | import org.junit.Test 4 | 5 | import org.junit.Assert.* 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * See [testing documentation](http://d.android.com/tools/testing). 11 | */ 12 | class ExampleUnitTest { 13 | @Test 14 | fun addition_isCorrect() { 15 | assertEquals(4, 2 + 2) 16 | } 17 | } -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | dependencies { 8 | classpath "com.android.tools.build:gradle:7.0.2" 9 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30" 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | task clean(type: Delete) { 17 | delete rootProject.buildDir 18 | } -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OakAcademy/android-app-development-with-kotlin/357f8b9e6f0c1e94570ea60d33041eff95a75b6c/Section 9 -To-Do List Project/ToDoList/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Sep 10 15:21:21 TRT 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /Section 9 -To-Do List Project/ToDoList/settings.gradle: -------------------------------------------------------------------------------- 1 | dependencyResolutionManagement { 2 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 3 | repositories { 4 | google() 5 | mavenCentral() 6 | jcenter() // Warning: this repository is going to shut down soon 7 | } 8 | } 9 | rootProject.name = "To Do List" 10 | include ':app' 11 | --------------------------------------------------------------------------------