Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
0517356
GL PROJ
Commits
ad43b95a
Commit
ad43b95a
authored
Jun 18, 2021
by
7056117
Browse files
settings
parent
be5aa217
Changes
1
Hide whitespace changes
Inline
Side-by-side
TraCloSo/scr/Settings.js
View file @
ad43b95a
...
...
@@ -8,6 +8,7 @@ import { SafeAreaView } from 'react-native-safe-area-context';
import
HeaderComponent
from
'
../components/Header
'
;
import
Constants
from
'
expo-constants
'
;
import
{
StatusBar
}
from
'
expo-status-bar
'
;
import
Icon
from
"
react-native-vector-icons/MaterialIcons
"
;
export
default
function
Settings
()
{
...
...
@@ -45,18 +46,17 @@ export default function Settings() {
<
TouchableOpacity
style
=
{
style
.
Accordion
}
key
=
{
'
Language
'
}
onPress
=
{()
=>
{
setCurrentIndex
(
index
)
}}
onPress
=
{()
=>
{
}}
>
<
View
>
<
Text
style
=
{
style
.
title
}
>
Language
<
/Text
>
{
index
===
CurrentIndex
&&
(
<
View
style
=
{
style
.
language
}
>
<
Text
style
=
{{
fontSize
:
25
}}
>
Language
<
/Text
>
<
Icon
name
=
'
keyboard-arrow-down
'
size
=
{
30
}
color
=
'
#767577
'
/>
<
/View>
<
View
style
=
{
style
.
options
}
>
<
Text
>
English
<
/Text
>
<
Text
>
Nederlands
<
/Text
>
<
Text
style
=
{
style
.
taal
}
>
English
<
/Text
>
<
Text
style
=
{
style
.
taal
}
>
Nederlands
<
/Text
>
<
/View
>
)}
<
/View
>
<
/TouchableOpacity
>
<
/View
>
...
...
@@ -80,17 +80,31 @@ const style = StyleSheet.create({
flexGrow
:
1
,
paddingTop
:
20
,
},
titl
e
:
{
languag
e
:
{
textTransform
:
'
uppercase
'
,
backgroundColor
:
"
#E5E5E5
"
,
flexDirection
:
'
row
'
,
justifyContent
:
'
space-between
'
,
alignItems
:
'
center
'
,
paddingLeft
:
'
25%
'
,
paddingRight
:
'
25%
'
,
paddingTop
:
10
,
paddingBottom
:
10
,
},
taal
:{
fontSize
:
20
,
padding
:
5
,
},
options
:
{
padding
:
10
,
paddingLeft
:
50
,
},
row
:
{
flexGrow
:
1
,
flexGrow
:
0.
1
,
flexDirection
:
'
row
'
,
justifyContent
:
'
space-between
'
,
alignItems
:
'
center
'
,
fontSize
:
2
5
,
height
:
50
,
height
:
2
0
,
borderBottomWidth
:
1
,
},
})
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