Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Giang Tran
InvestCustomer
Commits
e124cc2b
Commit
e124cc2b
authored
Apr 13, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update code
parent
9c2fced6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
9 deletions
+16
-9
NewFeed.js
src/Screens/NewFeed/NewFeed.js
+1
-1
HeaderBack.js
src/components/Header/HeaderBack.js
+2
-1
HeaderDrawer.js
src/components/Header/HeaderDrawer.js
+3
-2
HeaderNewFeed.js
src/components/Header/HeaderNewFeed.js
+6
-3
HeaderSB.js
src/components/Header/HeaderSB.js
+2
-1
HeaderSearch.js
src/components/Header/HeaderSearch.js
+2
-1
No files found.
src/Screens/NewFeed/NewFeed.js
View file @
e124cc2b
...
@@ -23,7 +23,7 @@ const NewFeed = (props) => {
...
@@ -23,7 +23,7 @@ const NewFeed = (props) => {
scrollEnabled
:
true
,
scrollEnabled
:
true
,
inactiveTintColor
:
'#929292'
,
inactiveTintColor
:
'#929292'
,
activeTintColor
:
'#1473E6'
,
activeTintColor
:
'#1473E6'
,
labelStyle
:
{
fontSize
:
getFontXD
(
36
)
,
fontWeight
:
'700'
},
labelStyle
:
{
fontSize
:
getFontXD
(
36
)},
style
:
{
backgroundColor
:
'white'
},
style
:
{
backgroundColor
:
'white'
},
}}
>
}}
>
<
Tab
.
Screen
<
Tab
.
Screen
...
...
src/components/Header/HeaderBack.js
View file @
e124cc2b
...
@@ -23,6 +23,7 @@ const HeaderHome = (props) => {
...
@@ -23,6 +23,7 @@ const HeaderHome = (props) => {
const
navigate
=
useNavigation
();
const
navigate
=
useNavigation
();
return
(
return
(
<
ImageBackground
<
ImageBackground
imageStyle
=
{{
resizeMode
:
'stretch'
}}
style
=
{[
styles
.
img
,
isWhite
?
{
backgroundColor
:
'white'
}
:
{}]}
style
=
{[
styles
.
img
,
isWhite
?
{
backgroundColor
:
'white'
}
:
{}]}
source
=
{
R
.
images
.
bgHeader
}
>
source
=
{
R
.
images
.
bgHeader
}
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
...
@@ -32,7 +33,7 @@ const HeaderHome = (props) => {
...
@@ -32,7 +33,7 @@ const HeaderHome = (props) => {
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
Text
style
=
{
styles
.
txtTitle
}
>
{
title
}
<
/Text
>
<
Text
style
=
{
styles
.
txtTitle
}
>
{
title
}
<
/Text
>
<
View
/>
<
View
style
=
{
styles
.
imgIcon
}
/
>
<
/View
>
<
/View
>
<
/ImageBackground
>
<
/ImageBackground
>
);
);
...
...
src/components/Header/HeaderDrawer.js
View file @
e124cc2b
...
@@ -30,6 +30,7 @@ const HeaderDrawer = (props) => {
...
@@ -30,6 +30,7 @@ const HeaderDrawer = (props) => {
return
(
return
(
<
ImageBackground
<
ImageBackground
imageStyle
=
{{
resizeMode
:
'stretch'
}}
style
=
{[
styles
.
img
,
isWhite
?
{
backgroundColor
:
'white'
}
:
{}]}
style
=
{[
styles
.
img
,
isWhite
?
{
backgroundColor
:
'white'
}
:
{}]}
source
=
{
R
.
images
.
bgHeader
}
>
source
=
{
R
.
images
.
bgHeader
}
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
...
@@ -39,7 +40,7 @@ const HeaderDrawer = (props) => {
...
@@ -39,7 +40,7 @@ const HeaderDrawer = (props) => {
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
Text
style
=
{
styles
.
txtTitle
}
>
{
title
}
<
/Text
>
<
Text
style
=
{
styles
.
txtTitle
}
>
{
title
}
<
/Text
>
<
View
/>
<
View
style
=
{
styles
.
imgIcon
}
/
>
<
/View
>
<
/View
>
<
Modal
<
Modal
animationIn
=
{
'fadeInLeft'
}
animationIn
=
{
'fadeInLeft'
}
...
@@ -83,7 +84,7 @@ const styles = StyleSheet.create({
...
@@ -83,7 +84,7 @@ const styles = StyleSheet.create({
paddingTop
:
30
,
paddingTop
:
30
,
},
},
headerContainer
:
{
headerContainer
:
{
height
:
55
,
height
:
40
,
paddingTop
:
10
,
paddingTop
:
10
,
width
:
'100%'
,
width
:
'100%'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
...
...
src/components/Header/HeaderNewFeed.js
View file @
e124cc2b
...
@@ -28,7 +28,10 @@ const HeaderHome = (props) => {
...
@@ -28,7 +28,10 @@ const HeaderHome = (props) => {
};
};
return
(
return
(
<
ImageBackground
style
=
{
styles
.
img
}
source
=
{
R
.
images
.
bgHeader
}
>
<
ImageBackground
imageStyle
=
{{
resizeMode
:
'stretch'
}}
style
=
{
styles
.
img
}
source
=
{
R
.
images
.
bgHeader
}
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
<
View
style
=
{
styles
.
headerContainer
}
>
<
View
style
=
{
styles
.
headerContainer
}
>
<
TouchableOpacity
onPress
=
{
toggleModal
}
>
<
TouchableOpacity
onPress
=
{
toggleModal
}
>
...
@@ -36,7 +39,7 @@ const HeaderHome = (props) => {
...
@@ -36,7 +39,7 @@ const HeaderHome = (props) => {
<
/TouchableOpacity
>
<
/TouchableOpacity
>
<
Text
style
=
{
styles
.
txtTitle
}
>
T
à
i
kho
ả
n
<
/Text
>
<
Text
style
=
{
styles
.
txtTitle
}
>
T
à
i
kho
ả
n
<
/Text
>
<
View
/>
<
View
style
=
{
styles
.
imgIcon
}
/
>
<
/View
>
<
/View
>
<
Modal
<
Modal
animationIn
=
{
'fadeInLeft'
}
animationIn
=
{
'fadeInLeft'
}
...
@@ -80,7 +83,7 @@ const styles = StyleSheet.create({
...
@@ -80,7 +83,7 @@ const styles = StyleSheet.create({
paddingTop
:
30
,
paddingTop
:
30
,
},
},
headerContainer
:
{
headerContainer
:
{
height
:
55
,
height
:
40
,
paddingTop
:
10
,
paddingTop
:
10
,
width
:
'100%'
,
width
:
'100%'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
...
...
src/components/Header/HeaderSB.js
View file @
e124cc2b
...
@@ -35,6 +35,7 @@ const HeaderSearch = (props) => {
...
@@ -35,6 +35,7 @@ const HeaderSearch = (props) => {
return
(
return
(
<
ImageBackground
<
ImageBackground
imageStyle
=
{{
resizeMode
:
'stretch'
}}
style
=
{[
styles
.
img
,
isWhite
?
{
backgroundColor
:
'white'
}
:
{}]}
style
=
{[
styles
.
img
,
isWhite
?
{
backgroundColor
:
'white'
}
:
{}]}
source
=
{
R
.
images
.
bgHeader
}
>
source
=
{
R
.
images
.
bgHeader
}
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
...
@@ -81,7 +82,7 @@ const styles = StyleSheet.create({
...
@@ -81,7 +82,7 @@ const styles = StyleSheet.create({
paddingTop
:
30
,
paddingTop
:
30
,
},
},
headerContainer
:
{
headerContainer
:
{
height
:
55
,
height
:
40
,
paddingTop
:
10
,
paddingTop
:
10
,
width
:
'100%'
,
width
:
'100%'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
...
...
src/components/Header/HeaderSearch.js
View file @
e124cc2b
...
@@ -39,6 +39,7 @@ const HeaderSearch = (props) => {
...
@@ -39,6 +39,7 @@ const HeaderSearch = (props) => {
return
(
return
(
<
ImageBackground
<
ImageBackground
imageStyle
=
{{
resizeMode
:
'stretch'
}}
style
=
{[
styles
.
img
,
isWhite
?
{
backgroundColor
:
'white'
}
:
{}]}
style
=
{[
styles
.
img
,
isWhite
?
{
backgroundColor
:
'white'
}
:
{}]}
source
=
{
R
.
images
.
bgHeader
}
>
source
=
{
R
.
images
.
bgHeader
}
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
<
StatusBar
backgroundColor
=
"transparent"
translucent
=
{
true
}
/
>
...
@@ -105,7 +106,7 @@ const styles = StyleSheet.create({
...
@@ -105,7 +106,7 @@ const styles = StyleSheet.create({
paddingTop
:
30
,
paddingTop
:
30
,
},
},
headerContainer
:
{
headerContainer
:
{
height
:
55
,
height
:
40
,
paddingTop
:
10
,
paddingTop
:
10
,
width
:
'100%'
,
width
:
'100%'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
...
...
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