[RN] Add remote video menu

This commit is contained in:
Bettenbuk Zoltan
2018-12-19 19:40:17 +01:00
committed by Zoltan Bettenbuk
parent d4c0840659
commit 6b68fba220
27 changed files with 582 additions and 65 deletions

View File

@@ -130,51 +130,3 @@ export const toolbarToggledButtonStyles = {
iconStyle: styles.whiteToolbarButtonIcon,
style: styles.whiteToolbarButton
};
// Overflow menu:
/**
* Styles for the {@code OverflowMenu} items.
*
* These have been implemented as per the Material Design guidelines:
* {@link https://material.io/guidelines/components/bottom-sheets.html}.
*/
const overflowMenuStyles = createStyleSheet({
/**
* Container style for a {@code ToolboxItem} rendered in the
* {@code OverflowMenu}.
*/
container: {
alignItems: 'center',
flexDirection: 'row',
height: 48
},
/**
* Style for the {@code Icon} element in a {@code ToolboxItem} rendered in
* the {@code OverflowMenu}.
*/
icon: {
color: ColorPalette.white,
fontSize: 24
},
/**
* Style for the label in a {@code ToolboxItem} rendered in the
* {@code OverflowMenu}.
*/
label: {
color: ColorPalette.white,
flexShrink: 1,
fontSize: 16,
marginLeft: 32,
opacity: 0.90
}
});
export const overflowMenuItemStyles = {
iconStyle: overflowMenuStyles.icon,
labelStyle: overflowMenuStyles.label,
style: overflowMenuStyles.container,
underlayColor: ColorPalette.overflowMenuItemUnderlay
};