7 Styling NativeScript apps
This chapter covers
- Using CSS to style NativeScript apps
- Displaying images that visually appear the same size on various-sized mobile devices
- Accounting for varying DPI densities when displaying images
Developing mobile apps isn’t about just the technical know-how. Mobile app development is also about creating beautiful apps, with a great user experience and stunning visuals. In other words, apps let mobile developers highlight their creative capabilities. Up until this point in the book, I’ve been focused on creating content and the technical side of organizing the UI; let’s be honest: the Tekmo app looks bland. I’ve ignored making the UI look appealing, and instead focused on functionality. It’s time for a change.
For an app to feel highly functional, the UI needs to be visually appealing. Think about it: how many apps are in the Google Play and iTunes stores? Millions of apps with tens of billions of downloads. How do you differentiate your app from the millions of other apps? What makes your app special? Well-designed and thoughtful functionality is one step, and a compelling UI is another.