PROFiK App Commit
1
app/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/build
|
||||
44
app/build.gradle
Normal file
@@ -0,0 +1,44 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 30
|
||||
buildToolsVersion "30.0.2"
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.rhinemann.project"
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 30
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
||||
multiDexEnabled true
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
buildFeatures {
|
||||
viewBinding true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
||||
implementation 'com.jjoe64:graphview:4.2.2'
|
||||
implementation 'com.google.android.material:material:1.2.1'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||||
def multidex_version = "2.0.1"
|
||||
implementation "androidx.multidex:multidex:$multidex_version"
|
||||
|
||||
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
|
||||
|
||||
}
|
||||
21
app/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# You can control the set of applied configuration files using the
|
||||
# proguardFiles setting in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
#-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
BIN
app/release/app-release.aab
Normal file
BIN
app/release/app-release.apk
Normal file
20
app/release/output-metadata.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"version": 1,
|
||||
"artifactType": {
|
||||
"type": "APK",
|
||||
"kind": "Directory"
|
||||
},
|
||||
"applicationId": "com.rhinemann.project",
|
||||
"variantName": "release",
|
||||
"elements": [
|
||||
{
|
||||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"properties": [],
|
||||
"versionCode": 1,
|
||||
"versionName": "1.0",
|
||||
"enabled": true,
|
||||
"outputFile": "app-release.apk"
|
||||
}
|
||||
]
|
||||
}
|
||||
47
app/src/main/AndroidManifest.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.rhinemann.project">
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme">
|
||||
<activity
|
||||
android:name=".TemperResult"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".Temper"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".About"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".Tests"
|
||||
android:exported="false" />
|
||||
<activity
|
||||
android:name=".Graph"
|
||||
android:exported="false"/>
|
||||
<activity
|
||||
android:name=".Profile"
|
||||
android:exported="false"/>
|
||||
<activity
|
||||
android:name=".Instruction"
|
||||
android:exported="false"/>
|
||||
<activity
|
||||
android:name=".HomeScreen"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".Calculator"
|
||||
android:exported="false"/>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
BIN
app/src/main/ic_launcher-playstore.png
Normal file
|
After Width: | Height: | Size: 41 KiB |
14
app/src/main/java/com/rhinemann/project/About.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package com.rhinemann.project;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
public class About extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_about);
|
||||
}
|
||||
}
|
||||
522
app/src/main/java/com/rhinemann/project/Calculator.java
Normal file
@@ -0,0 +1,522 @@
|
||||
package com.rhinemann.project;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.graphics.Color;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.RadioGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
public class Calculator extends AppCompatActivity {
|
||||
|
||||
RadioGroup UALan;
|
||||
RadioGroup UALit;
|
||||
RadioGroup FLit;
|
||||
RadioGroup FLan;
|
||||
RadioGroup UAHist;
|
||||
RadioGroup FHist;
|
||||
RadioGroup AnFLan;
|
||||
RadioGroup Math;
|
||||
RadioGroup Alg;
|
||||
RadioGroup Geom;
|
||||
RadioGroup PhysAstr;
|
||||
RadioGroup BioEco;
|
||||
RadioGroup Chem;
|
||||
RadioGroup Geo;
|
||||
RadioGroup PE;
|
||||
RadioGroup Milit;
|
||||
RadioGroup SocEd;
|
||||
RadioGroup Law;
|
||||
RadioGroup Econ;
|
||||
RadioGroup IT;
|
||||
RadioGroup Tech;
|
||||
RadioGroup Art;
|
||||
|
||||
CheckBox checkBox_IT;
|
||||
CheckBox checkBox_Tech;
|
||||
CheckBox checkBox_Art;
|
||||
|
||||
TextView HoursTaken;
|
||||
|
||||
Float Hours_Count;
|
||||
|
||||
Float UALan_Hours = 2f;
|
||||
Float UALit_Hours = 2f;
|
||||
Float FLit_Hours = 1f;
|
||||
Float FLan_Hours = 2f;
|
||||
Float UAHist_Hours = 1.5f;
|
||||
Float FHist_Hours = 1f;
|
||||
Float AnFLan_Hours = 0f;
|
||||
Float Math_Hours = 3f;
|
||||
Float Alg_Hours = 0f;
|
||||
Float Geom_Hours = 0f;
|
||||
Float PhysAstr_Hours = 3f;
|
||||
Float BioEco_Hours = 2f;
|
||||
Float Chem_Hours = 1.5f;
|
||||
Float Geo_Hours = 1.5f;
|
||||
Float PE_Hours = 2f;
|
||||
Float Milit_Hours = 1.5f;
|
||||
Float SocEd_Hours = 2f;
|
||||
Float Law_Hours = 0f;
|
||||
Float Econ_Hours = 0f;
|
||||
Float IT_Hours = 0f;
|
||||
Float Tech_Hours = 0f;
|
||||
Float Art_Hours = 0f;
|
||||
|
||||
Button Home;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_calculator);
|
||||
|
||||
UALan= findViewById(R.id.UALan);
|
||||
UALit= findViewById(R.id.UALit);
|
||||
FLit= findViewById(R.id.FLit);
|
||||
FLan= findViewById(R.id.FLan);
|
||||
UAHist= findViewById(R.id.UAHist);
|
||||
FHist= findViewById(R.id.FHist);
|
||||
AnFLan= findViewById(R.id.AnFLan);
|
||||
Math= findViewById(R.id.Math);
|
||||
Alg= findViewById(R.id.Alg);
|
||||
Geom= findViewById(R.id.Geom);
|
||||
PhysAstr= findViewById(R.id.PhysAstr);
|
||||
BioEco= findViewById(R.id.BioEco);
|
||||
Chem= findViewById(R.id.Chem);
|
||||
Geo= findViewById(R.id.Geo);
|
||||
PE= findViewById(R.id.PE);
|
||||
Milit= findViewById(R.id.Milit);
|
||||
SocEd= findViewById(R.id.SocEd);
|
||||
Law= findViewById(R.id.Law);
|
||||
Econ= findViewById(R.id.Econ);
|
||||
IT= findViewById(R.id.IT);
|
||||
Tech= findViewById(R.id.Tech);
|
||||
Art= findViewById(R.id.Art);
|
||||
|
||||
HoursTaken = findViewById(R.id.Hours);
|
||||
|
||||
Home = findViewById(R.id.home);
|
||||
|
||||
Home.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Calculator.this, HomeScreen.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
checkBox_IT = findViewById(R.id.checkBox_IT);
|
||||
checkBox_Tech = findViewById(R.id.checkBox_Tech);
|
||||
checkBox_Art = findViewById(R.id.checkBox_Art);
|
||||
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
|
||||
IT.clearCheck();
|
||||
Tech.clearCheck();
|
||||
Art.clearCheck();
|
||||
|
||||
UALan.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId) {
|
||||
case R.id.UALanSt:
|
||||
UALan_Hours = 2f;
|
||||
break;
|
||||
case R.id.UALanPro:
|
||||
UALan_Hours = 4f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
UALit.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.UALitSt:
|
||||
UALit_Hours=2f;
|
||||
break;
|
||||
case R.id.UALitPro:
|
||||
UALit_Hours=4f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
FLit.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.FLitSt:
|
||||
FLit_Hours=1f;
|
||||
break;
|
||||
case R.id.FLitPro:
|
||||
FLit_Hours=3f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
FLan.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.FLanSt:
|
||||
FLan_Hours=2f;
|
||||
break;
|
||||
case R.id.FLanPro:
|
||||
FLan_Hours= 5f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
UAHist.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.UAHistSt:
|
||||
UAHist_Hours=1.5f;
|
||||
break;
|
||||
case R.id.UAHistPro:
|
||||
UAHist_Hours= 3f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
FHist.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.FHistSt:
|
||||
FHist_Hours=1f;
|
||||
break;
|
||||
case R.id.FHistPro:
|
||||
FHist_Hours=3f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
AnFLan.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.AnFLanSt:
|
||||
AnFLan_Hours=0f;
|
||||
break;
|
||||
case R.id.AnFLanPro:
|
||||
AnFLan_Hours=3f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
Math.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.MathSt:
|
||||
Math_Hours=3f;
|
||||
break;
|
||||
case R.id.MathPro:
|
||||
Math_Hours=0f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
Alg.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.AlgSt:
|
||||
Alg_Hours=0f;
|
||||
break;
|
||||
case R.id.AlgPro:
|
||||
Alg_Hours=6f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
Geom.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.GeomSt:
|
||||
Geom_Hours=0f;
|
||||
break;
|
||||
case R.id.GeomPro:
|
||||
Geom_Hours=3f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
PhysAstr.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.PhysAstrSt:
|
||||
PhysAstr_Hours=3f;
|
||||
break;
|
||||
case R.id.PhysAstrPro:
|
||||
PhysAstr_Hours=6f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
BioEco.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.BioEcoSt:
|
||||
BioEco_Hours=2f;
|
||||
break;
|
||||
case R.id.BioEcoPro:
|
||||
BioEco_Hours=5f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
Chem.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.ChemSt:
|
||||
Chem_Hours=1.5f;
|
||||
break;
|
||||
case R.id.ChemPro:
|
||||
Chem_Hours=4f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
Geo.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.GeoSt:
|
||||
Geo_Hours=1.5f;
|
||||
break;
|
||||
case R.id.GeoPro:
|
||||
Geo_Hours=5f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
PE.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.PESt:
|
||||
PE_Hours=2f;
|
||||
break;
|
||||
case R.id.PEPro:
|
||||
PE_Hours=6f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
Milit.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.MilitSt:
|
||||
Milit_Hours=1.5f;
|
||||
break;
|
||||
case R.id.MilitPro:
|
||||
Milit_Hours=5f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
SocEd.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.SocEdSt:
|
||||
SocEd_Hours=2f;
|
||||
break;
|
||||
case R.id.SocEdPro:
|
||||
SocEd_Hours=0f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
Law.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.LawSt:
|
||||
Law_Hours=0f;
|
||||
break;
|
||||
case R.id.LawPro:
|
||||
Law_Hours=3f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
Econ.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
switch (checkedId){
|
||||
case R.id.EconSt:
|
||||
Econ_Hours=0f;
|
||||
break;
|
||||
case R.id.EconPro:
|
||||
Econ_Hours=3f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
});
|
||||
|
||||
checkBox_IT.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
if (checkBox_IT.isChecked()) {
|
||||
IT_Hours = 3f;
|
||||
IT.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
if (checkBox_IT.isChecked()) {
|
||||
switch (checkedId) {
|
||||
case R.id.ITSt:
|
||||
IT_Hours = 3f;
|
||||
break;
|
||||
case R.id.ITPro:
|
||||
IT_Hours = 5f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
} else{
|
||||
IT_Hours = 0f;
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
IT.clearCheck();
|
||||
IT_Hours = 0f;
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
checkBox_Tech.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
if (checkBox_Tech.isChecked()) {
|
||||
Tech_Hours = 3f;
|
||||
Tech.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
if (checkBox_Tech.isChecked()) {
|
||||
switch (checkedId) {
|
||||
case R.id.TechSt:
|
||||
Tech_Hours = 3f;
|
||||
break;
|
||||
case R.id.TechPro:
|
||||
Tech_Hours = 5f;
|
||||
break;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
} else {
|
||||
Tech_Hours = 0f;
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
}
|
||||
});
|
||||
}else {
|
||||
Tech.clearCheck();
|
||||
Tech_Hours = 0f;
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
checkBox_Art.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
if (checkBox_Art.isChecked()) {
|
||||
Art_Hours = 3f;
|
||||
Art.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
|
||||
if (checkBox_Art.isChecked()){
|
||||
switch (checkedId) {
|
||||
case R.id.ArtSt:
|
||||
Art_Hours = 3f;
|
||||
break;
|
||||
case R.id.ArtPro:
|
||||
Art_Hours = 5f;
|
||||
}
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
} else {
|
||||
Art_Hours= 0f;
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
}
|
||||
});
|
||||
}else {
|
||||
Art.clearCheck();
|
||||
Art_Hours = 0f;
|
||||
Hours_Count = Final(UALan_Hours, UALit_Hours, FLit_Hours, FLan_Hours, UAHist_Hours, FHist_Hours, AnFLan_Hours, Math_Hours, Alg_Hours, Geom_Hours, PhysAstr_Hours, BioEco_Hours, Chem_Hours, Geo_Hours, Milit_Hours, SocEd_Hours, Law_Hours, Econ_Hours, IT_Hours, Tech_Hours, Art_Hours, PE_Hours);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
public float Final(float Lesson_1, float Lesson_2, float Lesson_3, float Lesson_4, float Lesson_5, float Lesson_6, float Lesson_7, float Lesson_8, float Lesson_9, float Lesson_10, float Lesson_11, float Lesson_12, float Lesson_13, float Lesson_14, float Lesson_15, float Lesson_16, float Lesson_17, float Lesson_18, float Lesson_19, float Lesson_20, float Lesson_21, float PE){
|
||||
float Hours = Lesson_1 + Lesson_2 + Lesson_3 + Lesson_4 + Lesson_5 + Lesson_6 + Lesson_7 + Lesson_8 + Lesson_9 + Lesson_10 + Lesson_11 + Lesson_12 + Lesson_13 + Lesson_14 + Lesson_15 + Lesson_16 + Lesson_17 + Lesson_18 + Lesson_19 + Lesson_20 + Lesson_21;
|
||||
|
||||
if (Hours >= 33f){
|
||||
HoursTaken.setTextColor(Color.rgb(255,0,0));
|
||||
}
|
||||
else {
|
||||
HoursTaken.setTextColor(Color.rgb(0, 0, 0));
|
||||
}
|
||||
|
||||
Hours += PE;
|
||||
|
||||
HoursTaken.setText("Годин вибрано: " + Float.toString(Hours));
|
||||
|
||||
return Hours;
|
||||
}
|
||||
|
||||
}
|
||||
91
app/src/main/java/com/rhinemann/project/Graph.java
Normal file
@@ -0,0 +1,91 @@
|
||||
package com.rhinemann.project;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import com.jjoe64.graphview.series.BarGraphSeries;
|
||||
import com.jjoe64.graphview.GraphView;
|
||||
import com.jjoe64.graphview.series.DataPoint;
|
||||
import com.jjoe64.graphview.DefaultLabelFormatter;
|
||||
|
||||
public class Graph extends AppCompatActivity {
|
||||
|
||||
Button Home;
|
||||
// BarChart Chart;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_graph);
|
||||
|
||||
GraphView Graph = (GraphView) findViewById(R.id.Graph);
|
||||
|
||||
final String[] XAxis = {"Фізика", "Математика", "Електро- та \nрадіотехніка", "Техніка", "Хімія", "Біологія", "Медицина", "Географія", "Історія", "Філологія", "Мистецтво", "Педагогіка", "Психологія, \nфілософія", "Бізнес", "Сфера \nобслуговувуння", "Військова \nсправа", "Спорт"};
|
||||
|
||||
int[] Data = getIntent().getIntArrayExtra("profileAnswers");
|
||||
|
||||
BarGraphSeries<DataPoint> series = new BarGraphSeries<DataPoint>();
|
||||
|
||||
for (int i=0; i<17; i++){
|
||||
series.appendData(new DataPoint(i*2, Data[i]),true,18);
|
||||
}
|
||||
|
||||
series.appendData(new DataPoint(17*2, 0),true,18);
|
||||
|
||||
series.setColor(R.color.colorPrimary);
|
||||
series.setSpacing(20);//Spacing
|
||||
series.setDrawValuesOnTop(true);// draw values on top
|
||||
|
||||
Graph.addSeries(series);
|
||||
|
||||
Graph.setTitle("Орієнтовний графік");
|
||||
Graph.setTitleTextSize(50);
|
||||
Graph.setTitleColor(R.color.colorAccent);
|
||||
|
||||
Graph.getLegendRenderer().setVisible(false);
|
||||
|
||||
|
||||
// set manual Y bounds
|
||||
Graph.getViewport().setYAxisBoundsManual(true);
|
||||
Graph.getViewport().setMinY(0);
|
||||
Graph.getViewport().setMaxY(15);
|
||||
|
||||
// set manual X bounds
|
||||
Graph.getViewport().setXAxisBoundsManual(true);
|
||||
Graph.getViewport().setMinX(0);
|
||||
Graph.getViewport().setMaxX(7);
|
||||
|
||||
//set horizontal scrolling
|
||||
Graph.getViewport().setScrollable(true);
|
||||
|
||||
Graph.getGridLabelRenderer().setTextSize(30);
|
||||
Graph.getGridLabelRenderer().reloadStyles();
|
||||
Graph.getGridLabelRenderer().setPadding(10);
|
||||
|
||||
Graph.getGridLabelRenderer().setLabelFormatter(new DefaultLabelFormatter(){
|
||||
|
||||
@Override
|
||||
public String formatLabel(double value, boolean isValueX) {
|
||||
if (isValueX){
|
||||
return (XAxis[(int) (value/2)]);
|
||||
} else {
|
||||
return super.formatLabel(value, isValueX);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Home = findViewById(R.id.home);
|
||||
|
||||
Home.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Graph.this, HomeScreen.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
47
app/src/main/java/com/rhinemann/project/HomeScreen.java
Normal file
@@ -0,0 +1,47 @@
|
||||
package com.rhinemann.project;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
|
||||
public class HomeScreen extends AppCompatActivity {
|
||||
|
||||
Button button_Tests, button_About, button_Calculator;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_home_screen);
|
||||
|
||||
button_Tests = findViewById(R.id.Button_Tests);
|
||||
button_About = findViewById(R.id.Button_About);
|
||||
button_Calculator = findViewById(R.id.Button_Calculator);
|
||||
|
||||
button_Tests.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(HomeScreen.this, Tests.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
button_About.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(HomeScreen.this, About.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
button_Calculator.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(HomeScreen.this, Calculator.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
39
app/src/main/java/com/rhinemann/project/Instruction.java
Normal file
@@ -0,0 +1,39 @@
|
||||
package com.rhinemann.project;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
|
||||
public class Instruction extends AppCompatActivity {
|
||||
|
||||
Button Home;
|
||||
Button Prof;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_instruction);
|
||||
|
||||
Home = findViewById(R.id.home_inst);
|
||||
Prof = findViewById(R.id.button_prof);
|
||||
|
||||
Home.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Instruction.this, HomeScreen.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
Prof.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Instruction.this, Profile.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
118
app/src/main/java/com/rhinemann/project/Profile.java
Normal file
@@ -0,0 +1,118 @@
|
||||
package com.rhinemann.project;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.TextView;
|
||||
|
||||
public class Profile extends AppCompatActivity {
|
||||
|
||||
Integer questionId, discipline;
|
||||
int[] profileAnswers;
|
||||
TextView profileQuestion;
|
||||
String[] profileQuestions;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_profile);
|
||||
|
||||
profileQuestions = getResources().getStringArray(R.array.Profile_Questions);
|
||||
profileQuestion = findViewById(R.id.Profile_Question);
|
||||
questionId = 0;
|
||||
discipline = 0;
|
||||
profileAnswers = new int[]{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
|
||||
profileQuestion.setText(profileQuestions[questionId]);
|
||||
|
||||
|
||||
|
||||
//Кнопка плюс
|
||||
Button plusButton = findViewById(R.id.Button_Plus);
|
||||
|
||||
plusButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Test(1);
|
||||
}
|
||||
});
|
||||
|
||||
//Кнопка мінус
|
||||
Button minusButton = findViewById(R.id.Button_Minus);
|
||||
|
||||
minusButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Test(-1);
|
||||
}
|
||||
});
|
||||
|
||||
//Кнопка нуль
|
||||
Button zeroButton = findViewById(R.id.Button_Zero);
|
||||
|
||||
zeroButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Test(0);
|
||||
}
|
||||
});
|
||||
|
||||
//Кнопка два плюси
|
||||
Button doublePlusButton = findViewById(R.id.Button_Double_Plus);
|
||||
|
||||
doublePlusButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Test(2);
|
||||
}
|
||||
});
|
||||
|
||||
//Кнопка два мінуси
|
||||
Button doubleMinusButton = findViewById(R.id.Button_Double_Minus);
|
||||
|
||||
doubleMinusButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Test(-2);
|
||||
}
|
||||
});
|
||||
|
||||
//Кнорка Меню
|
||||
Button Home = findViewById(R.id.home);
|
||||
|
||||
Home.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Profile.this, HomeScreen.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void Test(int amount) {
|
||||
if (questionId < 102){
|
||||
questionId ++;
|
||||
profileQuestion.setText(profileQuestions[questionId]);
|
||||
} else {
|
||||
graphResult();
|
||||
}
|
||||
|
||||
profileAnswers[discipline] += amount;
|
||||
|
||||
if (discipline == 16){
|
||||
discipline = 0;
|
||||
} else {
|
||||
discipline ++;
|
||||
}
|
||||
}
|
||||
|
||||
public void graphResult() {
|
||||
Intent intent = new Intent(Profile.this, Graph.class);
|
||||
intent.putExtra("profileAnswers", profileAnswers);
|
||||
startActivity(intent);
|
||||
}
|
||||
|
||||
}
|
||||
78
app/src/main/java/com/rhinemann/project/Temper.java
Normal file
@@ -0,0 +1,78 @@
|
||||
package com.rhinemann.project;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.TextView;
|
||||
|
||||
public class Temper extends AppCompatActivity {
|
||||
|
||||
Integer questionId, temper;
|
||||
int[] temperAnswers;
|
||||
TextView temperQuestion;
|
||||
String[] temperQuestions;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_temper);
|
||||
|
||||
temperQuestions = getResources().getStringArray(R.array.Temper_Questions);
|
||||
temperQuestion = findViewById(R.id.Temper_Question);
|
||||
questionId = 0;
|
||||
temper = 0;
|
||||
temperAnswers = new int[]{0, 0, 0, 0};
|
||||
|
||||
temperQuestion.setText(temperQuestions[questionId]);
|
||||
|
||||
Button yesButton = findViewById(R.id.Button_Yes);
|
||||
|
||||
yesButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Test(1);
|
||||
}
|
||||
});
|
||||
|
||||
Button noButton = findViewById(R.id.Button_No);
|
||||
|
||||
noButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Test(0);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
public void Test(int amount) {
|
||||
if (questionId <= 19) {
|
||||
temper = 0;
|
||||
} else if (questionId > 19 & questionId <= 39) {
|
||||
temper = 1;
|
||||
} else if (questionId > 39 & questionId <= 59){
|
||||
temper = 2;
|
||||
} else {
|
||||
temper = 3;
|
||||
}
|
||||
|
||||
temperAnswers[temper] += amount;
|
||||
|
||||
if (questionId < 79) {
|
||||
questionId ++;
|
||||
temperQuestion.setText(temperQuestions[questionId]);
|
||||
} else {
|
||||
graphResult();
|
||||
}
|
||||
}
|
||||
|
||||
public void graphResult(){
|
||||
Intent intent = new Intent(Temper.this, TemperResult.class);
|
||||
intent.putExtra("Temper", temperAnswers);
|
||||
startActivity(intent);
|
||||
}
|
||||
|
||||
}
|
||||
80
app/src/main/java/com/rhinemann/project/TemperResult.java
Normal file
@@ -0,0 +1,80 @@
|
||||
package com.rhinemann.project;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
|
||||
import com.github.mikephil.charting.charts.RadarChart;
|
||||
import com.github.mikephil.charting.components.XAxis;
|
||||
import com.github.mikephil.charting.data.RadarData;
|
||||
import com.github.mikephil.charting.data.RadarDataSet;
|
||||
import com.github.mikephil.charting.data.RadarEntry;
|
||||
import com.github.mikephil.charting.formatter.IndexAxisValueFormatter;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class TemperResult extends AppCompatActivity {
|
||||
|
||||
RadarChart radarChart;
|
||||
Button homeButton;
|
||||
|
||||
int[] Data;
|
||||
String[] labels = {"Choleric", "Sanguine", "Phlegmatic", "Melancholic"};
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_temper_result);
|
||||
|
||||
Data = getIntent().getIntArrayExtra("Temper");
|
||||
|
||||
radarChart = findViewById(R.id.Graph);
|
||||
|
||||
RadarDataSet dataSet = new RadarDataSet(dataValues(), "Tempers");
|
||||
|
||||
dataSet.setColor(R.color.colorPrimary);
|
||||
dataSet.setFillColor(R.color.colorAccent);
|
||||
dataSet.setLineWidth(2f);
|
||||
dataSet.setDrawFilled(true);
|
||||
|
||||
RadarData data = new RadarData();
|
||||
data.addDataSet(dataSet);
|
||||
|
||||
data.setDrawValues(false);
|
||||
|
||||
XAxis xAxis = radarChart.getXAxis();
|
||||
xAxis.setValueFormatter(new IndexAxisValueFormatter(labels));
|
||||
|
||||
radarChart.setData(data);
|
||||
radarChart.getDescription().setEnabled(false);
|
||||
radarChart.getLegend().setEnabled(false);
|
||||
radarChart.setRotationEnabled(false);
|
||||
radarChart.getXAxis().setTextSize(15f);
|
||||
radarChart.getXAxis().setAxisMaximum(20f);
|
||||
radarChart.getXAxis().setAxisMinimum(-20f);
|
||||
radarChart.getYAxis().setAxisMaximum(20f);
|
||||
radarChart.getYAxis().setAxisMinimum(-20f);
|
||||
|
||||
homeButton = findViewById(R.id.home);
|
||||
homeButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(TemperResult.this, HomeScreen.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private ArrayList<RadarEntry>dataValues(){
|
||||
ArrayList<RadarEntry> Tempers = new ArrayList<RadarEntry>();
|
||||
Tempers.add(new RadarEntry(Data[0]));
|
||||
Tempers.add(new RadarEntry(Data[1]));
|
||||
Tempers.add(new RadarEntry(Data[2]));
|
||||
Tempers.add(new RadarEntry(Data[3]));
|
||||
return Tempers;
|
||||
}
|
||||
|
||||
}
|
||||
38
app/src/main/java/com/rhinemann/project/Tests.java
Normal file
@@ -0,0 +1,38 @@
|
||||
package com.rhinemann.project;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
|
||||
public class Tests extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_tests);
|
||||
|
||||
Button temperButton = findViewById(R.id.Button_Temper);
|
||||
Button profileButton = findViewById(R.id.Button_Profile);
|
||||
Button mayerButton = findViewById(R.id.Button_Mayer);
|
||||
|
||||
profileButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Tests.this, Profile.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
temperButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Tests.this, Temper.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
30
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="85.84757"
|
||||
android:endY="92.4963"
|
||||
android:startX="42.9492"
|
||||
android:startY="49.59793"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#44000000"
|
||||
android:offset="0.0" />
|
||||
<item
|
||||
android:color="#00000000"
|
||||
android:offset="1.0" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillType="nonZero"
|
||||
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
|
||||
android:strokeWidth="1"
|
||||
android:strokeColor="#00000000" />
|
||||
</vector>
|
||||
7
app/src/main/res/drawable-v24/radiobutton_selector.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:drawable="@android:drawable/checkbox_on_background" android:state_checked="true"/>
|
||||
<item android:drawable="@android:drawable/checkbox_off_background" android:state_checked="false"/>
|
||||
|
||||
</selector>
|
||||
170
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
@@ -0,0 +1,170 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:fillColor="#3DDC84"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M9,0L9,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,0L19,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,0L29,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,0L39,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,0L49,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,0L59,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,0L69,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,0L79,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M89,0L89,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M99,0L99,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,9L108,9"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,19L108,19"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,29L108,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,39L108,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,49L108,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,59L108,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,69L108,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,79L108,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,89L108,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,99L108,99"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,29L89,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,39L89,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,49L89,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,59L89,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,69L89,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,79L89,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,19L29,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,19L39,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,19L49,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,19L59,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,19L69,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,19L79,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
</vector>
|
||||
8
app/src/main/res/layout/activity_about.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".About">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
711
app/src/main/res/layout/activity_calculator.xml
Normal file
@@ -0,0 +1,711 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/Scroll_view"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:fillViewport="true">
|
||||
|
||||
<HorizontalScrollView
|
||||
android:id="@+id/hscroll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/Lessons"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Lessons"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView4" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Базові предмети"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Стандарт(10+11)"
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView6"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Профіль(10+11)"
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintStart_toEndOf="@+id/textView5"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/Hours"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Lessons" />
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/UALan"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_1"
|
||||
android:layout_marginTop="3dp"
|
||||
android:baselineAligned="false"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView5">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/UALanSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="2+2"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/UALanPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="4+4"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/UALit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_1"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/UALan">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/UALitSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="2+2"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/UALitPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="4+4"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/FLit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_1"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/UALit">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/FLitSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="1+1"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/FLitPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="3+3"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/FLan"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/FLit">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/FLanSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="2+2"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/FLanPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="5+5"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/UAHist"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/FLan">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/UAHistSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="1.5+1.5"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/UAHistPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_2"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="3+3"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/FHist"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/UAHist">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/FHistSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="1+1"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/FHistPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="3+3"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/AnFLan"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/FHist">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/AnFLanSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/AnFLanPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_3"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="3+3"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/Math"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/AnFLan">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/MathSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="3+3"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/MathPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/Alg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Math">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/AlgSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/AlgPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_3"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="6+6"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/Geom"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Alg">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/GeomSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/GeomPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_3"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="3+3"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/PhysAstr"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Geom">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/PhysAstrSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="3+4"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/PhysAstrPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="6+6"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/BioEco"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/PhysAstr">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/BioEcoSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="2+2"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/BioEcoPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="5+5"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/Chem"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/BioEco">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/ChemSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="1.5+2"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/ChemPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="50sp"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="4+6"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/Geo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Chem">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/GeoSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="1.5+1"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/GeoPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="50sp"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="5+5"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/PE"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Geo">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/PESt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="2+3"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/PEPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="6+6"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/Milit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/PE">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/MilitSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="1.5+1.5"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/MilitPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_2"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="5+5"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/SocEd"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Milit">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/SocEdSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="2+0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/SocEdPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/Law"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/SocEd">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/LawSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/LawPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_3"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="3+3"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/Econ"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Law">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/EconSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="true"
|
||||
android:text="0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/EconPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_3"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="3+3"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/IT"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Econ">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/ITSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="false"
|
||||
android:text="3+0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/ITPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="5+5"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/checkBox_IT"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/Tech"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/IT">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/TechSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="false"
|
||||
android:text="3+0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/TechPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="5+5"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/checkBox_Tech"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/Art"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/RG_Height_2"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toEndOf="@+id/Lessons"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Tech">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/ArtSt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:checked="false"
|
||||
android:text="3+0"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/ArtPro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/Margin_1"
|
||||
android:button="@drawable/radiobutton_selector"
|
||||
android:text="5+5"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/checkBox_Art"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
<Button
|
||||
android:id="@+id/home"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Меню"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Hours"
|
||||
app:layout_constraintVertical_bias="1.0" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</HorizontalScrollView>
|
||||
</ScrollView>
|
||||
44
app/src/main/res/layout/activity_graph.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/GL"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="4"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.jjoe64.graphview.GraphView
|
||||
android:id="@+id/Graph"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="0.25"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/GL">
|
||||
|
||||
<Button
|
||||
android:id="@+id/home"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="Меню"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="parent" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
58
app/src/main/res/layout/activity_home_screen.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="24dp"
|
||||
android:text="@string/app_name"
|
||||
android:textAlignment="center"
|
||||
android:textColor="#000000"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_About"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="50dp"
|
||||
android:text="Про програму"
|
||||
android:textAllCaps="false"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0.496"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Tests"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="50dp"
|
||||
android:text="Тести"
|
||||
android:textAllCaps="false"
|
||||
android:textSize="16sp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Button_About" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Calculator"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="50dp"
|
||||
android:text="Профіль навчання"
|
||||
android:textAllCaps="false"
|
||||
android:textSize="16dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Button_Tests" />
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
48
app/src/main/res/layout/activity_instruction.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
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"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".Instruction">
|
||||
|
||||
<Button
|
||||
android:id="@+id/home_inst"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:text="Меню"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintVertical_bias="1.0" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Title_Inst"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:text="@string/Body_Inst"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView2" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/button_prof"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Почати тестування"
|
||||
app:layout_constraintBottom_toTopOf="@+id/home_inst"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
70
app/src/main/res/layout/activity_profile.xml
Normal file
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/Profile_Question"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="25dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Double_Plus"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="150dp"
|
||||
android:text="++"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Plus"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="100dp"
|
||||
android:text="+"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/Button_Minus"
|
||||
app:layout_constraintTop_toBottomOf="@id/Button_Double_Plus" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Zero"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0"
|
||||
app:layout_constraintStart_toEndOf="@id/Button_Double_Plus"
|
||||
app:layout_constraintEnd_toStartOf="@id/Button_Double_Minus"
|
||||
app:layout_constraintTop_toTopOf="@+id/Button_Double_Plus" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Minus"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="-"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/Button_Plus"
|
||||
app:layout_constraintTop_toTopOf="@+id/Button_Plus" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Double_Minus"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="--"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/Button_Double_Plus" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/home"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Меню"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
37
app/src/main/res/layout/activity_temper.xml
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".Temper">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/Temper_Question"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="25dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Yes"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="200dp"
|
||||
android:text="Так"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@id/Button_No"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_No"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Ні"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/Button_Yes"
|
||||
app:layout_constraintTop_toTopOf="@+id/Button_Yes" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
44
app/src/main/res/layout/activity_temper_result.xml
Normal file
@@ -0,0 +1,44 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/GL"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.github.mikephil.charting.charts.RadarChart
|
||||
android:id="@+id/Graph"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="12"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/GL">
|
||||
|
||||
<Button
|
||||
android:id="@+id/home"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="Меню"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toEndOf="parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
46
app/src/main/res/layout/activity_tests.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".Tests">
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Temper"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Темперамент"
|
||||
android:textAllCaps="false"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginTop="100dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Profile"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Тест профоріентаціі"
|
||||
android:textAllCaps="false"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginTop="100dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Button_Temper" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/Button_Mayer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Майер-Бригс"
|
||||
android:textAllCaps="false"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginTop="100dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/Button_Profile" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
2
app/src/main/res/menu/menu_facult.xml
Normal file
@@ -0,0 +1,2 @@
|
||||
<menu xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context="com.rhinemann.project.FacultActivity" />
|
||||
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 6.5 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 9.4 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
6
app/src/main/res/values/colors.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#662D91</color>
|
||||
<color name="colorPrimaryDark">#342d91</color>
|
||||
<color name="colorAccent">#912d8a</color>
|
||||
</resources>
|
||||
12
app/src/main/res/values/dimens.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="RG_Height_1">22sp</dimen>
|
||||
<dimen name="RG_Height_2">21sp</dimen>
|
||||
<dimen name="Margin_1">62sp</dimen>
|
||||
<dimen name="Margin_2">38sp</dimen>
|
||||
<dimen name="Margin_3">79sp</dimen>
|
||||
<dimen name="Margin_B">20sp</dimen>
|
||||
<dimen name="app_bar_height">180dp</dimen>
|
||||
<dimen name="fab_margin">16dp</dimen>
|
||||
<dimen name="text_margin">16dp</dimen>
|
||||
</resources>
|
||||
4
app/src/main/res/values/ic_launcher_background.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_launcher_background">#662D91</color>
|
||||
</resources>
|
||||
216
app/src/main/res/values/strings.xml
Normal file
@@ -0,0 +1,216 @@
|
||||
<resources>
|
||||
<string name="app_name">PROFiK</string>
|
||||
<string name="Lessons">" Українська Мова \n"
|
||||
"Українська література\n"
|
||||
"Зарубіжна література\n"
|
||||
"Іноземна мова\n"
|
||||
"Історія України\n"
|
||||
"Всесвітня історія\n"
|
||||
"Друга іноземна мова\n"
|
||||
"Математика\n"
|
||||
"Алгебра\n"
|
||||
"Геометрія\n"
|
||||
"Фізика та астрономія\n"
|
||||
"Біологія та екологія\n"
|
||||
"Хімія\n"
|
||||
"Географія\n"
|
||||
"Фізична культура\n"
|
||||
"Захист Вітчизни\n"
|
||||
"Громадянська освіта\n"
|
||||
"Правознавство\n"
|
||||
"Економіка\n"
|
||||
"Інформатика\n"
|
||||
"Технології\n"
|
||||
"Мистецтво"</string>
|
||||
<string name="Title_Inst">Інструкція</string>
|
||||
<string name="Body_Inst">Якщо Вам дуже подобається робити те, про що йдеться у запитанні, то поставте у відповідній клітинці два плюси (++), а якщо просто подобається - то один плюс (+). Може статися так, що Ви ніяк не можете визначити, чи подобається Вам це робити, чи ні. Тоді поставте у відповідну клітинку нуль (0). Коли ж Ви визначили, що вам зовсім не подобається робити те, про що йдеться у запитанні, то у відповідній клітинці поставте один мінус (-), а коли це Вам дуже не подобається, то два мінуси (- -). Якщо на якесь запитання у Вас виникне одразу дві протилежні відповіді, або відповідь, що залежить від якоїсь додаткової умови. Наприклад: «Якби це було вдома, то мені подобається, а якщо в іншому місці, то зовсім не подобається». У такому разі самостійно і швидко визначте самі, яка з цих позначок - плюс, мінус чи нуль - є, на Вашу думку, найближчою до істини, і її поставте у відповідну клітинку.</string>
|
||||
|
||||
<string-array name="Profile_Questions">
|
||||
<item>Читати популярну літературу з фізики.</item>
|
||||
<item>Читати популярні нариси, статті або книжки з математики.</item>
|
||||
<item>Читати науково-популярні журнали, статті з радіотехніки.</item>
|
||||
<item>Читати науково-популярні технічні журнали і статті.</item>
|
||||
<item>Читати науково-популярну літературу з хімії.</item>
|
||||
<item>Читати літературу про рослини або про тварин.</item>
|
||||
<item>Читати популярні статті, нариси з медичних питань.</item>
|
||||
<item>Читати літературу з географії.</item>
|
||||
<item>Читати літературу про історичні події або про відомих історичних діячів.</item>
|
||||
<item>Читати твори класиків світової художньої літератури.</item>
|
||||
<item>Читати літературу з питань мистецтва.</item>
|
||||
<item>Читати літературу з питань педагогіки (про роботу школи, вчителя, вихователя тощо).</item>
|
||||
<item>Читати літературу з питань філософії або психології.</item>
|
||||
<item>Читати літературу (статті, нариси) з питань економіки або фінансів.</item>
|
||||
<item>Читати літературу з питань кулінарії або моделювання одягу, або ведення домашнього господарства.</item>
|
||||
<item>Читати літературу з військової тематики.</item>
|
||||
<item>Читати нариси або статті, або книжки з питань спорту.</item>
|
||||
<item>Вивчати фізичні явища, знайомитися з відкриттями в галузі фізики.</item>
|
||||
<item>Знайомитися з науковими розробками в математиці.</item>
|
||||
<item>Знайомитися з принциповими схемами радіотелевізійної або автоматичної апаратури.</item>
|
||||
<item>Знайомитися з новинами техніки.</item>
|
||||
<item>Знайомитися з питаннями хімічного виробництва або експериментальної хімії.</item>
|
||||
<item>Знайомитися з питаннями біології рослинного або тваринного світу.</item>
|
||||
<item>Знайомитися з питаннями анатомії і фізіології людини.</item>
|
||||
<item>Знайомитися з питаннями географічних або геологічних, або археологічних досліджень.</item>
|
||||
<item>Знайомитися з питаннями історії розвитку різних народів і держав.</item>
|
||||
<item>Знайомитися з роботами літературної критики.</item>
|
||||
<item>Відвідувати театральні вистави або концерти, або художні виставки.</item>
|
||||
<item>Знайомитись із новими досягненнями (новими методами) педагогічної праці.</item>
|
||||
<item>Знайомитись із новими оригінальними філософськими або психологічними концепціями, теоріями.</item>
|
||||
<item>Знайомитись із рекламно-довідковими матеріалами з нової техніки або побутових товарів.</item>
|
||||
<item>Знайомитись із довідками і різними порадами щодо ремонту домашньої техніки, меблів, одягу, виготовлення саморобок або про будь-яку іншу ручну працю для дому.</item>
|
||||
<item>Знайомитись із військовою технікою.</item>
|
||||
<item>Спостерігати спортивні змагання.</item>
|
||||
<item>Проводити досліди з фізики.</item>
|
||||
<item>Розв\'язувати математичні задачі.</item>
|
||||
<item>Розбиратися в будові радіотехнічної або електричної, або електронної апаратури.</item>
|
||||
<item>Розбиратися в технічних схемах або кресленнях.</item>
|
||||
<item>Проводити досліди з хімії.</item>
|
||||
<item>Працювати в саду або па городі, або на фермі.</item>
|
||||
<item>Знайомитись із причинами виникнення різних захворювань.</item>
|
||||
<item>Збирати географічні нотатки, схеми, карти або якісь експонати (геологічні, археологічні).</item>
|
||||
<item>Обговорювати політичні події в країні або за кордоном.</item>
|
||||
<item>Вивчати мову (іноземну або рідну).</item>
|
||||
<item>Співати або грати на музичному інструменті, або малювати, або займатись будь-яким іншим видом мистецької діяльності.</item>
|
||||
<item>Піклуватися про малих дітей.</item>
|
||||
<item>Знайомитися з новими теоріями загальної або практичної психології.</item>
|
||||
<item>Стежити за змінами валютних обмінних курсів.</item>
|
||||
<item>Піклуватися про порядок і комфорт у своєму домі.</item>
|
||||
<item>Брати участь у військовій підготовці".</item>
|
||||
<item>Брати участь у спортивних іграх.</item>
|
||||
<item>Працювати у фізичному гуртку або займатися самоосвітою з фізики.</item>
|
||||
<item>Працювати у математичному гуртку або займатися самоосвітою з математики.</item>
|
||||
<item>Ремонтувати або налагоджувати радіотехнічну або електронну апаратуру, або електроприлади.</item>
|
||||
<item>Складати або ремонтувати різні технічні механізми або пристрої.</item>
|
||||
<item>Працювати у хімічному гуртку або займатися самоосвітою з хімії.</item>
|
||||
<item> Працювати у біологічному гуртку або займатися самоосвітою з біології.</item>
|
||||
<item>Доглядати за хворими.</item>
|
||||
<item>Працювати з географічними картами.</item>
|
||||
<item>Ознайомлюватися з історичними пам\'ятками культури різних народів.</item>
|
||||
<item>Вести свій особистий щоденник або в письмовій формі викладати свої спостереження, думки.</item>
|
||||
<item>Брати участь у роботі гуртка або студії художньої самодіяльності.</item>
|
||||
<item>Обговорювати питання педагогічної роботи.</item>
|
||||
<item>Вишукувати (визначати) можливості застосування рекомендацій психологічної або філософської науки в житті людей.</item>
|
||||
<item>Давати поради людям (товаришам, родичам або добрим знайомим) щодо вигідного вкладання грошей у приватні або державні заходи.</item>
|
||||
<item>Надавати людям різні побутові послуги.</item>
|
||||
<item>Брати участь у військових іграх або походах.</item>
|
||||
<item>Брати участь у спортивних змагашіях.</item>
|
||||
<item>Брати участь у конкурсах з фізики.</item>
|
||||
<item>Брати участь у конкурсах з математики.</item>
|
||||
<item>Складати або ремонтувати радіотехнічні прилади.</item>
|
||||
<item>Робити технічні моделі (літаки, автомобілі або якісь інші конструкції).</item>
|
||||
<item>Брати участь у конкурсах з хімії.</item>
|
||||
<item>Брати участь у конкурсах з біології.</item>
|
||||
<item>Знайомитися з роботою медичного працівника.</item>
|
||||
<item>Користуватися маршрутними схемами або географічними картами.</item>
|
||||
<item>Брати участь у роботі історичного гуртка або самостійно займатися питаннями історії.</item>
|
||||
<item>Брати участь у роботі літературного або лінгвістичного (мовного) гуртка або самостійно займатися проблемними питаннями літератури чи мови.</item>
|
||||
<item>Грати на музичних інструментах або малювати, або займатися різьбленням чи якоюсь іншою творчою практичною діяльністю.</item>
|
||||
<item>Замінювати вчителя в якому-небудь з молодших класів, якщо в цьому виникає потреба.</item>
|
||||
<item>Формулювати (визначати) свої власні погляди на життєві проблеми або на поведінку людей з позицій філософської або психологічної науки.</item>
|
||||
<item>Розраховувати, передбачати, прогнозувати можливості вигідного інвестування (вкладання) грошей у перспективні заходи або вкладання своєї власної праці в такі ж заходи з мстою матеріальної або духовної вигоди.</item>
|
||||
<item>Піклуватися про сімейний бюджет (його можливе підвищення або раціональне використання).</item>
|
||||
<item>Брати участь у організації військових тренувань або ігор, або походів.</item>
|
||||
<item>Брати участь у роботі спортивної секції або спортивної школи, або спортивного гуртка, або самостійно займатися спортом.</item>
|
||||
<item>Виступати з інформаційними повідомленнями про нові досягнення у фізиці або про цікаві фізичні явища (ознайомлювати з цим своїх товаришів).</item>
|
||||
<item>Брати участь у проведенні математичних ігор або ознайомлювати своїх товаришів з цікавими питаннями математики.</item>
|
||||
<item>Брати участь у роботі радіотехнічного гуртка або самостійно займатися радіотехнічними розробками.</item>
|
||||
<item>Брати участь у роботі з технічної творчості.</item>
|
||||
<item>Брати участь у експериментальній роботі з хімії.</item>
|
||||
<item>Брати участь у експериментальній роботі з біології.</item>
|
||||
<item>Надавати медичну допомогу людям або тваринам.</item>
|
||||
<item>Брати участь у географічних або геологічних, або археологічних експедиціях, або в туристичних походах з метою вивчення краєзнавства.</item>
|
||||
<item>Брати участь у походах або екскурсіях за історичною тематикою.</item>
|
||||
<item>Брати участь у літературних зустрічах або в обговореннях літературної теми, або в літературному диспуті.</item>
|
||||
<item>Брати участь у конкурсах художньої самодіяльності або самостійно виступати, або демонструвати свої творчі вироби.</item>
|
||||
<item>Брати участь у організації і проведенні ігор і цікавого дозвілля для дітей.</item>
|
||||
<item>Використовувати свої знання психології людини для покращання свого спілкування з людьми або для впливу па людину з метою зміни її поведінки.</item>
|
||||
<item>Самостійно або разом з людиною, якій ви довіряєте, проводити ділові операції з метою одержання матеріальних вигід (в торгівлі або послугах, або у виробництві тощо).</item>
|
||||
<item>Піклуватися про забезпечення своїх друзів або родичів побутовими зручностями, вигодами (зробити необхідну покупку або приготувати їжу, або щось відремонтувати тощо).</item>
|
||||
<item>Вивчати військову справу.</item>
|
||||
<item>Вести Тренерську роботу з якого-небудь виду спорту.</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="Temper_Questions">
|
||||
<item>Я метушливий і непосидючий. </item>
|
||||
<item>Я нестриманий і запальний. </item>
|
||||
<item>Я нетерплячий. </item>
|
||||
<item>Я різкий і прямолінійний у спілкуванні. </item>
|
||||
<item>Я часто є ініціатором різноманітних заходів. </item>
|
||||
<item>Я впертий. </item>
|
||||
<item>У суперечці я дуже спритний. </item>
|
||||
<item>Мені важко дотримувати певний ритм у роботі. </item>
|
||||
<item>Я часто йду на ризик. </item>
|
||||
<item>Я не пам\'ятаю образ. </item>
|
||||
<item>Я кажу дуже швидко і збуджено. </item>
|
||||
<item>Я неврівноважений і часто гарячі з-за дрібниць. </item>
|
||||
<item>Я нетерпимий до недоліків інших. </item>
|
||||
<item>Я люблю дражнити людей. </item>
|
||||
<item>Моя міміка дуже виразна. </item>
|
||||
<item>Я швидко приймаю рішення. </item>
|
||||
<item>Мене приваблює все нове. </item>
|
||||
<item>Мої рухи поривчасті й різання. </item>
|
||||
<item>Я завжди наполегливо йду до поставленої мети. </item>
|
||||
<item>У мене часто без особливих причин змінюється настрій. </item>
|
||||
<item>Я - життєрадісна людина. </item>
|
||||
<item>Я енергійний і завжди знаю, куди направити свою енергію. </item>
|
||||
<item>Я не завжди доводжу до кінця те, що почав. </item>
|
||||
<item>Я часто себе переоцінюю. </item>
|
||||
<item>Все нове я схоплюю буквально на льоту. </item>
|
||||
<item>Мої інтереси непостійні. </item>
|
||||
<item>Свої невдачі я переживаю досить легко. </item>
|
||||
<item>Мені легко пристосуватися до практично будь-яких обставин. </item>
|
||||
<item>Будь-яка справа, якою я займаюся, захоплює мене. </item>
|
||||
<item>Як тільки мій інтерес до справи згасає, я, як правило, кидаю його. </item>
|
||||
<item>Я легко включаюся в нову роботу, а також перемикаюся з одного виду діяльності на інший. </item>
|
||||
<item>Монотонна копітка робота пригнічує мене. </item>
|
||||
<item>Я товариський і чуйний, у мене багато друзів. </item>
|
||||
<item>У мене висока працездатність, я дуже витривалий. </item>
|
||||
<item>Я кажу зазвичай голосно, швидко і чітко. </item>
|
||||
<item>Навіть у складних і непередбачених обставин я не втрачаю самовладання. </item>
|
||||
<item>Я завжди доброзичливо налаштований. </item>
|
||||
<item>Я зазвичай без праці засинаю і прокидаюся. </item>
|
||||
<item>Я часто беру поспішні, необдумані рішення. </item>
|
||||
<item>Іноді я слухаю когось неуважно, не вникаючи в суть оповідання. </item>
|
||||
<item>Зазвичай я спокійний і холоднокровний. </item>
|
||||
<item>У всіх своїх справах я дотримуюся певної послідовності. </item>
|
||||
<item>Зазвичай я розважливий і обережний. </item>
|
||||
<item>Я спокійно переношу очікування. </item>
|
||||
<item>Якщо мені нічого сказати, я вважаю за краще мовчати. </item>
|
||||
<item>Моя мова розмірено і спокійна, без яскравої емоційної забарвлення. </item>
|
||||
<item>Я стриманий і терплячий. </item>
|
||||
<item>Я зазвичай доводжу те, що почав, до кінця. </item>
|
||||
<item>Я не витрачаю сили на дрібниці, але можу бути дуже працездатною, якщо бачу, що справа того варта. </item>
|
||||
<item>У роботі і в житті я дотримуюся звичної схеми. </item>
|
||||
<item>Мені легко стримати свої емоції. </item>
|
||||
<item>Похвала чи критика на мою адресу мало хвилюють мене. </item>
|
||||
<item>До жартів на свою адресу я ставлюся поблажливо. </item>
|
||||
<item>Мої інтереси відрізняються сталістю. </item>
|
||||
<item>Я повільно втягуюся в роботу або перемикаюся з одного виду діяльності на інший. </item>
|
||||
<item>Зазвичай у мене рівні стосунки з усіма. </item>
|
||||
<item>Я акуратна і люблю порядок у всьому. </item>
|
||||
<item>Мені важко адаптуватися до нової обстановки. </item>
|
||||
<item>Я дуже витриманий. </item>
|
||||
<item>Контакт з новими людьми я налагоджую поступово. </item>
|
||||
<item>Я сором\'язлива і сором\'язлива. </item>
|
||||
<item>У незнайомій обстановці я відчуваю себе розгубленим. </item>
|
||||
<item>Мені важко заговорити з незнайомою людиною. </item>
|
||||
<item>Часом я не вірю в свої сили. </item>
|
||||
<item>Я спокійно переношу самотність. </item>
|
||||
<item>Невдачі пригнічують мене. </item>
|
||||
<item>Іноді я надовго йду в себе. </item>
|
||||
<item>Я швидко втомлюються. </item>
|
||||
<item>Я кажу дуже тихо, іноді майже пошепки. </item>
|
||||
<item>Я завжди підлаштовуюся під мого співрозмовника. </item>
|
||||
<item>Іноді щось вражає мене настільки, що я не можу стримати сліз. </item>
|
||||
<item>12. Я дуже чутливий до похвали чи критиці. </item>
|
||||
<item>Я висуваю високі вимоги до себе і оточуючих. </item>
|
||||
<item>Я буваю недовірливим і підозрілим. </item>
|
||||
<item>Я легко ранима людина. </item>
|
||||
<item>Мене легко образити. </item>
|
||||
<item>Я віддаю перевагу приховувати свої думки від навколишніх. </item>
|
||||
<item>Я боязкий і малоактивний. </item>
|
||||
<item>Я зазвичай покірливо підкоряюся наказам. </item>
|
||||
<item>Мені хотілося б викликати в оточуючих співчуття до мене. </item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
10
app/src/main/res/values/styles.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<resources>
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
11
app/src/main/res/values/themes.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<resources>
|
||||
|
||||
<style name="AppTheme.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||
|
||||
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
||||
</resources>
|
||||
5
app/src/main/res/xml/provider_paths.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<paths>
|
||||
<files-path
|
||||
name="prof"
|
||||
path="." />
|
||||
</paths>
|
||||