2020-01-22 23:09:07 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
~ Copyright (c) Kacper Ziubryniewicz 2020-1-20
|
|
|
|
-->
|
|
|
|
|
2020-03-06 21:09:05 +01:00
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2020-01-22 23:09:07 +01:00
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="24dp">
|
|
|
|
|
2020-03-06 21:09:05 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/customPlusCheckBox"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:minHeight="0dp"
|
|
|
|
android:text="Własna wartość plusa" />
|
|
|
|
|
|
|
|
<it.sephiroth.android.library.numberpicker.NumberPicker
|
|
|
|
android:id="@+id/customPlusValue"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="32dp"
|
|
|
|
app:picker_min="0.0"
|
|
|
|
app:picker_max="1.0"
|
|
|
|
app:picker_stepSize="0.01"
|
|
|
|
app:picker_disableGestures="true"
|
|
|
|
app:picker_orientation="horizontal" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/customMinusCheckBox"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:minHeight="0dp"
|
|
|
|
android:text="Własna wartość minusa" />
|
|
|
|
|
|
|
|
<it.sephiroth.android.library.numberpicker.NumberPicker
|
|
|
|
android:id="@+id/customMinusValue"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="32dp"
|
|
|
|
app:picker_min="0.0"
|
|
|
|
app:picker_max="1.0"
|
|
|
|
app:picker_stepSize="0.01"
|
|
|
|
app:picker_disableGestures="true"
|
|
|
|
app:picker_orientation="horizontal" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2020-01-22 23:09:07 +01:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:layout_marginBottom="4dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
style="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:text="@string/menu_grades_sort_mode"/>
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/sortGradesByDateRadio"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:minHeight="0dp"
|
|
|
|
android:text="@string/dialog_grades_config_sort_by_date" />
|
2020-01-22 23:09:07 +01:00
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/sortGradesBySubjectRadio"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:minHeight="0dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
android:text="@string/dialog_grades_config_sort_by_subject"/>
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
style="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:text="@string/menu_grades_color_mode"/>
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/gradeColorFromERegister"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:minHeight="0dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
android:text="@string/dialog_grades_config_color_from_eregister"/>
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/gradeColorByValue"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:minHeight="0dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
android:text="@string/dialog_grades_config_color_by_value"/>
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
style="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:text="@string/menu_grades_average_mode"/>
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/gradeAverageMode4"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:minHeight="0dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
android:text="@string/settings_register_avg_mode_4"/>
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/gradeAverageMode0"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:minHeight="0dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
android:text="@string/settings_register_avg_mode_0"/>
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/gradeAverageMode1"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:minHeight="0dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
android:text="@string/settings_register_avg_mode_1"/>
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/gradeAverageMode2"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:minHeight="0dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
android:text="@string/settings_register_avg_mode_2"/>
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/gradeAverageMode3"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:minHeight="0dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
android:text="@string/settings_register_avg_mode_3"/>
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
style="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:text="@string/other"/>
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/dontCountZeroToAverage"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-06 21:09:05 +01:00
|
|
|
android:minHeight="0dp"
|
2020-01-22 23:09:07 +01:00
|
|
|
android:text="@string/settings_register_dont_count_zero_text"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</layout>
|