Building a react native application with a divided left and right section.
The left side has flex:0.7
, while the right side has flex:0.2
.
In the left section, there's a container with an embedded ImageBackground
resembling a circuit framework.
https://i.sstatic.net/AfygH.png
I need to position sub components within this framework as shown below:
Expected Output:
https://i.sstatic.net/dAcLn.png
Tried Methods:
Used HTML and CSS which worked smoothly:
Your CSS code here...
Your HTML code here...
However, trying to replicate this in react native brought some challenges. Here's what I attempted:
Your React Native JavaScript code here...
Problem:
Post implementation, captured screen screenshots of varying dimensions showed inconsistency:
https://i.sstatic.net/OGH2u.png
https://i.sstatic.net/XYDfh.png
Seeking assistance in making the absolute positioned elements responsive across all tablet screens without any distortion.
Note: Clarified that the issue is observed in a react-native environment.