This is Akash Mittal, an overall computer scientist. He is in software development from more than 10 years and worked on technologies like ReactJS, React Native, Php, JS, Golang, Java, Android etc. Being a die hard animal lover is the only trait, he is proud of.
Suppose you are creating an app of a blog where you display articles on wildlife. In the text you have links targeting national geographic website. But the links are not…
There are situations when we do not want to fix the text size. Else we want it to expand or shrink according to the size of enclosing parent view. React…
Suppose we are creating a mobile application of famous quotes. Now users will want to copy those quotes and share with their friends. For that, you need to make the…
Underline text can be created using text-decoration properties of CSS like – textDecorationStyle – For type of underline like solid, dotted, dashed etc. textDecorationColor – For colorful underlines textDecorationLine –…
Just like we created the bold text, we can also convert the text into italics. All we need to do is to use fontStyle: italic css on Text component. This…
To create styling like bold in text in React native, we can use css like fontWeight: bold. Nesting of text blocks is supported in React native and we can use…
In order to create text in React Native we need to use <Text> component. This is one of the most useful component and highly customizable. Text component supports various styles…
In order to change the toggle switch color we need to use props like – thumbColor – To change the color of circular disc. It accepts color value. trackColor –…
In order to disable the toggle switch in React Native, we can use disabled prop of <Switch> component and set it to true. Once the switch is disabled, the user…
React Native provides <Switch> component which can be used as toggle button in Android and iOS apps. There are two required props – onValueChange – To run a function when…
React Native provides translucent prop in StatusBar component which when set to true, allows the app to draw under it. With this prop, the statusbar becomes transparent. We can also…
We can hide the status bar in React Native using hidden prop which can be applied on <StatusBar> component. If this prop is set to true then the status bar…
To display white text and icons in statusbar in React Native, we need to provide value light-content to barStyle prop of StatusBar component. By setting this value, the background of…
There are situations when we want our statusbar to look according to the theme of the app. It also depends on type of application. For example, a kids app needs…
React Native provides StatusBar component which has a constant currentHeight. This constant provides the status bar + notch height. It works in Android apps. You need to import the StatusBar…
In the previous article we saw how we can add title under refresh loader. In this article we will see how we can change it’s color. Since title can be…
iOS supports displaying title under pull to refresh loader. This functionality is not available in Android app. To add a title under refresh loader in React Native, we are provided…
Changing background color of pull to refresh loader in React Native is possible through progressBackgroundColor prop of RefreshControl component. This prop only works for Android app because the loader background…