A guide to applying styles and themes to Android apps
537 followers 0 articles/week
Hiatus

It is with heavy heart that I must announce that Styling Android is on indefinite hiatus with immediate effect. Throughout 2021 I have been having to deal with increasing levels of piracy. I have been spending increasing amounts of time dealing with this. It has simply become too much. Creating new content for Styling Android…

Tue Jul 13, 2021 14:09
Compose: UI Screenshot Testing

UI testing on Android has been tricky. However, Jetpack Compose makes it much easier. In a recent post we looked at how we can easily test adaptive layouts. But we can take this further. In another recent post, we created a strikethru animation overlay. In this post, we’ll look at how we can test the…

Fri Jul 9, 2021 12:09
Compose: Strikethru Animation

Regular readers of Styling Android will know that I rather like animating things. That’s a topic that I’ve covered frequently! There’s an occasional series where I cover techniques for animating icons. For togglable icons this generally uses <animated-selector />. However, Compose does not support this. If you try and inflate a resource containing...

Fri Jul 2, 2021 12:22
Bluetooth Pairing

Back in February 2020, I wrote about how location is becoming more complex in terms of privacy. The primary motivation around that post was that Bluetooth scans and pairing require ACCESS_LOCATION_FINE permission which can be confusing for the user. Why should an app that connects to a Bluetooth device require access to my location? The…

Fri Jun 25, 2021 12:18
Compose: List / Detail – Testing part 2

In a recent post on Styling Android we looked SlidingPanelLayout. This can simplify the implementation of a List / Detail UI. It handles the logic of whether to show a side-by-side layout or a two-page layout depending on the screen size. Currently, there is no equivalent for this in Jetpack Compose. In this article, we’ll…

Fri Jun 18, 2021 12:46
Compose: List / Detail – Testing part 1

In a recent post on Styling Android we looked SlidingPanelLayout. This can simplify the implementation of a List / Detail UI. It handles the logic of whether to show a side-by-side layout or a two-page layout depending on the screen size. Currently, there is no equivalent for this in Jetpack Compose. In this article, we’ll…

Fri Jun 11, 2021 12:24

Build your own newsfeed

Ready to give it a go?
Start a 14-day trial, no credit card required.

Create account