Skip to content

Khairul-Blockcode/Assignment-2-ProfileScreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment-2-Profile Screen in Jetpack Compose

This repository contains a profile screen implemented using Jetpack Compose, the modern UI toolkit for Android.

Features

  • Display a user profile picture, name, and location.
  • Follow and message action buttons.
  • A grid display of user images.

Preview

recording.webm

Setup

  1. Clone the repository:
git clone https://github.com/your-username/assignment_2_profilescreen.git
  1. Open the project using Android Studio.

  2. Make sure you have the Jetpack Compose toolkit set up in your Android Studio.

  3. Run the project on an emulator or physical device.

Implementation Details

The ProfileScreen composable function takes in:

  • profilePicPainter: A painter representing the user's profile picture.
  • name: The user's name.
  • location: The user's location.
  • imageList: A list of painters representing user images.

The screen consists of:

  • A ConstraintLayout is used to position the profile picture, name, location, and action buttons.
  • A LazyVerticalGrid to display the user images in a grid format.

Custom text styles and font families (Comfortaa & RobotoBold) are used to style the text elements.

Dependencies

This project uses:

  • Jetpack Compose for UI.
  • ConstraintLayout Compose for layout design.
  • AndroidX libraries for backward compatibility.

Contributing

Feel free to open issues or PRs if you find any bugs or have suggestions for improvements!

License

This project is under the MIT license. See the LICENSE for more information.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages