ComposeQuadrant is an Android application built using Jetpack Compose that demonstrates a UI layout consisting of four information cards arranged in a quadrant layout. Each card displays a title and a description with different background colors.
MainActivity.kt
: Entry point of the application. Sets up the Jetpack Compose UI.ComposeQuadrantApp.kt
: Defines the main UI layout of the application using Jetpack Compose.ComposableInforCard.kt
: Defines a reusable Composable function to render an information card with a title, description, and background color.res/
: Contains string resources for the titles and descriptions displayed in the information cards.Preview
: Contains a preview function for visualizing the UI layout.
To use this project code:
- Clone the repository or download the source code.
- Open the project in Android Studio or any other compatible IDE.
- Build and run the application on an Android device or emulator.
- Kotlin
- Jetpack Compose
- AndroidX
The project includes a preview function GreetingPreview
that showcases how the main UI layout appears.
This project code is authored by ShreyasKB (Shreyas KB).
Contributions are welcome. Feel free to fork the repository and submit pull requests.
If you encounter any issues or have suggestions for improvement, please open an issue on the GitHub repository.