React native UI example/template. Video call screen prototype

React Native example/template, Video call screen prototype! . Take a look at this UI example and see how it can enhance your project. You can copy or download the code and use it in your project. Don't forget to browse our library of other free React Native templates for even more design and functionality inspiration. Happy coding!

import React from 'react';
import { View, Image, TouchableOpacity, StyleSheet, Text } from 'react-native';

const VideoCallScreen = () => {
  return (
    <View style={styles.container}>
      <View style={styles.header}>
        <Text style={styles.name}>John Doe</Text>
        <Text style={styles.subText}>This is the sub text</Text>
      </View>
      <View style={styles.opponentContainer}>
        <Image
          source={{ uri: 'https://bootdey.com/img/Content/avatar/avatar6.png' }}
          style={styles.opponentVideo}
          resizeMode='cover'
        />
      </View>
      <View style={styles.currentContainer}>
        <Image
          source={{ uri: 'https://bootdey.com/img/Content/avatar/avatar1.png' }}
          style={styles.currentUser}
          resizeMode='cover'
        />
      </View>
      <View style={styles.controlsContainer}>
        <View style={styles.controls}>
          <TouchableOpacity style={styles.controlButton}>
            <Text>Mute</Text>
          </TouchableOpacity>
          <TouchableOpacity style={styles.controlButton}>
            <Text>Chat</Text>
          </TouchableOpacity>
          <TouchableOpacity style={styles.controlButton}>
            <Text>Send file</Text>
          </TouchableOpacity>
          <TouchableOpacity style={[styles.controlButton, styles.endCallButton]}>
            <Text>End Call</Text>
          </TouchableOpacity>
        </View>
      </View>
    </View>
  );
};

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'stretch',
    justifyContent: 'center',
    backgroundColor:'#fff'
  },
  header: {
    marginTop:30,
    padding:10,
    backgroundColor:'#fff',
    justifyContent: 'center',
  },
  name: {
    fontSize:20,
    fontWeight:'bold',
    marginLeft:20,
    marginBottom:3,
  },
  subText: {
    fontSize:14,
    marginLeft:20,
    color:'#808080'
  },
  opponentContainer: {
    flex: 1,
    alignItems: 'stretch',
    justifyContent: 'center',
  },
  opponentVideo: {
    flex: 1,
  },
  currentContainer: {
    position: 'absolute',
    top: 120,
    left: 20,

    shadowColor: '#000',
    shadowOffset: { width: 0, height: 2 },
    shadowOpacity: 0.8,
    shadowRadius: 2,
    elevation: 1,
  },
  currentUser: {
    width: 100,
    height: 150,
  },
  controlsContainer: {
    height:80,
    position: 'absolute',
    left: 0,
    right: 0,
    bottom: 0,
    backgroundColor: 'rgba(0, 0, 0, 0.8)',
    alignItems: 'center',
    justifyContent: 'center',
  },
  controls: {
    flexDirection: 'row',
    alignItems: 'center',
    justifyContent: 'center',
  },
  controlButton: {
    backgroundColor: 'rgba(255, 255, 255, 0.8)',
    padding: 10,
    marginHorizontal: 10,
    borderRadius: 5,

    shadowColor: '#000',
    shadowOffset: { width: 0, height: 2 },
    shadowOpacity: 0.8,
    shadowRadius: 2,
    elevation: 1,
  },
  endCallButton:{
    backgroundColor: '#FF4500'
  }
});

export default VideoCallScreen;

                                            

Similar snippets

React native template. WhatsApp call list ui example

WhatsApp call list ui example

React native template. WhatsApp call screen ui example

WhatsApp call screen ui example

About this react-native template

This react-native template, Video call screen prototype, was published on Jan 20th 2023, 10:06 by Bootdey Admin and it is free.

We hope you will enjoy this awesome react-native template and stay tuned for the latest updates, we believe it will save your precious time and gives trendy look to your next application.

This template currectly have 3.7K views, Using this react-native template you have the following benefits:

Example Screens

You can jump start your development with our pre-built example, all you need to do is copy the code and execute it, You can also show it to your customers so that they have an idea of the final result.

Cross-platform for mobile development

This template was developed for Android and iOS.

Simple Integration

This template can be simply integrated on existing projects and new ones too, all you need to do is copy the code and start working.

Fully coded view

this is a functional example, You will save a lot of time going from prototyping to full-functional code.