Setup jetpack compose on android studio

Method 1 — Creating new Jetpack compose Project

colors = colors,
typography = Typography,
shapes = Shapes,
content = content
  • colors: A complete definition of the Material Color theme for this hierarchy.
  • typography: A set of text styles to be used as this hierarchy’s typography system.
  • shapes

setContent {…

implementation "androidx.constraintlayout:constraintlayout-compose:1.0.0-beta02"

Steps to setup constraintLayout in jetpack compose

Steps to animate recyclerview items in android

  1. Create an animation XML files.
  2. Apply the animation to the layout container.

Create an animation XML file

Velmurugan Murugesan

Lead Software Engineer @htcindia | @github contributor | Blog writer @howtodoandroid | Quick Learner

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store