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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. justifyContent: 'flex-end',
  16. margin: BoxModel.margin
  17. },
  18. /**
  19. * Indicator container for wide aspect ratio.
  20. */
  21. indicatorContainerWide: {
  22. marginRight: FILMSTRIP_SIZE + BoxModel.margin
  23. },
  24. labelWrapper: {
  25. flexDirection: 'column',
  26. position: 'absolute',
  27. right: 0,
  28. // Both on Android and iOS there is the status bar which may be visible.
  29. // On iPhone X there is the notch. In the two cases BoxModel.margin is
  30. // not enough.
  31. top: BoxModel.margin * 3
  32. },
  33. /**
  34. * Large video container style.
  35. */
  36. largeVideo: {
  37. ...StyleSheet.absoluteFillObject,
  38. alignItems: 'stretch',
  39. backgroundColor: ColorPalette.appBackground,
  40. flex: 1,
  41. justifyContent: 'center'
  42. }
  43. });