Native Child View does not occupy full height and width of FrameLayout – React native
I am trying to integrate camera-x inside an android fragment in react-native Here is my native code class CealScanQrView(context: Context): FrameLayout(context) { init { val frameLayoutParams = ViewGroup.LayoutParams( ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT ) layoutParams = frameLayoutParams setLayoutParams(layoutParams) setBackgroundColor(Color.parseColor("#5FD3F3")) preview = PreviewView(context) preview.id…