Expounding Android Canvas’ DrawText

Photo by Jason Leung on Unsplash

In Android, when we want to have some Text, we would just use TextView. However, in case we want to have a custom view and have better control of the text, we could use the Canvas' drawText api to draw the text.

Check out the below simple App I made to show some fun with drawText (you could get the code in the below link)

--

--

--

Sharing iOS, Android and relevant Mobile App Development Technology and Learning

Recommended from Medium

Android Then and Now: Callbacks

Coding-free Integration of AppGallery Connect APM on Android Platform

Accessibility in The Android

Explore LiveData & StateFlow Value Emitting Behavior

Kotlin Coroutines Basics — Simple Android App Demo

Getting started with Android View Binding

Image by <a href=”https://www.instagram.com/p/B-jKro3ggb2/” target=”blank”>eyesthatdeep</a> from Instagram.

Over-the-air (OTA) updates for Android apps -> download apk + silent APK installation + auto launch…

KOTLIN-Create a Recycler View with Click and Long Click Listener(the right way)

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
Elye

Elye

Sharing Software Development Experience, focus on Mobile. https://elye-project.medium.com/subscribe https://twitter.com/elye_project

More from Medium

New Photo Pickers for Android 13 and iOS 14

Exploring Android 13: Downgradable Permission

How To Test Kotlin Coroutines?

People creating

Simple Android Network Traffic Inspection With Chucker And Seismic

Worms Eye View From Spiral colored decore glass through a roof