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

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
主站蜘蛛池模板: 福清市| 苍梧县| 揭东县| 永年县| 黔西县| 抚宁县| 会宁县| 武汉市| 来凤县| 南皮县| 镇安县| 田阳县| 临朐县| 探索| 永兴县| 昭觉县| 鹤岗市| 彭阳县| 浏阳市| 朝阳区| 青阳县| 隆安县| 洛隆县| 潞城市| 金沙县| 神农架林区| 昭通市| 邓州市| 无锡市| 古田县| 安宁市| 淮安市| 滕州市| 西峡县| 湖北省| 青铜峡市| 孟州市| 望都县| 武清区| 象山县| 剑阁县|