Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppUms_Lecturer
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
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
tungnq
AppUms_Lecturer
Commits
89495241
Commit
89495241
authored
Aug 13, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Đã fix header thành công
parent
322e9ca4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
10 deletions
+8
-10
Header.js
src/components/Header/Header.js
+2
-2
header.js
src/screens/home/header.js
+2
-2
style.js
src/screens/home/style.js
+1
-0
view.js
src/screens/home/view.js
+3
-6
No files found.
src/components/Header/Header.js
View file @
89495241
...
...
@@ -28,8 +28,8 @@ const Header = props => {
<
SafeAreaView
style
=
{
styles
.
safeArea
}
>
<
StatusBar
barStyle
=
"light-content"
backgroundColor
=
"transparent"
translucent
=
{
true
}
translucent
=
{
false
}
backgroundColor
=
'black'
/>
<
View
style
=
{
styles
.
headerContainer
}
>
<
Text
numberOfLines
=
{
1
}
style
=
{
styles
.
txtTitle
}
>
...
...
src/screens/home/header.js
View file @
89495241
...
...
@@ -12,8 +12,8 @@ const HeaderHome = (props) => {
<
SafeAreaView
style
=
{
styles
.
containerBoxHeader
}
>
<
StatusBar
barStyle
=
"light-content"
backgroundColor
=
"transparent"
translucent
=
{
true
}
translucent
=
{
false
}
backgroundColor
=
'black'
/>
<
View
style
=
{
styles
.
boxLogo
}
>
<
Image
...
...
src/screens/home/style.js
View file @
89495241
...
...
@@ -7,6 +7,7 @@ const styles = StyleSheet.create({
flexDirection
:
"row"
,
marginHorizontal
:
15
,
maxHeight
:
40
,
marginTop
:
15
},
boxLogo
:{
flex
:
2
,
...
...
src/screens/home/view.js
View file @
89495241
...
...
@@ -169,10 +169,7 @@ const HomeView = (props) => {
<
View
style
=
{
styles
.
container_body
}
>
<
ImageBackground
source
=
{
R
.
images
.
igBackground
}
style
=
{[
styles
.
background_header
,
{
// FIXME: Extend background lên trên để cover status bar
paddingTop
:
Platform
.
OS
===
'ios'
?
50
:
(
StatusBar
.
currentHeight
||
0
)
+
10
,
}]}
style
=
{
styles
.
background_header
}
>
<
HeaderCus
value
=
{
searchText
}
...
...
@@ -184,8 +181,8 @@ const HomeView = (props) => {
<
ScrollView
showsVerticalScrollIndicator
=
{
false
}
style
=
{
styles
.
scroll
}
bounces
=
{
false
}
// OPTIMIZE: Tắt bounce effect
overScrollMode
=
"never"
// OPTIMIZE: Android không over scroll
bounces
=
{
false
}
overScrollMode
=
"never"
>
{
renderMenuActivity
()}
{
renderMenuStatistics
()}
...
...
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