Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Ad1Appraisal-Mobile
Project
Project
Details
Activity
Releases
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
Dida Adams Arizona
Ad1Appraisal-Mobile
Commits
4a586794
Commit
4a586794
authored
Mar 03, 2020
by
didam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
didam
parent
e45a2846
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
17 additions
and
11 deletions
+17
-11
AndroidManifest.xml
android/app/src/main/AndroidManifest.xml
+2
-2
ic_ad1app.png
android/app/src/main/res/mipmap-hdpi/ic_ad1app.png
+0
-0
ic_ad1app_round.png
android/app/src/main/res/mipmap-hdpi/ic_ad1app_round.png
+0
-0
ic_ad1app.png
android/app/src/main/res/mipmap-mdpi/ic_ad1app.png
+0
-0
ic_ad1app_round.png
android/app/src/main/res/mipmap-mdpi/ic_ad1app_round.png
+0
-0
ic_ad1app.png
android/app/src/main/res/mipmap-xhdpi/ic_ad1app.png
+0
-0
ic_ad1app_round.png
android/app/src/main/res/mipmap-xhdpi/ic_ad1app_round.png
+0
-0
ic_ad1app.png
android/app/src/main/res/mipmap-xxhdpi/ic_ad1app.png
+0
-0
ic_ad1app_round.png
android/app/src/main/res/mipmap-xxhdpi/ic_ad1app_round.png
+0
-0
ic_ad1app.png
android/app/src/main/res/mipmap-xxxhdpi/ic_ad1app.png
+0
-0
ic_ad1app_round.png
android/app/src/main/res/mipmap-xxxhdpi/ic_ad1app_round.png
+0
-0
homepageScreen.js
app/container/homepageScreen.js
+4
-4
sampleMenuPenerimaan2.js
app/container/sampleMenuPenerimaan2.js
+7
-0
appNavigation.js
app/navigation/appNavigation.js
+4
-5
No files found.
android/app/src/main/AndroidManifest.xml
View file @
4a586794
...
...
@@ -6,8 +6,8 @@
<application
android:name=
".MainApplication"
android:label=
"@string/app_name"
android:icon=
"@mipmap/ic_
launcher
"
android:roundIcon=
"@mipmap/ic_
launcher
_round"
android:icon=
"@mipmap/ic_
ad1app
"
android:roundIcon=
"@mipmap/ic_
ad1app
_round"
android:allowBackup=
"false"
android:theme=
"@style/AppTheme"
>
<activity
...
...
android/app/src/main/res/mipmap-hdpi/ic_ad1app.png
0 → 100644
View file @
4a586794
3.36 KB
android/app/src/main/res/mipmap-hdpi/ic_ad1app_round.png
0 → 100644
View file @
4a586794
5.21 KB
android/app/src/main/res/mipmap-mdpi/ic_ad1app.png
0 → 100644
View file @
4a586794
1.83 KB
android/app/src/main/res/mipmap-mdpi/ic_ad1app_round.png
0 → 100644
View file @
4a586794
2.86 KB
android/app/src/main/res/mipmap-xhdpi/ic_ad1app.png
0 → 100644
View file @
4a586794
4.39 KB
android/app/src/main/res/mipmap-xhdpi/ic_ad1app_round.png
0 → 100644
View file @
4a586794
7.04 KB
android/app/src/main/res/mipmap-xxhdpi/ic_ad1app.png
0 → 100644
View file @
4a586794
8.69 KB
android/app/src/main/res/mipmap-xxhdpi/ic_ad1app_round.png
0 → 100644
View file @
4a586794
13.6 KB
android/app/src/main/res/mipmap-xxxhdpi/ic_ad1app.png
0 → 100644
View file @
4a586794
12.5 KB
android/app/src/main/res/mipmap-xxxhdpi/ic_ad1app_round.png
0 → 100644
View file @
4a586794
18.7 KB
app/container/homepageScreen.js
View file @
4a586794
...
...
@@ -41,7 +41,7 @@ const styles = StyleSheet.create({
backgroundColor
:
'transparent'
,
},
titleStyle
:
{
color
:
'
white
'
,
color
:
'
#fff
'
,
// fontWeight: 'bold',
fontSize
:
18
,
},
...
...
@@ -91,9 +91,9 @@ export default class HomepageScreen extends Component {
{
this
.
state
.
data
.
map
((
item
,
index
)
=>
{
return
(
<
ImageBackground
source
=
{
item
.
image
}
style
=
{{
marginBottom
:
index
==
this
.
state
.
data
.
length
-
1
?
20
:
0
,
backgroundColor
:
'#bababa'
,
height
:
250
,
width
:
250
,
marginTop
:
25
,
borderRadius
:
10
,
elevation
:
5
}}
imageStyle
=
{{
borderRadius
:
10
,
opacity
:
.
5
}}
>
<
TouchableOpacity
style
=
{{
flex
:
1
,
backgroundColor
:
'transparent'
,
justifyContent
:
'
center'
,}
}
>
<
View
style
=
{{
backgroundColor
:
'rgba(255, 221, 0, .
5)'
,
padding
:
5
,
alignItems
:
'center'
}}
>
<
Text
style
=
{{
color
:
Colors
.
blackBasic
}}
>
{
item
.
label
}
<
/Text
>
<
TouchableOpacity
style
=
{{
flex
:
1
,
backgroundColor
:
'transparent'
,
justifyContent
:
'
flex-end'
,}}
onPress
=
{()
=>
this
.
props
.
navigation
.
navigate
(
'MenuPenerimaan'
)
}
>
<
View
style
=
{{
backgroundColor
:
'rgba(255, 221, 0, .
8)'
,
padding
:
5
,
alignItems
:
'center'
,
borderBottomLeftRadius
:
10
,
borderBottomRightRadius
:
10
}}
>
<
Text
style
=
{{
color
:
'#fff'
}}
>
{
item
.
label
}
<
/Text
>
<
/View
>
<
/TouchableOpacity
>
{
/* */
}
...
...
app/container/sampleMenuPenerimaan2.js
View file @
4a586794
...
...
@@ -7,6 +7,13 @@ import { Array } from '../library/Array';
import
AwesomeButton
from
"react-native-really-awesome-button"
;
export
default
class
sampleMenuPenerimaan2
extends
Component
{
constructor
(
props
)
{
super
(
props
)
this
.
state
=
{
date
:
new
Date
(),
checked
:
'first'
,
}
}
render
()
{
return
(
<
Container
style
=
{{
flex
:
1
,
paddingHorizontal
:
10
,
paddingBottom
:
20
}}
>
...
...
app/navigation/appNavigation.js
View file @
4a586794
...
...
@@ -29,7 +29,7 @@ const MainNavigator = createStackNavigator({
// LatihanDragDrop: { screen: LatihanDragDrop, navigationOptions: { title: 'Latihan'}}
},
{
headerMode
:
'screen'
,
initialRouteName
:
'
MenuPenerimaa
n'
,
initialRouteName
:
'
HomepageScree
n'
,
transitionConfig
:
()
=>
fromLeft
(
500
),
defaultNavigationOptions
:
{
headerStyle
,
...
...
@@ -38,10 +38,9 @@ const MainNavigator = createStackNavigator({
headerTintColor
:
'white'
,
headerBackImage
:
(
// <Image source={Images.buttonBack} style={{width: 30, height: 20}}/>
// <TouchableOpacity style={{paddingLeft: 10}} activeOpacity={.9}>
// // <Ionicons name='ios-arrow-back' size={30} color={'white'} style={{}}/>
// </TouchableOpacity>
<
TouchableOpacity
style
=
{{
paddingLeft
:
10
}}
activeOpacity
=
{.
9
}
>
<
Ionicons
name
=
'ios-arrow-back'
size
=
{
30
}
color
=
{
'white'
}
/
>
<
/TouchableOpacity
>
)
}
});
...
...
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