You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

styles.js 972B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import { StyleSheet } from 'react-native';
  2. import { ColorPalette } from '../../../styles';
  3. /**
  4. * The styles of the feature base/media.
  5. */
  6. export default StyleSheet.create({
  7. /**
  8. * Base style of the transformed video view.
  9. */
  10. videoTranformedView: {
  11. flex: 1
  12. },
  13. /**
  14. * A basic style to avoid rendering a transformed view off the component,
  15. * that can be visible on special occasions, such as during device rotate
  16. * animation, or PiP mode.
  17. */
  18. videoTransformedViewContaier: {
  19. overflow: 'hidden'
  20. },
  21. /**
  22. * Make {@code Video} fill its container.
  23. */
  24. video: {
  25. flex: 1
  26. },
  27. /**
  28. * Black cover for the video, which will be animated by reducing its opacity
  29. * and create a fade-in effect.
  30. */
  31. videoCover: {
  32. backgroundColor: ColorPalette.black,
  33. bottom: 0,
  34. left: 0,
  35. position: 'absolute',
  36. right: 0,
  37. top: 0
  38. }
  39. });