This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<View style={styles.container}> | |
<View style={{ flex: 1 }}> | |
{this.renderNavigator()} | |
</View> | |
<View style={{ height: 56 }}> | |
// render player | |
</View> | |
</View> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { PureComponent } from 'react'; | |
import { StyleSheet, View } from 'react-native'; | |
import { Toolbar } from '../react-native-material-ui'; | |
const styles = StyleSheet.create({ | |
pageContainer: { | |
flex: 1, | |
}, | |
contentContainer: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
import { StyleSheet, View, TouchableWithoutFeedback } from 'react-native'; | |
import { Toolbar, Icon } from '../react-native-material-ui'; | |
// ... | |
const styles = StyleSheet.create({ | |
// ... | |
iconContainer: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
import { StyleSheet, View, TouchableWithoutFeedback, Animated, Easing } from 'react-native'; | |
// ... | |
class IconToggle extends PureComponent { | |
constructor(props, context) { | |
super(props, context); | |
const maxOpacity = 0.12; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
import { StyleSheet, View, TouchableWithoutFeedback, Animated, Easing, Platform } from 'react-native'; | |
import { COLOR, Toolbar, Icon } from '../react-native-material-ui'; | |
// ... | |
class IconToggle extends PureComponent { | |
onPressedIn() { | |
Animated.timing(this.state.scaleValue, { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { PureComponent } from 'react'; | |
import { StyleSheet, View, TouchableWithoutFeedback, Animated, Easing, Platform } from 'react-native'; | |
import { COLOR, Toolbar, Icon } from '../react-native-material-ui'; | |
const styles = StyleSheet.create({ | |
pageContainer: { | |
flex: 1, | |
}, | |
contentContainer: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { COLOR } from '../../react-native-material-ui/src'; | |
import LeftElement from './LeftElement.react'; | |
import CenterElement from './CenterElement.react'; | |
import RightElement from './RightElement.react'; | |
const styles = StyleSheet.create({ | |
container: { | |
position: 'absolute', | |
top: 0, | |
left: 0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { IconToggle } from '../../react-native-material-ui/src'; | |
export default class LeftElement extends Component { | |
render() { | |
return ( | |
<View> | |
<IconToggle name="menu" color="white" /> | |
</View> | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { COLOR } from '../../react-native-material-ui/src'; | |
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
marginLeft: 22, | |
}, | |
text: { | |
fontWeight: '500', | |
fontSize: 20, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
export default class Toolbar extends Component { | |
constructor(props, context) { | |
super(props, context); | |
this.state = { isSearchActive: false, searchValue: '' }; | |
} | |
onSearchPressed = () => { | |
this.setState({ isSearchActive: true }); |
OlderNewer