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

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
主站蜘蛛池模板: 那坡县| 蒲城县| 双鸭山市| 麻城市| 图木舒克市| 沿河| 阳山县| 安阳市| 寿光市| 浏阳市| 长寿区| 高州市| 乾安县| 杭锦后旗| 如东县| 顺平县| 昌都县| 大关县| 铁力市| 玉门市| 安多县| 沙洋县| 北辰区| 资中县| 镇雄县| 岑巩县| 九台市| 淅川县| 瓮安县| 竹山县| 麻栗坡县| 新绛县| 德令哈市| 龙游县| 西盟| 囊谦县| 瑞安市| 手机| 江永县| 巴塘县| 邳州市|