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
3c343a8f
Commit
3c343a8f
authored
Aug 13, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Đã hoàn thiện giao diện android
parent
414a1393
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
11 deletions
+29
-11
style.js
src/screens/notification/style.js
+24
-9
view.js
src/screens/notification/view.js
+5
-2
No files found.
src/screens/notification/style.js
View file @
3c343a8f
...
@@ -12,7 +12,7 @@ const styles = StyleSheet.create({
...
@@ -12,7 +12,7 @@ const styles = StyleSheet.create({
minWidth
:
Platform
.
OS
===
'ios'
?
70
:
80
,
minWidth
:
Platform
.
OS
===
'ios'
?
70
:
80
,
backgroundColor
:
R
.
colors
.
grayButton
,
backgroundColor
:
R
.
colors
.
grayButton
,
borderRadius
:
10
,
borderRadius
:
10
,
margin
Horizontal
:
Platform
.
OS
===
'ios'
?
10
:
5
,
margin
Right
:
Platform
.
OS
===
'ios'
?
10
:
1
5
,
alignItems
:
'center'
,
alignItems
:
'center'
,
justifyContent
:
'center'
,
justifyContent
:
'center'
,
},
},
...
@@ -24,8 +24,8 @@ const styles = StyleSheet.create({
...
@@ -24,8 +24,8 @@ const styles = StyleSheet.create({
flexDirection
:
'row'
,
flexDirection
:
'row'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
justifyContent
:
'center'
,
justifyContent
:
'center'
,
marginVertical
:
2
,
marginHorizontal
:
15
,
marginHorizontal
:
15
,
marginVertical
:
15
,
},
},
textTabView
:{
textTabView
:{
color
:
R
.
colors
.
white
,
color
:
R
.
colors
.
white
,
...
@@ -42,8 +42,8 @@ const styles = StyleSheet.create({
...
@@ -42,8 +42,8 @@ const styles = StyleSheet.create({
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
borderWidth
:
1
,
borderWidth
:
1
,
borderRadius
:
100
,
borderRadius
:
100
,
marginVertical
:
10
,
marginHorizontal
:
15
,
marginHorizontal
:
15
,
marginBottom
:
15
,
backgroundColor
:
R
.
colors
.
white
,
backgroundColor
:
R
.
colors
.
white
,
flexDirection
:
'row'
,
flexDirection
:
'row'
,
maxHeight
:
41
,
maxHeight
:
41
,
...
@@ -55,7 +55,7 @@ const styles = StyleSheet.create({
...
@@ -55,7 +55,7 @@ const styles = StyleSheet.create({
maxHeight
:
35
,
maxHeight
:
35
,
alignItems
:
'center'
,
alignItems
:
'center'
,
justifyContent
:
'center'
,
justifyContent
:
'center'
,
marginHorizontal
:
5
,
marginHorizontal
:
Platform
.
OS
===
'ios'
?
5
:
10
,
},
},
inputSearch
:{
inputSearch
:{
fontSize
:
R
.
sizes
.
sm
,
fontSize
:
R
.
sizes
.
sm
,
...
@@ -67,18 +67,17 @@ const styles = StyleSheet.create({
...
@@ -67,18 +67,17 @@ const styles = StyleSheet.create({
containerListNotification
:{
containerListNotification
:{
},
},
cardItem
:{
cardItem
:{
paddingVertical
:
10
,
paddingHorizontal
:
15
,
paddingHorizontal
:
15
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
borderColor
:
R
.
colors
.
grayBorderInputTextHeader
,
borderRadius
:
10
,
borderRadius
:
10
,
marginVertical
:
10
,
backgroundColor
:
R
.
colors
.
white
,
backgroundColor
:
R
.
colors
.
white
,
shadowColor
:
R
.
colors
.
black
,
shadowColor
:
R
.
colors
.
black
,
marginHorizontal
:
15
,
marginHorizontal
:
15
,
shadowOffset
:{
width
:
0.5
,
height
:
2
},
shadowOffset
:{
width
:
0.5
,
height
:
2
},
shadowOpacity
:
0.25
,
shadowOpacity
:
Platform
.
OS
===
'ios'
?
0.25
:
1
,
shadowRadius
:
5
,
shadowRadius
:
5
,
elevation
:
1
,
elevation
:
Platform
.
OS
===
'ios'
?
1
:
5
,
marginBottom
:
15
,
},
},
cardItemTution
:{
cardItemTution
:{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
...
@@ -117,6 +116,21 @@ const styles = StyleSheet.create({
...
@@ -117,6 +116,21 @@ const styles = StyleSheet.create({
boxTimeView
:{
boxTimeView
:{
alignItems
:
'flex-end'
,
alignItems
:
'flex-end'
,
},
},
btnFooter
:{
backgroundColor
:
R
.
colors
.
blue
,
paddingVertical
:
10
,
paddingHorizontal
:
20
,
borderRadius
:
10
,
alignItems
:
'center'
,
justifyContent
:
'center'
,
marginHorizontal
:
15
,
marginBottom
:
10
,
},
textBtnFooter
:{
color
:
R
.
colors
.
white
,
fontSize
:
R
.
sizes
.
sm
,
fontWeight
:
'500'
,
fontFamily
:
R
.
fonts
.
fontMedium
,
},
})
})
export
default
styles
;
export
default
styles
;
\ No newline at end of file
src/screens/notification/view.js
View file @
3c343a8f
...
@@ -98,8 +98,6 @@ const NotificationView = props => {
...
@@ -98,8 +98,6 @@ const NotificationView = props => {
<
View
style
=
{
styles
.
boxTimeView
}
>
<
View
style
=
{
styles
.
boxTimeView
}
>
<
Text
style
=
{
styles
.
text
}
numberOfLines
=
{
1
}
ellipsizeMode
=
"tail"
>
{
item
.
time
}
<
/Text
>
<
Text
style
=
{
styles
.
text
}
numberOfLines
=
{
1
}
ellipsizeMode
=
"tail"
>
{
item
.
time
}
<
/Text
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
);
);
};
};
...
@@ -171,6 +169,11 @@ const NotificationView = props => {
...
@@ -171,6 +169,11 @@ const NotificationView = props => {
{
dataNotifi
[
activeTab
].
length
===
0
?
renderItemEmpty
():
renderListNotification
()}
{
dataNotifi
[
activeTab
].
length
===
0
?
renderItemEmpty
():
renderListNotification
()}
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
containerFooter
}
>
<
TouchableOpacity
style
=
{
styles
.
btnFooter
}
onPress
=
{()
=>
navigate
.
navigate
(
SCREENNAME
.
PROFILE
)}
>
<
Text
style
=
{
styles
.
textBtnFooter
}
>
T
ạ
o
th
ô
ng
b
á
o
m
ớ
i
<
/Text
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
<
/View
>
);
);
};
};
...
...
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