官术网_书友最值得收藏!

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
主站蜘蛛池模板: 鹤壁市| 武义县| 萝北县| 上蔡县| 微山县| 辽阳市| 龙里县| 新郑市| 渭源县| 瓮安县| 牙克石市| 米林县| 安阳县| 伊金霍洛旗| 乌兰浩特市| 德保县| 金湖县| 牙克石市| 黄梅县| 紫金县| 长汀县| 年辖:市辖区| 青田县| 永胜县| 柞水县| 杭锦后旗| 临清市| 茶陵县| 库车县| 乌兰县| 罗甸县| 灵川县| 康保县| 杭州市| 桦川县| 馆陶县| 白沙| 江口县| 海宁市| 台东县| 蕉岭县|