Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
CHILD INTELLIGENT ASSESSMENT TOOL
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2020-046
CHILD INTELLIGENT ASSESSMENT TOOL
Commits
82164848
Commit
82164848
authored
Nov 05, 2020
by
Buwaneka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ResultActivity.java
parent
850cb813
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
+46
-0
Count/ResultActivity.java
Count/ResultActivity.java
+46
-0
No files found.
Count/ResultActivity.java
0 → 100644
View file @
82164848
package
com.example.count
;
import
android.app.Activity
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.view.View
;
import
android.widget.Button
;
import
android.widget.TextView
;
public
class
ResultActivity
extends
Activity
{
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
final_score_layout
);
TextView
right
=
findViewById
(
R
.
id
.
rightscore
);
TextView
wrong
=
findViewById
(
R
.
id
.
wrongscore
);
TextView
finalCout
=
findViewById
(
R
.
id
.
finalScore
);
right
.
setText
(
Integer
.
toString
(
GlobleVariable
.
RightGloble
));
wrong
.
setText
(
Integer
.
toString
(
GlobleVariable
.
WrongGloble
));
int
scroe
=
GlobleVariable
.
RightGloble
-
GlobleVariable
.
WrongGloble
;
finalCout
.
setText
(
Integer
.
toString
(
scroe
));
Button
btn
=
findViewById
(
R
.
id
.
tryagain
);
Button
chart
=
findViewById
(
R
.
id
.
showchart
);
btn
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
ResultActivity
.
this
,
TakeImage
.
class
));
}
});
chart
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
startActivity
(
new
Intent
(
ResultActivity
.
this
,
ChartShow
.
class
));
}
});
}
}
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