Commit 569d01b9 authored by norhalimah's avatar norhalimah

Updating UI

parent 34d57dcd
...@@ -156,30 +156,11 @@ class App extends React.PureComponent { ...@@ -156,30 +156,11 @@ class App extends React.PureComponent {
<Stack.Screen <Stack.Screen
name="4" name="4"
component={MetronomeSkill} component={MetronomeSkill}
options={({navigation}) => ({ options={{
title: 'Metronome', title: ' ',
//title: 'C Major',
headerTransparent: true, headerTransparent: true,
headerStyle: { headerLeft: null,
backgroundColor: '#81C9C9', }}
},
headerTitleStyle: {
fontFamily: 'Gilroy-Bold',
fontSize: 20,
lineHeight: 25,
marginLeft: '5%',
},
headerBackImage: () => (
<Image
style={{height: 50, width: 50}}
source={closeIcon}
onPress={() => {
Orientation.lockToPortrait();
navigation.navigate('1');
}}
/>
),
})}
/> />
<Stack.Screen <Stack.Screen
name="5" name="5"
......
...@@ -550,7 +550,7 @@ class Listen extends React.Component { ...@@ -550,7 +550,7 @@ class Listen extends React.Component {
<Image style={{width:'70%', height:'90%', paddingHorizontal: width * 0.04, paddingVertical: height * 0.03}} source={rightIcon}/> <Image style={{width:'70%', height:'90%', paddingHorizontal: width * 0.04, paddingVertical: height * 0.03}} source={rightIcon}/>
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<View style={{backgroundColor:'#9F9F9F'}}> <View style={{backgroundColor:'#9F9F9F', position: 'absolute'}}/>
<View style={styles.screenA}> <View style={styles.screenA}>
{NOTESWHITE.slice(0, 13).map((item,id) => ( {NOTESWHITE.slice(0, 13).map((item,id) => (
<TouchableHighlight style={ keywordsList.find((element) => element === item.name) ? styles.selectedKeywordStyle : styles.buttonStyle} <TouchableHighlight style={ keywordsList.find((element) => element === item.name) ? styles.selectedKeywordStyle : styles.buttonStyle}
...@@ -567,7 +567,6 @@ class Listen extends React.Component { ...@@ -567,7 +567,6 @@ class Listen extends React.Component {
</TouchableHighlight> </TouchableHighlight>
))} ))}
</View> </View>
</View>
</View> </View>
<View style={styles.screen}> <View style={styles.screen}>
......
This diff is collapsed.
...@@ -6,12 +6,41 @@ const config = { ...@@ -6,12 +6,41 @@ const config = {
deviceHeight: Dimensions.get('window').height, deviceHeight: Dimensions.get('window').height,
}; };
const height = Dimensions.get('window').height;
const width = Dimensions.get('window').width;
export default StyleSheet.create({ export default StyleSheet.create({
imagebackground: {
width: '100%', viewTitle: {
height: '100%', flexDirection: 'row',
width:width,
height: height * 0.06,
},
textTitle: {
fontFamily: 'Gilroy-Bold',
fontSize: 20,
lineHeight: 25,
marginLeft: width * 0.17,
paddingVertical: height * 0.012,
},
closeIcon: {
height: 50,
width: 50,
padding:10,
}, },
modal1:{ modal1:{
backgroundColor: '#545252', backgroundColor: '#545252',
marginTop:296, marginTop:296,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment