After I add it, it works fine, but while typing, it's showing as if it's deprecated.
See the image below to know what I mean.
Am I doing something wrong of it's acting weird?
ScrollView is NOT deprecated component in React Native https://reactnative.dev/docs/scrollview
Related
How to get this effect in React Native?
Is it possible to get removing background effect in react-native?
I recommend to use react-native-drawpad and react-native-sketch-canvas.
It might give you hint. I am not sure it will be exact solution for this effect.
I want to create a time duration component for a camera view like this in react native (please see the image below).
Is there a library that I could use if not, can you help how could I do it? Thanks in advance.
Just to answer this question since I manage to solved it.
I used React Native Snap Carousel to make it work.
How can we justify text in react native for both android and iOS without using webView, since webView is not visible in android after placing it inside another view.
The following option only works for iOS.
textAlign='justify'
https://facebook.github.io/react-native/docs/text.html#style
As it s written here, justify for android is not available... Most of the tricks suggest to use left or then a webview as you said...
Using webView resolved the issue. To show webView inside the ScrollView I just had to add height to webView.
https://github.com/jsdf/react-native-htmlview/issues/7
I'm trying to make a moving background in react native to move continusely from left to right or from bottom to top.
I found a code for Android here but can't make a similar react native code:
Any Idea?
You could use Lottie: http://airbnb.io/lottie/
You would have to make the animation outside and then use it as a view with absolute position but it should work. That way you could control the flow.
Also, you could expose that native code in RN as a Native Module.
In Objective-C, we can use MKPolygon to add a polygon to the mapview. How can I add polygons to map view using React Native? Is it possible? I think technically it is possible. I probably need to go the source code of react native.
It might be, but the MapView that comes with React Native is lacking for Android, and it seems crippled for iOS. I only saw the overlay property, which should work for polygons, and it even has a fillColor property, which would imply that you could. However, It's not clear from the docs what to do to tell the overlay that you want a polygon instead of a polyline.
I'd suggest this much more capable replacement MapView for React Native: https://github.com/lelandrichardson/react-native-maps
I'm halfway expecting the React Native maintainers to take notice of it, and integrate it if they find out about it.