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
ebc27db3
Commit
ebc27db3
authored
Jul 07, 2021
by
IT17165662
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test the probability calculation functions
parent
367e12de
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
98 additions
and
96 deletions
+98
-96
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/ProbablilityCalculation.java
...educator/calculationfunction/ProbablilityCalculation.java
+23
-23
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/DependantProbablityB_AFragment.java
...unction/StepsFragment/DependantProbablityB_AFragment.java
+1
-1
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/ProbabilityOfAForDependantEventFragment.java
...tepsFragment/ProbabilityOfAForDependantEventFragment.java
+15
-9
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/inputMethod/ProbabilityCalculationIM.java
...yserandeducator/inputMethod/ProbabilityCalculationIM.java
+2
-1
app/src/main/res/layout/fragment_aintersection_b_dependant_event.xml
...n/res/layout/fragment_aintersection_b_dependant_event.xml
+8
-11
app/src/main/res/layout/fragment_dependant_aunion_b.xml
app/src/main/res/layout/fragment_dependant_aunion_b.xml
+8
-11
app/src/main/res/layout/fragment_inde_aunion_b.xml
app/src/main/res/layout/fragment_inde_aunion_b.xml
+17
-16
app/src/main/res/layout/fragment_independant_aand_b.xml
app/src/main/res/layout/fragment_independant_aand_b.xml
+3
-3
app/src/main/res/layout/fragment_probability_of_a_for_dependant_event.xml
.../layout/fragment_probability_of_a_for_dependant_event.xml
+11
-11
app/src/main/res/layout/fragment_probability_of_a_independant_event.xml
...es/layout/fragment_probability_of_a_independant_event.xml
+3
-3
app/src/main/res/layout/fragment_probability_of_b_for_dependant_event.xml
.../layout/fragment_probability_of_b_for_dependant_event.xml
+4
-4
app/src/main/res/layout/fragment_probability_of_b_independant_event.xml
...es/layout/fragment_probability_of_b_independant_event.xml
+3
-3
No files found.
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/ProbablilityCalculation.java
View file @
ebc27db3
...
...
@@ -27,15 +27,15 @@ import java.util.ArrayList;
public
class
ProbablilityCalculation
extends
AppCompatActivity
{
Double
ProbabilityvalueA
;
Double
ProbabilityvalueB
;
Double
ProbabilityvalueAandB
;
Double
ProbabilityvalueAorB
;
Double
ProbabilityvalueAB
;
Double
ProbabilityvalueBA
;
Double
ProbabilityvalueA
=
0.2
;
Double
ProbabilityvalueB
=
0.3
;
Double
ProbabilityvalueAandB
=
0.1
;
Double
ProbabilityvalueAorB
=
0.5
;
Double
ProbabilityvalueAB
=
0.1
;
Double
ProbabilityvalueBA
=
0.1
;
String
des_calculation_type
;
String
Probability_Type
;
//
String Probability_Type;
@Override
...
...
@@ -49,13 +49,13 @@ public class ProbablilityCalculation extends AppCompatActivity {
//from extracted data get the values
Intent
intent
=
getIntent
();
//ProbabilityvalueA = intent.getDoubleExtra("dataset
");
//ProbabilityvalueB = intent.getDoubleExtra("dataset
");
// ProbabilityvalueAandB = intent.getDoubleExtra("dataset
");
// ProbabilityvalueAorB = intent.getDoubleExtra("dataset
");
// ProbabilityvalueAB = intent.getDoubleExtra("dataset
");
// ProbabilityvalueBA = intent.getDoubleExtra("dataset
");
/* ProbabilityvalueA = intent.getDoubleExtra("PA
");
ProbabilityvalueB = intent.getDoubleExtra("PB
");
ProbabilityvalueAandB = intent.getDoubleExtra("PAandB
");
ProbabilityvalueAorB = intent.getDoubleExtra("PAorB
");
ProbabilityvalueAB = intent.getDoubleExtra("PAB
");
ProbabilityvalueBA = intent.getDoubleExtra("PBA
");
*/
//create ProbabilityCalc object
ProbabilityCalc
probabilityCalc
=
new
ProbabilityCalc
();
...
...
@@ -100,12 +100,12 @@ public class ProbablilityCalculation extends AppCompatActivity {
des_calculation_type
=
intent
.
getStringExtra
(
"des_calculation_type"
);
Probability_Type
=
intent
.
getStringExtra
(
"des_calculation_type"
);
//
Probability_Type=intent.getStringExtra("des_calculation_type");
//switch function
if
(
Probability_Type
.
equals
(
"Dependant"
))
{
switch
(
des_calculation_type
)
{
//
if(Probability_Type.equals("Dependant")) {
/*
switch (des_calculation_type) {
case "P(A)":
bundle.putDouble("ProbabilityB_value", (Double) DepProbabilityofAlist.get(1));
...
...
@@ -172,7 +172,7 @@ public class ProbablilityCalculation extends AppCompatActivity {
fragmentTransaction.commit();
break;
case
"P(A
|
B)"
:
case "P(A
|
B)":
bundle.putDouble("ProbabilityB_value", (Double) DepProbabilityofA_Blist.get(0));
bundle.putDouble("ProbabilityAandB_value", (Double) DepProbabilityofA_Blist.get(1));
...
...
@@ -185,7 +185,7 @@ public class ProbablilityCalculation extends AppCompatActivity {
fragmentTransaction.commit();
break;
case
"P(B
|
A)"
:
case "P(B
|
A)":
bundle.putDouble("ProbabilityA_value", (Double) DepProbabilityofB_Alist.get(0));
bundle.putDouble("ProbabilityAandB_value", (Double) DepProbabilityofB_Alist.get(1));
...
...
@@ -211,7 +211,7 @@ public class ProbablilityCalculation extends AppCompatActivity {
fragmentTransaction.commit();
break;
}}
if
(
Probability_Type
.
equals
(
"Independant"
)){
//if (Probability_Type.equals("Independant")){*/
switch
(
des_calculation_type
)
{
case
"P(A)"
:
...
...
@@ -295,8 +295,8 @@ public class ProbablilityCalculation extends AppCompatActivity {
break
;
}
}
switch
(
des_calculation_type
)
{
/*
}
/*
switch (des_calculation_type) {
case "Solve Essay problem":
String[] extractDatasetForEssayArray;
String extractedKeywordsFromFuzzy;
...
...
@@ -321,6 +321,6 @@ public class ProbablilityCalculation extends AppCompatActivity {
//start activity intent1
startActivity(intent1);
startActivity(intent2);
}
}
*/
}
}
\ No newline at end of file
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/DependantProbablityB_AFragment.java
View file @
ebc27db3
...
...
@@ -68,7 +68,7 @@ public class DependantProbablityB_AFragment extends Fragment {
//Returns the value associated with the given key
Double
ProbabilityOFA
=
bundle
.
getDouble
(
"ProbabilityA_value"
);
Double
ProbabilityOFA_B
=
bundle
.
getDouble
(
"Probability
A|B
_value"
);
Double
ProbabilityOFA_B
=
bundle
.
getDouble
(
"Probability
B|A
_value"
);
Double
ProbabilityOFAandB
=
bundle
.
getDouble
(
"ProbabilityAandB_value"
);
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/calculationfunction/StepsFragment/ProbabilityOfAForDependantEventFragment.java
View file @
ebc27db3
...
...
@@ -69,28 +69,34 @@ public class ProbabilityOfAForDependantEventFragment extends Fragment {
//Returns the value associated with the given key
Double
ProbabilityOFA
=
bundle
.
getDouble
(
"ProbabilityA_value"
);
System
.
out
.
println
(
"Probalility A...:"
+
ProbabilityOFA
);
Double
ProbabilityOFB
=
bundle
.
getDouble
(
"ProbabilityB_value"
);
System
.
out
.
println
(
"Probalility B...:"
+
ProbabilityOFB
);
Double
ProbabilityOFAorB
=
bundle
.
getDouble
(
"ProbabilityAorB_value"
);
System
.
out
.
println
(
"Probalility AorB...:"
+
ProbabilityOFAorB
);
Double
ProbabilityOFAandB
=
bundle
.
getDouble
(
"ProbabilityAandB_value"
);
System
.
out
.
println
(
"Probalility AandB...:"
+
ProbabilityOFAandB
);
if
(
ProbabilityOFAorB
<
ProbabilityOFB
||
ProbabilityOFAandB
>
ProbabilityOFB
)
{
mfinalanswer
.
setText
(
"P(A or B) must be greater or equal to P(B)"
);
mresult
.
setText
(
"P(A or B) must be greater or equal to P(B)"
);
}
else
{
mfinalanswer
.
setText
(
ProbabilityOFA
.
toString
());
mresult
.
setText
(
ProbabilityOFA
.
toString
());
}
mPB
.
setText
(
ProbabilityOFB
.
toString
());
mPAandB
.
setText
(
ProbabilityOFAandB
.
toString
());
mPAorB
.
setText
(
ProbabilityOFAorB
.
toString
());
mfinalanswer
.
setText
(
ProbabilityOFA
.
toString
());
mresult
.
setText
(
ProbabilityOFA
.
toString
());
mPB2
.
setText
(
ProbabilityOFB
.
toString
());
mPAandB2
.
setText
(
ProbabilityOFAandB
.
toString
());
mPAorB2
.
setText
(
ProbabilityOFAorB
.
toString
());
mPAandB
.
setText
(
ProbabilityOFAandB
.
toString
());
mPAorB
.
setText
(
ProbabilityOFAorB
.
toString
());
//mfinalanswer.setText(ProbabilityOFA.toString());
// mresult.setText(ProbabilityOFA.toString());
mPB2
.
setText
(
ProbabilityOFB
.
toString
());
mPAandB2
.
setText
(
ProbabilityOFAandB
.
toString
());
mPAorB2
.
setText
(
ProbabilityOFAorB
.
toString
());
...
...
app/src/main/java/com/elearning/probabilityandstatisticsanalyserandeducator/inputMethod/ProbabilityCalculationIM.java
View file @
ebc27db3
...
...
@@ -45,6 +45,7 @@ import com.chaquo.python.android.AndroidPlatform;
import
com.elearning.probabilityandstatisticsanalyserandeducator.MainActivity
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.R
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.calculationfunction.DescriptiveStatisticsCalcuation
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.calculationfunction.ProbablilityCalculation
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.dataExtraction.DescriptiveStatisticsCSVfile
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.dataExtraction.DescriptiveStatisticsQuestionComparation
;
import
com.elearning.probabilityandstatisticsanalyserandeducator.dataExtraction.ExtractData
;
...
...
@@ -375,7 +376,7 @@ public class ProbabilityCalculationIM extends AppCompatActivity implements Adapt
// System.out.println("selected Type "+selectedRadioButton.getText().toString());
Intent
intent
=
new
Intent
(
ProbabilityCalculationIM
.
this
,
DescriptiveStatisticsCalcu
ation
.
class
);
Intent
intent
=
new
Intent
(
ProbabilityCalculationIM
.
this
,
ProbablilityCalcul
ation
.
class
);
intent
.
putExtra
(
"dataset"
,
datasetArray
);
intent
.
putExtra
(
"des_calculation_type"
,
selectedType
);
intent
.
putExtra
(
"PA"
,
PA
.
getText
().
toString
());
...
...
app/src/main/res/layout/fragment_aintersection_b_dependant_event.xml
View file @
ebc27db3
...
...
@@ -117,7 +117,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"
...
...
@@ -129,19 +128,18 @@
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"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
23
dp"
android:layout_width=
"
16
dp"
android:layout_height=
"41dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"260dp"
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"
...
...
@@ -153,7 +151,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -237,7 +234,7 @@
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"
-
"
android:text=
"
+
"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -272,7 +269,7 @@
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"
+
"
android:text=
"
-
"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -304,7 +301,7 @@
android:id=
"@+id/textview_pa"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -317,7 +314,7 @@
android:id=
"@+id/finalanswer"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"147dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"700dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -347,7 +344,7 @@
android:id=
"@+id/textview_pbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"63dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"210dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -360,7 +357,7 @@
android:id=
"@+id/textview_paorbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"97dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"290dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
app/src/main/res/layout/fragment_dependant_aunion_b.xml
View file @
ebc27db3
...
...
@@ -118,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"
...
...
@@ -130,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"
...
...
@@ -142,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"
...
...
@@ -154,7 +151,6 @@
android:layout_marginEnd=
"11dp"
android:layout_marginBottom=
"510dp"
android:text=
"="
android:textColor=
"@color/design_default_color_error"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -251,7 +247,7 @@
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"
-
"
android:text=
"
+
"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -277,16 +273,17 @@
android:layout_marginBottom=
"348dp"
android:text=
"-"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/textvijew_splus"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"wrap_content"
android:layout_height=
"42dp"
android:layout_marginStart=
"2
75
dp"
android:layout_marginStart=
"2
80
dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
android:text=
"
+
"
android:text=
"
-
"
android:textSize=
"20sp"
/>
<TextView
...
...
@@ -318,7 +315,7 @@
android:id=
"@+id/textview_pa"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -331,7 +328,7 @@
android:id=
"@+id/finalanswer"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"147dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"700dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -345,7 +342,7 @@
android:id=
"@+id/textview_pbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"63dp"
android:layout_height=
"
29
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"210dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -358,7 +355,7 @@
android:id=
"@+id/textview_paorbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"97dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"290dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
app/src/main/res/layout/fragment_inde_aunion_b.xml
View file @
ebc27db3
...
...
@@ -2,7 +2,7 @@
<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=
"
wrap_content
"
android:layout_height=
"
1100dp
"
android:background=
"@drawable/cardcutbackground"
tools:context=
".calculationfunction.StepsFragment.IndeAunionBFragment"
>
...
...
@@ -220,8 +220,8 @@
android:id=
"@+id/textvijew_step2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
wrap_content
"
android:layout_height=
"
42
dp"
android:layout_width=
"
53dp
"
android:layout_height=
"
36
dp"
android:layout_marginStart=
"160dp"
android:layout_marginTop=
"540dp"
android:layout_marginEnd=
"8dp"
...
...
@@ -240,11 +240,12 @@
android:layout_marginBottom=
"348dp"
android:text=
"*"
android:textSize=
"20sp"
/>
<TextView
android:id=
"@+id/tlextvijew_stp2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"53dp"
android:layout_height=
"
42dp
"
android:layout_height=
"
wrap_content
"
android:layout_marginStart=
"290dp"
android:layout_marginTop=
"540dp"
android:layout_marginEnd=
"8dp"
...
...
@@ -282,7 +283,7 @@
android:id=
"@+id/textview_pa2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"160dp"
android:layout_marginTop=
"580dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -295,7 +296,7 @@
android:id=
"@+id/paandbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"160dp"
android:layout_marginTop=
"630dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -308,7 +309,7 @@
android:id=
"@+id/textview_pb2"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"290dp"
android:layout_marginTop=
"580dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -464,8 +465,8 @@
android:id=
"@+id/textvijew_step52"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
wrap_content
"
android:layout_height=
"
31
dp"
android:layout_width=
"
53dp
"
android:layout_height=
"
20
dp"
android:layout_marginStart=
"170dp"
android:layout_marginTop=
"840dp"
android:layout_marginEnd=
"8dp"
...
...
@@ -500,7 +501,7 @@
android:id=
"@+id/textijew_step52"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
wrap_content
"
android:layout_width=
"
53dp
"
android:layout_height=
"42dp"
android:layout_marginStart=
"250dp"
android:layout_marginTop=
"840dp"
...
...
@@ -539,9 +540,9 @@
android:id=
"@+id/tijew_st52"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"
wrap_content
"
android:layout_width=
"
120dp
"
android:layout_height=
"42dp"
android:layout_marginStart=
"3
2
0dp"
android:layout_marginStart=
"3
1
0dp"
android:layout_marginTop=
"840dp"
android:layout_marginEnd=
"8dp"
android:layout_marginBottom=
"348dp"
...
...
@@ -552,7 +553,7 @@
android:id=
"@+id/pa3"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"56dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"170dp"
android:layout_marginTop=
"880dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -577,7 +578,7 @@
android:id=
"@+id/finalanswers"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"136dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"170dp"
android:layout_marginTop=
"930dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -591,7 +592,7 @@
android:id=
"@+id/paandbb"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"56dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"330dp"
android:layout_marginTop=
"880dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -604,7 +605,7 @@
android:id=
"@+id/pb3"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"53dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"250dp"
android:layout_marginTop=
"880dp"
android:layout_marginEnd=
"179dp"
...
...
app/src/main/res/layout/fragment_independant_aand_b.xml
View file @
ebc27db3
...
...
@@ -257,7 +257,7 @@
android:id=
"@+id/textview_paandb"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"140dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -270,7 +270,7 @@
android:id=
"@+id/finalanswer"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"147dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"140dp"
android:layout_marginTop=
"700dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -285,7 +285,7 @@
android:id=
"@+id/textview_pbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"270dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
app/src/main/res/layout/fragment_probability_of_a_for_dependant_event.xml
View file @
ebc27db3
...
...
@@ -319,7 +319,7 @@
android:id=
"@+id/textview_paorb"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -331,23 +331,23 @@
<TextView
android:id=
"@+id/finalanswer"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"1
47
dp"
android:layout_height=
"
36
dp"
android:layout_width=
"1
85
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"700dp"
android:layout_marginEnd=
"179dp"
android:layout_marginBottom=
"458dp"
android:background=
"@drawable/border"
android:
textSize=
"17sp
"
android:
scrollbars=
"vertical
"
android:textColor=
"#008000"
android:textS
tyle=
"bold
"
android:
scrollbars=
"vertical"
/>
android:textS
ize=
"17sp
"
android:
textStyle=
"bold"
/>
<TextView
android:id=
"@+id/textview_pbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"63dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"210dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -360,7 +360,7 @@
android:id=
"@+id/textview_paandbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"97dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"290dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -399,14 +399,14 @@
android:id=
"@+id/textview_pa"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"185dp"
android:layout_height=
"
43dp
"
android:layout_height=
"
wrap_content
"
android:layout_marginStart=
"140dp"
android:layout_marginTop=
"350dp"
android:layout_marginBottom=
"288dp"
android:background=
"@drawable/border"
android:scrollbars=
"vertical"
android:textSize=
"17sp"
android:textStyle=
"bold"
android:scrollbars=
"vertical"
/>
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/textview_step3"
...
...
app/src/main/res/layout/fragment_probability_of_a_independant_event.xml
View file @
ebc27db3
...
...
@@ -257,7 +257,7 @@
android:id=
"@+id/textview_paandb"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -270,7 +270,7 @@
android:id=
"@+id/finalanswer"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"147dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"700dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -285,7 +285,7 @@
android:id=
"@+id/textview_pbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"250dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
app/src/main/res/layout/fragment_probability_of_b_for_dependant_event.xml
View file @
ebc27db3
...
...
@@ -303,7 +303,7 @@
android:id=
"@+id/textview_paorb"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -316,7 +316,7 @@
android:id=
"@+id/finalanswer"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"147dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"700dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -331,7 +331,7 @@
android:id=
"@+id/textview_pbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"63dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"210dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -344,7 +344,7 @@
android:id=
"@+id/textview_paandbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"97dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"290dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
app/src/main/res/layout/fragment_probability_of_b_independant_event.xml
View file @
ebc27db3
...
...
@@ -247,7 +247,7 @@
android:id=
"@+id/textview_paandb"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -260,7 +260,7 @@
android:id=
"@+id/finalanswer"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"147dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"110dp"
android:layout_marginTop=
"700dp"
android:layout_marginEnd=
"179dp"
...
...
@@ -275,7 +275,7 @@
android:id=
"@+id/textview_pbs"
style=
"@style/Base.TextAppearance.AppCompat.Large"
android:layout_width=
"79dp"
android:layout_height=
"
36
dp"
android:layout_height=
"
40
dp"
android:layout_marginStart=
"250dp"
android:layout_marginTop=
"640dp"
android:layout_marginEnd=
"179dp"
...
...
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