- 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
推薦閱讀
- Learn TypeScript 3 by Building Web Applications
- 精通JavaScript+jQuery:100%動態網頁設計密碼
- C++面向對象程序設計(微課版)
- Java游戲服務器架構實戰
- Mastering Apache Maven 3
- Instant Nancy Web Development
- Getting Started with React Native
- Getting Started with Eclipse Juno
- 響應式架構:消息模式Actor實現與Scala、Akka應用集成
- Julia數據科學應用
- ASP.NET開發寶典
- 量子計算機編程:從入門到實踐
- 系統分析師UML用例實戰
- Python程序設計教程
- Building E-Commerce Solutions with WooCommerce(Second Edition)