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 914B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. ...StyleSheet.absoluteFillObject,
  33. backgroundColor: ColorPalette.black
  34. }
  35. });