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 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. import { StyleSheet } from 'react-native';
  2. import { BoxModel, ColorPalette, createStyleSheet } from '../../base/styles';
  3. import { FILMSTRIP_SIZE } from '../../filmstrip';
  4. /**
  5. * Size for the Avatar.
  6. */
  7. export const AVATAR_SIZE = 200;
  8. export default createStyleSheet({
  9. /**
  10. * View that contains the indicators.
  11. */
  12. indicatorContainer: {
  13. flex: 1,
  14. flexDirection: 'row',
  15. margin: BoxModel.margin,
  16. position: 'absolute',
  17. right: 0,
  18. // Both on Android and iOS there is the status bar which may be visible.
  19. // On iPhone X there is the notch. In the two cases BoxModel.margin is
  20. // not enough.
  21. top: BoxModel.margin * 3
  22. },
  23. /**
  24. * Indicator container for wide aspect ratio.
  25. */
  26. indicatorContainerWide: {
  27. right: FILMSTRIP_SIZE
  28. },
  29. /**
  30. * Large video container style.
  31. */
  32. largeVideo: {
  33. ...StyleSheet.absoluteFillObject,
  34. alignItems: 'stretch',
  35. backgroundColor: ColorPalette.appBackground,
  36. flex: 1,
  37. justifyContent: 'center'
  38. }
  39. });