Skip to content

cusaldmsr/AndroidAssignment01

Repository files navigation

Android Assignment 01


This Android application was developed as part of an assignment to demonstrate proficiency in handling user input, event handling, working with layouts, utilizing resources, and integrating different functionalities within an Android application.

Project Structure

The project is organized as follows:

  • app/: Contains the main application code.
  • gradle/: Includes Gradle wrapper files.
  • .idea/: Contains project-specific settings and metadata.
  • build.gradle.kts: Build configuration script for the project.
  • gradle.properties: Configuration properties for the Gradle build.
  • gradlew and gradlew.bat: Unix and Windows scripts to execute the Gradle wrapper.
  • settings.gradle.kts: Settings script for the Gradle build.

Technologies Used

  • Kotlin: Primary programming language.
  • Android Studio: Development environment.
  • XML: Used for UI design.
  • Android Jetpack Components: For handling UI state and lifecycle.

Features

1. Handling User Input

  • Created a form that includes various input types:
    • EditText for text input.
    • CheckBox for multiple selections.
    • RadioButton for single-choice selection.
    • Spinner for dropdown selections.
    • ImageButton for allow users to move to end screen seamlessly.
  • Implemented input validation to ensure the user provides valid data.
  • Displayed the collected input data in a TextView upon submission.

2. Handling Events

  • Implemented event handling for different user actions:
    • Button Clicks: Changing TextView content dynamically.
    • Selection Events: Reacting to CheckBox, RadioButton, and Spinner selections.
  • Used listeners to handle these events and update the UI accordingly.

3. Working with Layouts

  • Designed and implemented a multi-screen layout using:
    • LinearLayout for simple vertical/horizontal alignment.
    • ConstraintLayout for flexible and adaptable UI design.
  • Used Fragments to create a dynamic user interface that can be reused in different activities.

4. Working with Resources

  • Used string resources for text management and localization.
  • Used drawable resources for images and icons.

5. Navigation and User Experience

  • Implemented navigation flow to allow users to move between different screens seamlessly.
  • Ensured proper handling of screen rotations and other configuration changes for better user experience.

6. Creativity and Innovation

  • Added custom UI elements to enhance user interaction.(GIF)
  • Implemented additional features that showcase innovative design and functionality.

UI

Getting Started

Prerequisites

  • Install Android Studio (latest version).
  • Ensure you have an Android Emulator or a physical Android device for testing.

Installation Steps

  1. Clone the repository:
    git clone https://github.com/cusaldmsr/AndroidAssignment01.git
  2. Open the project in Android Studio.
  3. Build and Run the application using an emulator or physical device.

About

This Android application was developed as part of an assignment to demonstrate proficiency in handling user input, event handling, working with layouts, utilizing resources, and integrating different functionalities within an Android application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages