Box in Jetpack Compose

Box is a container in Jetpack Compose that can be used to wrap a single child element. It provides a way to group elements together and apply properties to them as a whole. Box also allows for easily adding padding, borders, and background color to a child element. Using Box in Jetpack Compose: To use

Box in Jetpack Compose Read More »

Modifier in Jetpack Compose

The Modifier is a class in Jetpack Compose used to add behavior or modify the appearance of UI elements. It is similar to ViewGroup.LayoutParams in the traditional Android view system. The Modifier is a composable function that can be applied to any function, including layouts and widgets. Functions of Modifier in Jetpack Compose: Here are

Modifier in Jetpack Compose Read More »

Text in Jetpack Compose

Text in Jetpack Compose is similar to TextView. The Text composable is used to show labels and paragraphs inside Android apps. This tutorial will show how to implement Text in the app and the available attributes of Text composable. Please check the following example program. The example program shows the implementation of the Text composable

Text in Jetpack Compose Read More »

What is Jetpack Compose

Jetpack Compose is a toolkit launched by Google to build native UI in Android. The main motive for launching this is to provide a productive and simple approach to creating UI in Android. Building UI using Compose is opposite to the traditional approach (building UI using XML). As we know, XML was an imperative UI

What is Jetpack Compose Read More »

About Jetpack Compose series

These days a new technology called Jetpack Compose is becoming popular among Android developers. Every Android developer talking about this and some of you might have already heard somewhere about Jetpack Compose. Now the question arises, what is this and how can it be helpful to us as Android developers? Jetpack Compose is a native

About Jetpack Compose series Read More »

×