Open in app

Sign In

Write

Sign In

Abhimanyu
Abhimanyu

65 Followers

Home

About

Published in Make Apps Simple

Β·Oct 8, 2022

Setting background resources for Image in Jetpack Compose

In the Android View-based system, ImageView can have background and foreground drawable resources like this, To achieve the same using Jetpack Compose, we can use the Paint modifier like this, As this is a Modifier , it can be used for Composables other Image like Box , Row , Column , etc as well. Please comment with your valuable feedback. It would help me to improvise. Kindly πŸ‘πŸ‘πŸ‘ if this was useful.

Android

1 min read

Setting background resources for Image in Jetpack Compose
Setting background resources for Image in Jetpack Compose
Android

1 min read


Published in Make Apps Simple

Β·Oct 6, 2022

Auto-Spaced Text in Jetpack Compose

Requirement Modify the letter spacing of a Text with a string and fixed width so that the Text fills the complete width. Note that the font size remains the same. Only the letter spacing will be responsive. Text β€” onTextLayout Text composable has an attribute onTextLayout that provides TextLayoutResult data. …

Android

2 min read

Auto-Spaced Text in Jetpack Compose
Auto-Spaced Text in Jetpack Compose
Android

2 min read


Published in Make Apps Simple

Β·Sep 26, 2022

LazyList Padding in Jetpack Compose

In Jetpack Compose, while using LazyLists like LazyColumn or LazyRow . We may need to specify padding for various designs. Padding for each item in the layout We use Modifier in each item composable to specify padding for each individual item (lines 11–13). Padding for the whole layout

Andoird

2 min read

LazyList Padding in Jetpack Compose
LazyList Padding in Jetpack Compose
Andoird

2 min read


Published in Make Apps Simple

Β·Sep 10, 2022

Jetpack Compose: Hiding TextField Cursor, Cursor Handle, and Text Toolbar

Let me start by explaining what these components are. TextToolbar: The Toolbar which had the Copy & Cut options are called TextToolbar . Cursor handle: The two drops at the bottom of the text are called Cursor handle .

Android

2 min read

Android

2 min read


Published in Make Apps Simple

Β·Sep 4, 2022

Get the Android app version programmatically

In Android API 33, getPackageInfo(String, Int): PackageInfo! was deprecated. To get the app version programmatically, we can use the following method. Please comment with your valuable feedback. It would help me to improvise. Kindly πŸ‘πŸ‘πŸ‘ if this was useful. Please follow if you would like to see more content related to Android Jetpack Compose. LinkedIn: https://www.linkedin.com/in/abhimanyu-n/ References

Android

1 min read

Get the Android app version programmatically
Get the Android app version programmatically
Android

1 min read


Published in Make Apps Simple

Β·Aug 28, 2022

Custom Tabs using Jetpack Compose

By the end, we would be creating a Tab Layout like this using Jetpack Compose.

Android

2 min read

Android

2 min read


Published in Make Apps Simple

Β·Aug 25, 2022

Android Room Migration: New column with data derived from existing Enum data

If we have Enum data in our table and for some reason, we need to create a new column with values based on the data from the enum we need to migrate it using the manual room migration. For example, Current data model Updated data model We will…

Android App Development

1 min read

Android App Development

1 min read


Published in Make Apps Simple

Β·Aug 24, 2022

Emojis πŸ’— in Jetpack Compose

Emojis are Unicode characters. So when we think about displaying emojis, the first thought would be to show them in the Text() composable. Using Text Composable Code Output

Android

3 min read

Emojis πŸ’— in Jetpack Compose
Emojis πŸ’— in Jetpack Compose
Android

3 min read


Published in Make Apps Simple

Β·Aug 23, 2022

Is multiplication always commutative in Kotlin πŸ€”?

What is commutative property? To quote from Wikipedia, A binary operation is commutative if changing the order of the operands does not change the result. Of course, it is mentioned In Mathematics , but in our case, it is for programming. An operator is commutative if a operator b = b operator a Examples 5…

Android

2 min read

Android

2 min read


Published in Make Apps Simple

Β·Aug 22, 2022

Smiley 😍 Rating Bar using Jetpack Compose

Smiley rating bar using Jetpack Compose Tired of the same old rating bar with stars? Let's create something different. Overview of implementation We will use emojis from the internet directly using the URL for the smileys. The smiley will be displayed from the URL by using AsyncImage composable from Coil Compose. The rating…

Android App Development

1 min read

Smiley 😍 Rating Bar using Jetpack Compose
Smiley 😍 Rating Bar using Jetpack Compose
Android App Development

1 min read

Abhimanyu

Abhimanyu

65 Followers

Android Engineer @ GRAB | Linked In - https://www.linkedin.com/in/abhimanyu-n

Following
  • STRV

    STRV

  • Radhika S

    Radhika S

  • Bright Inventions

    Bright Inventions

  • Yanneck Reiß

    Yanneck Reiß

  • Elye

    Elye

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech