Skip to content

sagar2093/bmi-compose

Repository files navigation

BMI-calculator

Jetpack Compose app based on inspiration from the flutter app BMI-Calculator

Development Tools

Brief Introducation

This application is developed to introduce basic UI design using Jetpack Compose. Though compose is still in development stage, it is powerful and complex UIs can be created in short durations. This example application extensively uses Rows and Columns for generating UIs.

Some of the components used in this application are listed below:

  • Text
  • Column
  • Row
  • Slider
  • Vertical Scroller
  • Toolbar [Customized TopAppBar]
  • RoundIconButton [Custom View: Icon inside Card]
  • RoundedCard [Card with corner radius]
  • RoundedButton [Button with corner radius]
  • RoundToggleButton [For Gender Selection]

Since proper screen navigation is not yet recommended by the compose development team, I had used @Model as used in JetNews. But @Model is deprecated in dev12 in favour of state variants, one of which is also used to observe the values changed for age, weight and height in this application too.

Code Link to Main Screens

Screenshots

App Inspiration

Flutter App by Ali Raza:

Dribble Design by Kevin Al-Rizal: