- Hands-On Design Patterns with React Native
- Mateusz Grzesiukiewicz
- 155字
- 2021-08-13 15:13:03
Styling Patterns
It's time to add some looks to our applications. In this chapter, we will explore unique styling solutions and mechanisms. React Native StyleSheet may resemble web cascading style sheets (CSS); however, Native application styling is different. Similarities in the syntax quickly end and you should spend some time with this chapter to learn the basics of styling. Later on in this book, we will use an external library that provides ready-made styles. It is crucial for you to understand how to make such components yourself, especially if you plan to work professionally in React Native in teams who deliver custom designs.
In this chapter, we will cover the following topics:
- Styling components in the React Native environment
- Dealing with limited style inheritance
- Using density-independent pixels
- Positioning elements with Flexbox
- Handling long text issues
- Making animations using the Animated library
- Measuring your application's speed using the Frames Per Second (FPS) metric
推薦閱讀
- 程序員修煉之道:程序設計入門30講
- Mastering JavaScript Object-Oriented Programming
- Instant Apache Stanbol
- 人臉識別原理及算法:動態人臉識別系統研究
- Java Web程序設計
- JS全書:JavaScript Web前端開發指南
- 嵌入式Linux C語言程序設計基礎教程
- Clojure High Performance Programming(Second Edition)
- Python無監督學習
- 第五空間戰略:大國間的網絡博弈
- PHP程序設計高級教程
- Building E-Commerce Solutions with WooCommerce(Second Edition)
- Maya Programming with Python Cookbook
- Java項目驅動開發教程
- 移動應用界面設計