Building Versatile Mobile Apps with Python and REST by Art Yudin

Building Versatile Mobile Apps with Python and REST by Art Yudin

Author:Art Yudin
Language: eng
Format: epub
ISBN: 9781484263334
Publisher: Apress


Define pizzaImage in StyleSheet with height and width as 200 points.pizzaImage: {

width: 200,

height: 200,

},

After we added the Image component to the App function and saved it, our simulators should render the pizza image (Figure 5-20).

Figure 5-20Image component added to App.js file and rendered on Android emulator

We have experimented with basic React Native components a bit; now it is time to look at navigation.

React Navigation

As we discussed before, an application should be user-friendly and simple to use. Navigation is essential to any mobile app. React Navigation is a very popular platform to build a transition pattern to flip through screens. It does not come by default, and we will need to install it and add dependencies to Expo. If your Metro Bundler is still running, stop it with the Ctrl+C command. Using npm manager, install React Navigation and other libraries for navigation features:npm install @react-navigation/native

npm install @react-navigation/stack

npm install @react-navigation/bottom-tabs

npm install @react-navigation/drawer



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.