Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pianoApp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
norhalimah
pianoApp
Commits
569d01b9
Commit
569d01b9
authored
Apr 19, 2021
by
norhalimah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating UI
parent
34d57dcd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
28 deletions
+37
-28
App.js
App.js
+4
-23
img_level_layer1.png
media/img/img_level_layer1.png
+0
-0
listening.js
screens/listening.js
+1
-2
metronome.js
screens/metronome.js
+0
-0
styleMetronome.js
style/styleMetronome.js
+32
-3
No files found.
App.js
View file @
569d01b9
...
...
@@ -156,30 +156,11 @@ class App extends React.PureComponent {
<
Stack
.
Screen
name
=
"4"
component
=
{
MetronomeSkill
}
options
=
{({
navigation
})
=>
({
title
:
'Metronome'
,
//title: 'C Major',
options
=
{{
title
:
' '
,
headerTransparent
:
true
,
headerStyle
:
{
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'
);
}}
/
>
),
})}
headerLeft
:
null
,
}}
/
>
<
Stack
.
Screen
name
=
"5"
...
...
media/img/img_level_layer1.png
View replaced file @
34d57dcd
View file @
569d01b9
This diff is collapsed.
Click to expand it.
screens/listening.js
View file @
569d01b9
...
...
@@ -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
}
/
>
<
/TouchableOpacity
>
<
/View
>
<
View
style
=
{{
backgroundColor
:
'#9F9F9F'
}}
>
<
View
style
=
{{
backgroundColor
:
'#9F9F9F'
,
position
:
'absolute'
}}
/
>
<
View
style
=
{
styles
.
screenA
}
>
{
NOTESWHITE
.
slice
(
0
,
13
).
map
((
item
,
id
)
=>
(
<
TouchableHighlight
style
=
{
keywordsList
.
find
((
element
)
=>
element
===
item
.
name
)
?
styles
.
selectedKeywordStyle
:
styles
.
buttonStyle
}
...
...
@@ -567,7 +567,6 @@ class Listen extends React.Component {
<
/TouchableHighlight
>
))}
<
/View
>
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
screen
}
>
...
...
screens/metronome.js
View file @
569d01b9
This diff is collapsed.
Click to expand it.
style/styleMetronome.js
View file @
569d01b9
...
...
@@ -6,12 +6,41 @@ const config = {
deviceHeight
:
Dimensions
.
get
(
'window'
).
height
,
};
const
height
=
Dimensions
.
get
(
'window'
).
height
;
const
width
=
Dimensions
.
get
(
'window'
).
width
;
export
default
StyleSheet
.
create
({
imagebackground
:
{
width
:
'100%'
,
height
:
'100%'
,
viewTitle
:
{
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
:{
backgroundColor
:
'#545252'
,
marginTop
:
296
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment