Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
20_21-J03
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
20_21-J03
20_21-J03
Commits
b08c60a9
Commit
b08c60a9
authored
Apr 28, 2021
by
IT17165662
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updateed the probability calculation interfaces
parent
21658d4d
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
511 additions
and
284 deletions
+511
-284
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/AboveXFragment.java
...tor/calculationfunction/StepsFragment/AboveXFragment.java
+15
-0
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/AintersectionBDependantEvent.java
...nfunction/StepsFragment/AintersectionBDependantEvent.java
+16
-0
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/BelowXFragment.java
...tor/calculationfunction/StepsFragment/BelowXFragment.java
+15
-0
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/BetweenFragment.java
...or/calculationfunction/StepsFragment/BetweenFragment.java
+16
-0
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/DepandantProbablityA_BFragment.java
...unction/StepsFragment/DepandantProbablityA_BFragment.java
+15
-1
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/DependantAunionB.java
...r/calculationfunction/StepsFragment/DependantAunionB.java
+15
-0
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/DependantProbablityB_AFragment.java
...unction/StepsFragment/DependantProbablityB_AFragment.java
+16
-1
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/IndeAunionBFragment.java
...alculationfunction/StepsFragment/IndeAunionBFragment.java
+17
-0
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/IndependantAandB.java
...r/calculationfunction/StepsFragment/IndependantAandB.java
+16
-0
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/ProbabilityOfAForDependantEventFragment.java
...tepsFragment/ProbabilityOfAForDependantEventFragment.java
+15
-0
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/ProbabilityOfAIndependantEvent.java
...unction/StepsFragment/ProbabilityOfAIndependantEvent.java
+15
-1
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/ProbabilityOfBForDependantEventFragment.java
...tepsFragment/ProbabilityOfBForDependantEventFragment.java
+16
-0
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/ProbabilityOfBIndependantEvent.java
...unction/StepsFragment/ProbabilityOfBIndependantEvent.java
+15
-0
app/src/main/res/layout/activity_normal_distribution_calculation.xml
...n/res/layout/activity_normal_distribution_calculation.xml
+2
-2
app/src/main/res/layout/activity_probablility_calculation.xml
...src/main/res/layout/activity_probablility_calculation.xml
+2
-2
app/src/main/res/layout/fragment_aintersection_b_dependant_event.xml
...n/res/layout/fragment_aintersection_b_dependant_event.xml
+32
-27
app/src/main/res/layout/fragment_depandant_probablity_a__b.xml
...rc/main/res/layout/fragment_depandant_probablity_a__b.xml
+28
-25
app/src/main/res/layout/fragment_dependant_aunion_b.xml
app/src/main/res/layout/fragment_dependant_aunion_b.xml
+33
-29
app/src/main/res/layout/fragment_dependant_probablity_b__a.xml
...rc/main/res/layout/fragment_dependant_probablity_b__a.xml
+37
-35
app/src/main/res/layout/fragment_inde_aunion_b.xml
app/src/main/res/layout/fragment_inde_aunion_b.xml
+29
-38
app/src/main/res/layout/fragment_independant_aand_b.xml
app/src/main/res/layout/fragment_independant_aand_b.xml
+27
-25
app/src/main/res/layout/fragment_probability_of_a_for_dependant_event.xml
.../layout/fragment_probability_of_a_for_dependant_event.xml
+37
-30
app/src/main/res/layout/fragment_probability_of_a_independant_event.xml
...es/layout/fragment_probability_of_a_independant_event.xml
+26
-24
app/src/main/res/layout/fragment_probability_of_b_for_dependant_event.xml
.../layout/fragment_probability_of_b_for_dependant_event.xml
+28
-22
app/src/main/res/layout/fragment_probability_of_b_independant_event.xml
...es/layout/fragment_probability_of_b_independant_event.xml
+28
-22
No files found.
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/AboveXFragment.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -29,6 +31,10 @@ public class AboveXFragment extends Fragment {
TextView
mz1
;
TextView
mz2
;
TextView
mfinalanswer
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
public
AboveXFragment
(){
}
...
...
@@ -50,7 +56,16 @@ public class AboveXFragment extends Fragment {
mz1
=
view
.
findViewById
(
R
.
id
.
textview_zscore
);
mz2
=
view
.
findViewById
(
R
.
id
.
textview_pa
);
mfinalanswer
=
view
.
findViewById
(
R
.
id
.
textview_pbs
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
Bundle
bundle
=
getArguments
();
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/AintersectionBDependantEvent.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -28,6 +30,10 @@ public class AintersectionBDependantEvent extends Fragment {
TextView
mPB2
;
TextView
mPA2
;
TextView
mPAorB2
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
public
AintersectionBDependantEvent
(){
...
...
@@ -49,6 +55,16 @@ public class AintersectionBDependantEvent extends Fragment {
mPAorB2
=
view
.
findViewById
(
R
.
id
.
textview_paorbs
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
Bundle
bundle
=
getArguments
();
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/BelowXFragment.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -29,6 +31,10 @@ public class BelowXFragment extends Fragment {
TextView
mz1
;
TextView
mz2
;
TextView
mfinalanswer
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
public
BelowXFragment
(){
}
...
...
@@ -50,7 +56,16 @@ public class BelowXFragment extends Fragment {
mz1
=
view
.
findViewById
(
R
.
id
.
textview_zscore
);
mz2
=
view
.
findViewById
(
R
.
id
.
textview_pa
);
mfinalanswer
=
view
.
findViewById
(
R
.
id
.
textview_pbs
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
Bundle
bundle
=
getArguments
();
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/BetweenFragment.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -37,6 +39,10 @@ public class BetweenFragment extends Fragment {
TextView
mzscore3
;
TextView
mzscore4
;
TextView
mfinalanswer
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
public
BetweenFragment
(){
}
...
...
@@ -72,6 +78,16 @@ public class BetweenFragment extends Fragment {
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/DepandantProbablityA_BFragment.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -26,7 +28,10 @@ public class DepandantProbablityA_BFragment extends Fragment {
TextView
mfinalanswer
;
TextView
mresult
;
TextView
mPAandB2
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
public
DepandantProbablityA_BFragment
(){
...
...
@@ -47,7 +52,16 @@ public class DepandantProbablityA_BFragment extends Fragment {
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
Bundle
bundle
=
getArguments
();
//Returns the value associated with the given key
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/DependantAunionB.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -28,6 +30,10 @@ public class DependantAunionB extends Fragment {
TextView
mPB2
;
TextView
mPAandB2
;
TextView
mPA2
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
public
DependantAunionB
(){
...
...
@@ -48,7 +54,16 @@ public class DependantAunionB extends Fragment {
mPAandB2
=
view
.
findViewById
(
R
.
id
.
textview_paorbs
);
mPA2
=
view
.
findViewById
(
R
.
id
.
textview_pa
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
Bundle
bundle
=
getArguments
();
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/DependantProbablityB_AFragment.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -26,7 +28,10 @@ public class DependantProbablityB_AFragment extends Fragment {
TextView
mfinalanswer
;
TextView
mresult
;
TextView
mPAandB2
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
public
DependantProbablityB_AFragment
(){
...
...
@@ -44,6 +49,16 @@ public class DependantProbablityB_AFragment extends Fragment {
mfinalanswer
=
view
.
findViewById
(
R
.
id
.
finalanswer
);
mresult
=
view
.
findViewById
(
R
.
id
.
result
);
mPA2
=
view
.
findViewById
(
R
.
id
.
textview_pbs
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/IndeAunionBFragment.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -30,6 +32,11 @@ public class IndeAunionBFragment extends Fragment {
TextView
mPaandb2
;
TextView
mPB3
;
TextView
mPA3
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
...
...
@@ -52,6 +59,16 @@ public class IndeAunionBFragment extends Fragment {
mPaandb2
=
view
.
findViewById
(
R
.
id
.
paandbs
);
mPB3
=
view
.
findViewById
(
R
.
id
.
pb3
);
mPA3
=
view
.
findViewById
(
R
.
id
.
pa3
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/IndependantAandB.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -26,6 +28,11 @@ public class IndependantAandB extends Fragment {
TextView
mresult
;
TextView
mPB2
;
TextView
mPA2
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
...
...
@@ -45,7 +52,16 @@ public class IndependantAandB extends Fragment {
mPB2
=
view
.
findViewById
(
R
.
id
.
textview_pbs
);
mPA2
=
view
.
findViewById
(
R
.
id
.
textview_paandb
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
Bundle
bundle
=
getArguments
();
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/ProbabilityOfAForDependantEventFragment.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -28,6 +30,10 @@ public class ProbabilityOfAForDependantEventFragment extends Fragment {
TextView
mPB2
;
TextView
mPAandB2
;
TextView
mPAorB2
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
public
ProbabilityOfAForDependantEventFragment
(){
...
...
@@ -48,7 +54,16 @@ public class ProbabilityOfAForDependantEventFragment extends Fragment {
mPAandB2
=
view
.
findViewById
(
R
.
id
.
textview_paandbs
);
mPAorB2
=
view
.
findViewById
(
R
.
id
.
textview_paorb
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
Bundle
bundle
=
getArguments
();
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/ProbabilityOfAIndependantEvent.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -26,7 +28,10 @@ public class ProbabilityOfAIndependantEvent extends Fragment {
TextView
mresult
;
TextView
mPB2
;
TextView
mPAandB2
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
public
ProbabilityOfAIndependantEvent
(){
...
...
@@ -45,7 +50,16 @@ public class ProbabilityOfAIndependantEvent extends Fragment {
mPB2
=
view
.
findViewById
(
R
.
id
.
textview_pbs
);
mPAandB2
=
view
.
findViewById
(
R
.
id
.
textview_paandb
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
Bundle
bundle
=
getArguments
();
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/ProbabilityOfBForDependantEventFragment.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -28,6 +30,11 @@ public class ProbabilityOfBForDependantEventFragment extends Fragment {
TextView
mPB2
;
TextView
mPAandB2
;
TextView
mPAorB2
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
public
ProbabilityOfBForDependantEventFragment
(){
...
...
@@ -47,7 +54,16 @@ public class ProbabilityOfBForDependantEventFragment extends Fragment {
mPB2
=
view
.
findViewById
(
R
.
id
.
textview_pbs
);
mPAandB2
=
view
.
findViewById
(
R
.
id
.
textview_paandbs
);
mPAorB2
=
view
.
findViewById
(
R
.
id
.
textview_paorb
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
Bundle
bundle
=
getArguments
();
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/ProbabilityOfBIndependantEvent.java
View file @
b08c60a9
...
...
@@ -10,6 +10,8 @@ import android.text.method.ScrollingMovementMethod;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.view.animation.Animation
;
import
android.view.animation.AnimationUtils
;
import
android.widget.TextView
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
...
...
@@ -26,6 +28,10 @@ public class ProbabilityOfBIndependantEvent extends Fragment {
TextView
mresult
;
TextView
mPB2
;
TextView
mPAandB2
;
TextView
mtextView15
;
TextView
mtextView16
;
Animation
blink_anim
;
Animation
move_anim
;
...
...
@@ -45,7 +51,16 @@ public class ProbabilityOfBIndependantEvent extends Fragment {
mPB2
=
view
.
findViewById
(
R
.
id
.
textview_pbs
);
mPAandB2
=
view
.
findViewById
(
R
.
id
.
textview_paandb
);
mtextView15
=
view
.
findViewById
(
R
.
id
.
textView15
);
mtextView16
=
view
.
findViewById
(
R
.
id
.
textviw_finalvue
);
blink_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
blinkeffect
);
// mtextView15.startAnimation(blink_anim);
mtextView16
.
startAnimation
(
blink_anim
);
move_anim
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
moveanimation
);
mtextView15
.
startAnimation
(
move_anim
);
Bundle
bundle
=
getArguments
();
...
...
app/src/main/res/layout/activity_normal_distribution_calculation.xml
View file @
b08c60a9
<?xml version="1.0" encoding="utf-8"?>
<
LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
...
...
@@ -13,4 +13,4 @@
android:id=
"@+id/fragment_container"
/>
</LinearLayout>
\ No newline at end of file
</ScrollView>
\ No newline at end of file
app/src/main/res/layout/activity_probablility_calculation.xml
View file @
b08c60a9
<?xml version="1.0" encoding="utf-8"?>
<
LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
...
...
@@ -13,4 +13,4 @@
android:id=
"@+id/fragment_container"
/>
</LinearLayout>
\ No newline at end of file
</ScrollView>
\ No newline at end of file
app/src/main/res/layout/fragment_aintersection_b_dependant_event.xml
View file @
b08c60a9
...
...
@@ -3,7 +3,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"790dp"
android:background=
"
#FED
"
android:background=
"
@drawable/cardcutbackground
"
tools:context=
".calculationfunction.StepsFragment.ProbabilityOfAForDependantEventFragment"
>
...
...
@@ -58,7 +58,7 @@
android:layout_marginEnd=
"11dp"
android:textSize=
"20sp"
android:layout_marginBottom=
"510dp"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:text=
"Problem"
/>
<TextView
...
...
@@ -71,7 +71,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -84,7 +83,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_pOrb"
...
...
@@ -96,7 +94,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A or B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_pOrbs"
...
...
@@ -169,7 +166,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetview_equjalsmb"
...
...
@@ -181,7 +177,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetvew_equjalsmb"
...
...
@@ -193,7 +188,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -207,7 +201,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -221,19 +214,18 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_step2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
53dp
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"42dp"
android:layout_marginStart=
"200dp"
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"+"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -246,32 +238,30 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"-"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_stp2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
53dp
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"42dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textvijew_stp2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
wrap_content
"
android:layout_width=
"
23dp
"
android:layout_height=
"42dp"
android:layout_marginStart=
"270dp"
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"-"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textvijew_splus"
...
...
@@ -283,7 +273,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"+"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -296,7 +285,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A or B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textview_PB"
...
...
@@ -336,9 +324,24 @@
android:layout_marginBottom=
"458dp"
android:background=
"@drawable/border"
android:textSize=
"17sp"
android:textColor=
"#008000"
android:textStyle=
"bold"
android:scrollbars=
"vertical"
/>
<TextView
android:id=
"@+id/textviw_finalvue"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"165dp"
android:layout_height=
"124dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"745dp"
android:layout_marginEnd=
"50dp"
android:layout_marginBottom=
"14dp"
android:background=
"@drawable/emoji1"
android:textColor=
"#008000"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/textview_pbs"
...
...
@@ -429,23 +432,25 @@
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(A)"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textView15"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
313
dp"
android:layout_height=
"
41
dp"
android:layout_marginStart=
"
2
0dp"
android:layout_marginTop=
"
2
0dp"
android:layout_width=
"
165
dp"
android:layout_height=
"
58
dp"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginEnd=
"309dp"
android:layout_marginBottom=
"586dp"
android:text=
"Result - P(A and B)"
android:background=
"@drawable/dd56"
android:text=
"P(A and B)"
android:textAlignment=
"center"
android:textColor=
"@color/purple_500"
android:textSize=
"30sp"
android:textStyle=
"bold"
/>
android:textSize=
"20sp"
android:textStyle=
"bold"
android:fontFamily=
"cursive"
/>
</FrameLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_depandant_probablity_a__b.xml
View file @
b08c60a9
...
...
@@ -2,8 +2,8 @@
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"
7
90dp"
android:background=
"
#FED
"
android:layout_height=
"
8
90dp"
android:background=
"
@drawable/cardcutbackground
"
tools:context=
".calculationfunction.StepsFragment.DepandantProbablityA_BFragment"
>
...
...
@@ -58,7 +58,7 @@
android:layout_marginEnd=
"11dp"
android:textSize=
"20sp"
android:layout_marginBottom=
"510dp"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:text=
"Problem"
/>
<TextView
...
...
@@ -71,7 +71,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -84,7 +83,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -109,7 +107,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equala"
...
...
@@ -121,7 +118,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -134,7 +130,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -147,7 +142,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetview_equjalsmb"
...
...
@@ -159,7 +153,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetvew_equjalsmb"
...
...
@@ -171,8 +164,20 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textviw_finalvue"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"165dp"
android:layout_height=
"124dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"745dp"
android:layout_marginEnd=
"50dp"
android:layout_marginBottom=
"14dp"
android:background=
"@drawable/emoji1"
android:textColor=
"#008000"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
...
...
@@ -185,20 +190,18 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A | B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textew_step2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
wrap_content
"
android:layout_width=
"
19dp
"
android:layout_height=
"44dp"
android:layout_marginStart=
"260dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"/"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -211,20 +214,18 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textvijew_stp2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
wrap_content
"
android:layout_width=
"
24dp
"
android:layout_height=
"42dp"
android:layout_marginStart=
"260dp"
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"/"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -237,7 +238,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textview_PB"
...
...
@@ -277,6 +277,7 @@
android:layout_marginBottom=
"458dp"
android:background=
"@drawable/border"
android:textSize=
"17sp"
android:textColor=
"#008000"
android:textStyle=
"bold"
android:scrollbars=
"vertical"
/>
...
...
@@ -344,23 +345,25 @@
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(A | B)"
android:textColor=
"@color/design_default_color_error
"
android:textStyle=
"bold
"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textView15"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
313
dp"
android:layout_height=
"
41
dp"
android:layout_marginStart=
"
2
0dp"
android:layout_marginTop=
"
2
0dp"
android:layout_width=
"
165
dp"
android:layout_height=
"
58
dp"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginEnd=
"309dp"
android:layout_marginBottom=
"586dp"
android:text=
"Result - P(A | B)"
android:background=
"@drawable/dd56"
android:text=
"P(A | B)"
android:textAlignment=
"center"
android:textColor=
"@color/purple_500"
android:textSize=
"30sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
android:fontFamily=
"cursive"
/>
</FrameLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_dependant_aunion_b.xml
View file @
b08c60a9
...
...
@@ -2,8 +2,8 @@
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"
7
90dp"
android:background=
"
#FED
"
android:layout_height=
"
8
90dp"
android:background=
"
@drawable/cardcutbackground
"
tools:context=
".calculationfunction.StepsFragment.ProbabilityOfAForDependantEventFragment"
>
...
...
@@ -58,8 +58,8 @@
android:layout_marginEnd=
"11dp"
android:textSize=
"20sp"
android:layout_marginBottom=
"510dp"
android:text
Color=
"@color/design_default_color_error
"
android:text
=
"Problem"
/>
android:text
=
"Problem
"
android:text
Style=
"bold"
/>
<TextView
android:id=
"@+id/Textview_pb"
...
...
@@ -71,7 +71,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -84,7 +83,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_pOrb"
...
...
@@ -96,7 +94,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -170,7 +167,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetview_equjalsmb"
...
...
@@ -182,8 +178,20 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textviw_finalvue"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"165dp"
android:layout_height=
"124dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"745dp"
android:layout_marginEnd=
"50dp"
android:layout_marginBottom=
"14dp"
android:background=
"@drawable/emoji1"
android:textColor=
"#008000"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/Tetvew_equjalsmb"
style=
"@style/Base.TextAppearance.AppCompat.Large"
...
...
@@ -194,7 +202,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -208,7 +215,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A or B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -222,19 +228,18 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_step2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
53dp
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"42dp"
android:layout_marginStart=
"200dp"
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"+"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -247,32 +252,30 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"-"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_stp2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
53dp
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"42dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textvijew_stp2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
wrap_content
"
android:layout_width=
"
17dp
"
android:layout_height=
"42dp"
android:layout_marginStart=
"270dp"
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"-"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textvijew_splus"
...
...
@@ -284,7 +287,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"+"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -297,7 +299,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textview_PB"
...
...
@@ -429,23 +430,26 @@
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(A)"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textView15"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
313
dp"
android:layout_height=
"
41
dp"
android:layout_marginStart=
"
2
0dp"
android:layout_marginTop=
"
2
0dp"
android:layout_width=
"
165
dp"
android:layout_height=
"
58
dp"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginEnd=
"309dp"
android:layout_marginBottom=
"586dp"
android:text=
"Result - P(A or B)"
android:background=
"@drawable/dd56"
android:text=
"P(A or B)"
android:textAlignment=
"center"
android:textColor=
"@color/purple_500"
android:textSize=
"30sp"
android:textStyle=
"bold"
/>
android:textSize=
"24sp"
android:textStyle=
"bold"
android:fontFamily=
"cursive"
/>
</FrameLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_dependant_probablity_b__a.xml
View file @
b08c60a9
...
...
@@ -2,11 +2,23 @@
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"
7
90dp"
android:background=
"
#FED
"
android:layout_height=
"
8
90dp"
android:background=
"
@drawable/cardcutbackground
"
tools:context=
".calculationfunction.StepsFragment.DepandantProbablityA_BFragment"
>
<TextView
android:id=
"@+id/textviw_finalvue"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"165dp"
android:layout_height=
"124dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"745dp"
android:layout_marginEnd=
"50dp"
android:layout_marginBottom=
"14dp"
android:background=
"@drawable/emoji1"
android:textColor=
"#008000"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/textViewresult"
style=
"@style/Base.TextAppearance.AppCompat.Large"
...
...
@@ -57,8 +69,8 @@
android:layout_marginTop=
"80dp"
android:layout_marginEnd=
"11dp"
android:textSize=
"20sp"
android:textStyle=
"bold"
android:layout_marginBottom=
"510dp"
android:textColor=
"@color/design_default_color_error"
android:text=
"Problem"
/>
<TextView
...
...
@@ -70,8 +82,7 @@
android:layout_marginTop=
"140dp"
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:text=
"P(A)"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -84,7 +95,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -96,7 +106,7 @@
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(
A | B
)"
android:text=
"P(
B | A
)"
android:textColor=
"@color/black"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -109,7 +119,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equala"
...
...
@@ -121,7 +130,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -134,7 +142,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -147,7 +154,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetview_equjalsmb"
...
...
@@ -159,7 +165,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetvew_equjalsmb"
...
...
@@ -171,7 +176,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -184,21 +188,19 @@
android:layout_marginTop=
"320dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A | B)"
android:textColor=
"@color/design_default_color_error"
android:text=
"P(B | A)"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textew_step2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
wrap_content
"
android:layout_height=
"
44
dp"
android:layout_width=
"
30dp
"
android:layout_height=
"
51
dp"
android:layout_marginStart=
"260dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"/"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -211,20 +213,18 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textvijew_stp2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
wrap_content
"
android:layout_width=
"
28dp
"
android:layout_height=
"42dp"
android:layout_marginStart=
"260dp"
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"/"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -236,8 +236,7 @@
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:text=
"P(A)"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textview_PB"
...
...
@@ -277,6 +276,7 @@
android:layout_marginBottom=
"458dp"
android:background=
"@drawable/border"
android:textSize=
"17sp"
android:textColor=
"#008000"
android:textStyle=
"bold"
android:scrollbars=
"vertical"
/>
...
...
@@ -329,7 +329,7 @@
android:layout_marginTop=
"450dp"
android:layout_marginEnd=
"5dp"
android:layout_marginBottom=
"156dp"
android:text=
"To find P(
A | B
) we use multiplication rule :"
android:text=
"To find P(
B | A
) we use multiplication rule :"
android:textColor=
"@color/purple_700"
android:textStyle=
"italic"
/>
...
...
@@ -343,24 +343,26 @@
android:layout_marginTop=
"550dp"
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(
A | B
)"
android:text
Color=
"@color/design_default_color_error
"
android:text=
"Find P(
B | A
)"
android:text
Style=
"bold
"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textView15"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
313
dp"
android:layout_height=
"
41
dp"
android:layout_marginStart=
"
2
0dp"
android:layout_marginTop=
"
2
0dp"
android:layout_width=
"
165
dp"
android:layout_height=
"
58
dp"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginEnd=
"309dp"
android:layout_marginBottom=
"586dp"
android:text=
"Result - P(A | B)"
android:background=
"@drawable/dd56"
android:text=
"P(B | A)"
android:textAlignment=
"center"
android:textColor=
"@color/purple_500"
android:textSize=
"30sp"
android:textStyle=
"bold"
/>
android:textSize=
"27sp"
android:textStyle=
"bold"
android:fontFamily=
"cursive"
/>
</FrameLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_inde_aunion_b.xml
View file @
b08c60a9
...
...
@@ -3,7 +3,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"
#FED
"
android:background=
"
@drawable/cardcutbackground
"
tools:context=
".calculationfunction.StepsFragment.IndeAunionBFragment"
>
...
...
@@ -96,7 +96,7 @@
android:layout_marginEnd=
"11dp"
android:textSize=
"20sp"
android:layout_marginBottom=
"510dp"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:text=
"Problem"
/>
<TextView
...
...
@@ -109,7 +109,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -122,7 +121,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -147,7 +145,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equala"
...
...
@@ -159,7 +156,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -172,7 +168,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -185,7 +180,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetview_equjalsmb"
...
...
@@ -197,7 +191,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetvew_equjalsmb"
...
...
@@ -209,7 +202,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -222,7 +214,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A or B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -236,7 +227,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -249,7 +239,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"*"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_stp2"
...
...
@@ -261,7 +250,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -274,7 +262,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"*"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -394,7 +381,7 @@
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(A and B)"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -407,22 +394,23 @@
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(A or B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textView15"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
313
dp"
android:layout_height=
"
41
dp"
android:layout_marginStart=
"
2
0dp"
android:layout_marginTop=
"
2
0dp"
android:layout_width=
"
165
dp"
android:layout_height=
"
58
dp"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginEnd=
"309dp"
android:layout_marginBottom=
"586dp"
android:text=
"Result - P(A or B)"
android:background=
"@drawable/dd56"
android:text=
"P(A or B)"
android:textAlignment=
"center"
android:textColor=
"@color/purple_500"
android:textSize=
"30sp"
android:textStyle=
"bold"
/>
android:textSize=
"24sp"
android:textStyle=
"bold"
android:fontFamily=
"cursive"
/>
<TextView
android:id=
"@+id/Textvi_pOrbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
...
...
@@ -446,7 +434,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -459,7 +446,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -472,7 +458,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -486,7 +471,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -499,7 +483,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"+"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -512,7 +495,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"+"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -525,35 +507,32 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tijew_step52"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
23
dp"
android:layout_width=
"
18
dp"
android:layout_height=
"31dp"
android:layout_marginStart=
"300dp"
android:layout_marginTop=
"840dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"-"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tiew_st52"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"1
4
dp"
android:layout_height=
"
31
dp"
android:layout_width=
"1
6
dp"
android:layout_height=
"
17
dp"
android:layout_marginStart=
"310dp"
android:layout_marginTop=
"880dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"-"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -567,7 +546,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -582,7 +560,19 @@
android:background=
"@drawable/border"
android:textSize=
"17sp"
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/textviw_finalvue"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"165dp"
android:layout_height=
"124dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"975dp"
android:layout_marginEnd=
"50dp"
android:layout_marginBottom=
"14dp"
android:background=
"@drawable/emoji1"
android:textColor=
"#008000"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/finalanswers"
style=
"@style/Base.TextAppearance.AppCompat.Large"
...
...
@@ -593,6 +583,7 @@
android:layout_marginEnd=
"179dp"
android:layout_marginBottom=
"458dp"
android:background=
"@drawable/border"
android:textColor=
"#008000"
android:textSize=
"17sp"
android:textStyle=
"bold"
android:scrollbars=
"vertical"
/>
...
...
app/src/main/res/layout/fragment_independant_aand_b.xml
View file @
b08c60a9
...
...
@@ -2,11 +2,23 @@
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"
79
0dp"
android:background=
"
#FED
"
android:layout_height=
"
87
0dp"
android:background=
"
@drawable/cardcutbackground
"
tools:context=
".calculationfunction.StepsFragment.IndependantAandB"
>
<TextView
android:id=
"@+id/textviw_finalvue"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"165dp"
android:layout_height=
"124dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"745dp"
android:layout_marginEnd=
"50dp"
android:layout_marginBottom=
"14dp"
android:background=
"@drawable/emoji1"
android:textColor=
"#008000"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/textViewresult"
style=
"@style/Base.TextAppearance.AppCompat.Large"
...
...
@@ -58,7 +70,7 @@
android:layout_marginEnd=
"11dp"
android:textSize=
"20sp"
android:layout_marginBottom=
"510dp"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:text=
"Problem"
/>
<TextView
...
...
@@ -71,7 +83,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -84,7 +95,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -109,7 +119,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equala"
...
...
@@ -121,7 +130,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -134,7 +142,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -147,7 +154,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetview_equjalsmb"
...
...
@@ -159,7 +165,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetvew_equjalsmb"
...
...
@@ -171,7 +176,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -185,7 +189,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -199,7 +202,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -212,7 +214,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"*"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_stp2"
...
...
@@ -224,7 +225,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -237,7 +237,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"*"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -279,6 +278,7 @@
android:background=
"@drawable/border"
android:textSize=
"17sp"
android:textStyle=
"bold"
android:textColor=
"#008000"
android:scrollbars=
"vertical"
/>
<TextView
...
...
@@ -345,23 +345,25 @@
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(A and B)"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textView15"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
313
dp"
android:layout_height=
"
41
dp"
android:layout_marginStart=
"
2
0dp"
android:layout_marginTop=
"
2
0dp"
android:layout_width=
"
165
dp"
android:layout_height=
"
58
dp"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginEnd=
"309dp"
android:layout_marginBottom=
"586dp"
android:text=
"Result - P(A)"
android:background=
"@drawable/dd56"
android:text=
"P(A and B)"
android:textAlignment=
"center"
android:textColor=
"@color/purple_500"
android:textSize=
"30sp"
android:textStyle=
"bold"
/>
android:textSize=
"25sp"
android:textStyle=
"bold"
android:fontFamily=
"cursive"
/>
</FrameLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_probability_of_a_for_dependant_event.xml
View file @
b08c60a9
...
...
@@ -2,11 +2,25 @@
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"
79
0dp"
android:background=
"
#FED
"
android:layout_height=
"
87
0dp"
android:background=
"
@drawable/cardcutbackground
"
tools:context=
".calculationfunction.StepsFragment.ProbabilityOfAForDependantEventFragment"
>
<TextView
android:id=
"@+id/textviw_finalvue"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"165dp"
android:layout_height=
"124dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"745dp"
android:layout_marginEnd=
"50dp"
android:layout_marginBottom=
"14dp"
android:background=
"@drawable/emoji1"
android:textColor=
"#008000"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/textViewresult"
style=
"@style/Base.TextAppearance.AppCompat.Large"
...
...
@@ -46,7 +60,7 @@
android:layout_marginEnd=
"11dp"
android:textSize=
"20sp"
android:layout_marginBottom=
"510dp"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:text=
"Problem"
/>
<TextView
...
...
@@ -59,7 +73,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<ImageView
...
...
@@ -85,7 +98,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_pOrb"
...
...
@@ -97,7 +109,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A or B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_pOrbs"
...
...
@@ -121,7 +132,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equala"
...
...
@@ -133,7 +143,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equalsb"
...
...
@@ -145,7 +154,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equalsmb"
...
...
@@ -157,7 +165,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -170,7 +177,7 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetview_equjalsmb"
...
...
@@ -182,7 +189,7 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetvew_equjalsmb"
...
...
@@ -194,7 +201,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -207,7 +213,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -221,19 +226,19 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A or B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_step2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
53
dp"
android:layout_width=
"
22
dp"
android:layout_height=
"42dp"
android:layout_marginStart=
"200dp"
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"-"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -246,19 +251,19 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"-"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_stp2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
53dp
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"42dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"590dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -271,7 +276,7 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"+"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textvijew_splus"
...
...
@@ -283,7 +288,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"+"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -296,7 +300,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textview_PB"
...
...
@@ -336,6 +339,7 @@
android:layout_marginBottom=
"458dp"
android:background=
"@drawable/border"
android:textSize=
"17sp"
android:textColor=
"#008000"
android:textStyle=
"bold"
android:scrollbars=
"vertical"
/>
...
...
@@ -428,23 +432,26 @@
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(A)"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textView15"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
313
dp"
android:layout_height=
"
41
dp"
android:layout_marginStart=
"
2
0dp"
android:layout_marginTop=
"
2
0dp"
android:layout_width=
"
165
dp"
android:layout_height=
"
58
dp"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginEnd=
"309dp"
android:layout_marginBottom=
"586dp"
android:text=
"Result - P(A)"
android:background=
"@drawable/dd56"
android:text=
"P(A)"
android:textAlignment=
"center"
android:textColor=
"@color/purple_500"
android:textSize=
"30sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
android:fontFamily=
"cursive"
/>
</FrameLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_probability_of_a_independant_event.xml
View file @
b08c60a9
...
...
@@ -2,10 +2,22 @@
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"
79
0dp"
android:background=
"
#FED
"
android:layout_height=
"
87
0dp"
android:background=
"
@drawable/cardcutbackground
"
tools:context=
".calculationfunction.StepsFragment.ProbabilityOfAIndependantEvent"
>
<TextView
android:id=
"@+id/textviw_finalvue"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"165dp"
android:layout_height=
"124dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"745dp"
android:layout_marginEnd=
"50dp"
android:layout_marginBottom=
"14dp"
android:background=
"@drawable/emoji1"
android:textColor=
"#008000"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/textViewresult"
...
...
@@ -58,8 +70,8 @@
android:layout_marginTop=
"80dp"
android:layout_marginEnd=
"11dp"
android:textSize=
"20sp"
android:textStyle=
"bold"
android:layout_marginBottom=
"510dp"
android:textColor=
"@color/design_default_color_error"
android:text=
"Problem"
/>
<TextView
...
...
@@ -72,7 +84,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -85,7 +96,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -110,7 +120,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equala"
...
...
@@ -122,7 +131,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -135,7 +143,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -148,7 +155,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetview_equjalsmb"
...
...
@@ -160,7 +166,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetvew_equjalsmb"
...
...
@@ -172,7 +177,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -185,7 +189,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -199,7 +202,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -212,7 +214,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"/"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_stp2"
...
...
@@ -224,7 +225,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -237,7 +237,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"/"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -279,6 +278,7 @@
android:background=
"@drawable/border"
android:textSize=
"17sp"
android:textStyle=
"bold"
android:textColor=
"#008000"
android:scrollbars=
"vertical"
/>
<TextView
...
...
@@ -345,23 +345,25 @@
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(A)"
android:text
Color=
"@color/design_default_color_error
"
android:text
Style=
"bold
"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textView15"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
313
dp"
android:layout_height=
"
41
dp"
android:layout_marginStart=
"
2
0dp"
android:layout_marginTop=
"
2
0dp"
android:layout_width=
"
165
dp"
android:layout_height=
"
58
dp"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginEnd=
"309dp"
android:layout_marginBottom=
"586dp"
android:text=
"Result - P(A)"
android:background=
"@drawable/dd56"
android:text=
"P(A)"
android:textAlignment=
"center"
android:textColor=
"@color/purple_500"
android:textSize=
"30sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
android:fontFamily=
"cursive"
/>
</FrameLayout>
\ No newline at end of file
app/src/main/res/layout/fragment_probability_of_b_for_dependant_event.xml
View file @
b08c60a9
...
...
@@ -2,8 +2,8 @@
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"
79
0dp"
android:background=
"
#FED
"
android:layout_height=
"
87
0dp"
android:background=
"
@drawable/cardcutbackground
"
tools:context=
".calculationfunction.StepsFragment.ProbabilityOfAForDependantEventFragment"
>
...
...
@@ -58,7 +58,8 @@
android:layout_marginEnd=
"11dp"
android:textSize=
"20sp"
android:layout_marginBottom=
"510dp"
android:textColor=
"@color/design_default_color_error"
android:textColor=
"@color/black"
android:textStyle=
"bold"
android:text=
"Problem"
/>
<TextView
...
...
@@ -71,7 +72,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -84,7 +84,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_pOrb"
...
...
@@ -96,7 +95,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A or B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_pOrbs"
...
...
@@ -120,7 +118,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equala"
...
...
@@ -132,7 +129,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equalsb"
...
...
@@ -144,7 +140,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equalsmb"
...
...
@@ -156,7 +151,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -206,7 +200,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -220,7 +213,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A or B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_step2"
...
...
@@ -245,7 +237,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"-"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_stp2"
...
...
@@ -257,7 +248,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -282,7 +272,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"+"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -295,7 +284,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textview_PB"
...
...
@@ -335,6 +323,7 @@
android:layout_marginBottom=
"458dp"
android:background=
"@drawable/border"
android:textSize=
"17sp"
android:textColor=
"#008000"
android:textStyle=
"bold"
android:scrollbars=
"vertical"
/>
...
...
@@ -427,22 +416,39 @@
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(B)"
android:textColor=
"@color/design_default_color_error"
android:textStyle=
"bold"
android:textColor=
"@color/black"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textView15"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
313
dp"
android:layout_height=
"
41
dp"
android:layout_marginStart=
"
2
0dp"
android:layout_marginTop=
"
2
0dp"
android:layout_width=
"
165
dp"
android:layout_height=
"
58
dp"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginEnd=
"309dp"
android:layout_marginBottom=
"586dp"
android:text=
"Result - P(B)"
android:background=
"@drawable/dd56"
android:text=
"P(B)"
android:textAlignment=
"center"
android:textColor=
"@color/purple_500"
android:textSize=
"30sp"
android:textStyle=
"bold"
android:fontFamily=
"cursive"
/>
<TextView
android:id=
"@+id/textviw_finalvue"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"165dp"
android:layout_height=
"124dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"745dp"
android:layout_marginEnd=
"50dp"
android:layout_marginBottom=
"14dp"
android:background=
"@drawable/emoji1"
android:textColor=
"#008000"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
...
...
app/src/main/res/layout/fragment_probability_of_b_independant_event.xml
View file @
b08c60a9
...
...
@@ -2,8 +2,8 @@
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"
79
0dp"
android:background=
"
#FED
"
android:layout_height=
"
86
0dp"
android:background=
"
@drawable/cardcutbackground
"
tools:context=
".calculationfunction.StepsFragment.ProbabilityOfBIndependantEvent"
>
...
...
@@ -58,7 +58,8 @@
android:layout_marginEnd=
"11dp"
android:textSize=
"20sp"
android:layout_marginBottom=
"510dp"
android:textColor=
"@color/design_default_color_error"
android:textColor=
"@color/black"
android:textStyle=
"bold"
android:text=
"Problem"
/>
<TextView
...
...
@@ -71,7 +72,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -84,7 +84,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -109,7 +108,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Textview_equala"
...
...
@@ -121,7 +119,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -134,7 +131,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -147,7 +143,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/Tetview_equjalsmb"
...
...
@@ -184,7 +179,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -198,7 +192,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A and B)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -211,7 +204,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"/"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_stp2"
...
...
@@ -223,7 +215,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"P(A)"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -236,7 +227,6 @@
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"/"
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -277,6 +267,7 @@
android:layout_marginBottom=
"458dp"
android:background=
"@drawable/border"
android:textSize=
"17sp"
android:textColor=
"#008000"
android:textStyle=
"bold"
android:scrollbars=
"vertical"
/>
...
...
@@ -344,23 +335,38 @@
android:layout_marginEnd=
"176dp"
android:layout_marginBottom=
"96dp"
android:text=
"Find P(B)"
android:textColor=
"@color/design_default_color_error"
android:textColor=
"@color/black"
android:textStyle=
"bold"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textviw_finalvue"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"165dp"
android:layout_height=
"124dp"
android:layout_marginStart=
"220dp"
android:layout_marginTop=
"745dp"
android:layout_marginEnd=
"50dp"
android:layout_marginBottom=
"14dp"
android:background=
"@drawable/emoji1"
android:textColor=
"#008000"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/textView15"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
313
dp"
android:layout_height=
"
41
dp"
android:layout_marginStart=
"
2
0dp"
android:layout_marginTop=
"
2
0dp"
android:layout_width=
"
165
dp"
android:layout_height=
"
58
dp"
android:layout_marginStart=
"0dp"
android:layout_marginTop=
"
1
0dp"
android:layout_marginEnd=
"309dp"
android:layout_marginBottom=
"586dp"
android:text=
"Result - P(B)"
android:background=
"@drawable/dd56"
android:text=
"P(B)"
android:textAlignment=
"center"
android:textColor=
"@color/purple_500"
android:textSize=
"30sp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
android:fontFamily=
"cursive"
/>
</FrameLayout>
\ No newline at end of file
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