diff --git a/.idea/compiler.xml b/.idea/compiler.xml index b589d56..b86273d 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 5b230c0..385bcfd 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -4,9 +4,8 @@ - + diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 33bf1a5..5427c19 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -51,7 +51,7 @@ + android:label="@string/title_activity_maps"/> @@ -62,15 +62,15 @@ + android:label="@string/app_name"/> + android:label="@string/title_activity_setup"/> + android:label="@string/Authorize_the_tablet_by_QR_code"/> + android:label="@string/title_activity_locust_list"/> + android:label="@string/title_activity_locust_del_list"/> + + - + android:label="@string/title_activity_locust_del"/> + + android:background="@color/transparent" + app:boxBackgroundColor="@color/transparent"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="0dp"> + + + + + + + + + + + + + android:inputType="numberDecimal" + android:enabled="false" + android:focusable="false"/> - + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="0dp"> - + + android:enabled="false" + android:focusable="false"/> - - - - - - - - - - - - - - - - - + android:hint="@string/Species"> - - - - - - - + android:src="@drawable/ic_star" + android:contentDescription="@null"/> + android:inputType="numberDecimal" + android:enabled="false" + android:focusable="false"/> @@ -1516,73 +1288,19 @@ + android:src="@drawable/ic_star" + android:contentDescription="@null"/> + android:hint="@string/Main_purpose_of_treatment"> - - - - - - - - - - - - - - - - - - - - + android:layout_height="wrap_content" + android:enabled="false" + android:focusable="false"/> @@ -1740,28 +1458,28 @@ - + android:gravity="center" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="0dp"> + android:hint="Механическая безопасность: наблюдалась ли утечка инсектицида?"> - + + + + + + + + + + + + + + + + android:src="@drawable/ic_star" + android:contentDescription="@null"/> + + + + + + + + android:inputType="numberDecimal" + android:enabled="false" + android:focusable="false"/> @@ -1815,7 +1605,8 @@ + android:src="@drawable/ic_star" + android:contentDescription="@null"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1842,35 +1975,134 @@ android:gravity="center" android:paddingLeft="@dimen/activity_horizontal_margin"> - + + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@color/transparent" + android:hint="Ширина захвата с хорошим покрытием капель (м)" + android:maxLines="1" + android:singleLine="true" + android:inputType="numberDecimal"/> + + + + + + + - + + + + + + + + + + + + + + + + + + + + + android:src="@drawable/ic_star" + android:contentDescription="@null"/> + android:inputType="numberDecimal" + android:enabled="false" + android:focusable="false"/> + + android:src="@drawable/ic_star" + android:contentDescription="@null"/> + android:inputType="numberDecimal" + android:enabled="false" + android:focusable="false"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1954,10 +2337,11 @@ android:textColor="@color/text_title" android:gravity="left|center" android:background="#dddddd" - android:text="@string/SAFETY_AND_ENVIRONMENT" + android:text="Здоровье человека" android:textStyle="bold" /> + + android:src="@drawable/ic_star" + android:contentDescription="@null"/> @@ -1980,6 +2366,7 @@ android:columnCount="3" android:rowCount="3" android:paddingLeft="@dimen/activity_horizontal_margin"> + + android:text="@string/Goggles" + android:enabled="false" + android:focusable="false"/> + + android:text="@string/Masks" + android:enabled="false" + android:focusable="false"/> + + android:text="@string/Gloves" + android:enabled="false" + android:focusable="false"/> + + android:text="@string/Overalls" + android:enabled="false" + android:focusable="false"/> + + android:text="@string/Caps" + android:enabled="false" + android:focusable="false"/> + + android:text="@string/Boots" + android:enabled="false" + android:focusable="false"/> + + android:text="@string/Protection_is_absent" + android:enabled="false" + android:focusable="false"/> + + android:src="@drawable/ic_star" + android:contentDescription="@null"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2073,7 +2593,8 @@ + android:src="@drawable/ic_star" + android:contentDescription="@null"/> + android:layout_height="wrap_content" + android:enabled="false" + android:focusable="false"/> @@ -2105,6 +2628,31 @@ android:background="@color/transparent" android:hint="@string/If_yes_describe_what_happened_description" android:maxLines="1" + android:singleLine="true" + android:enabled="false" + android:focusable="false"/> + + + + + + @@ -2112,166 +2660,106 @@ - + android:paddingLeft="@dimen/activity_horizontal_margin"> - - - - - - - - - - - - - - - - - + android:layout_height="40dp" + android:paddingLeft="10dp" + android:textColor="@color/text_title" + android:gravity="left|center" + android:background="#dddddd" + android:text="Состояние окружающей среды" + android:textStyle="bold" /> + android:orientation="horizontal" + android:gravity="center|left"> + android:src="@drawable/ic_star" + android:contentDescription="@null"/> - - - - - - - - - + + + + + + + + + + + + + + + + + + android:src="@drawable/ic_star" + android:contentDescription="@null"/> + + + + + + + + + + + + + + android:layout_height="wrap_content" + android:enabled="false" + android:focusable="false"/> @@ -2313,7 +2848,9 @@ android:background="@color/transparent" android:hint="@string/If_Yes_type_of_organisms_and_effects_description" android:maxLines="1" - android:singleLine="true" /> + android:singleLine="true" + android:enabled="false" + android:focusable="false"/> @@ -2324,7 +2861,101 @@ + android:src="@drawable/ic_star" + android:contentDescription="@null"/> + + + + + + + + + + + + + + + + + + + + + + + + + + android:layout_height="wrap_content" + android:enabled="false" + android:focusable="false"/> @@ -2356,6 +2989,48 @@ android:background="@color/transparent" android:hint="@string/If_Yes_type_of_incident_and_reported_by_whom_description" android:maxLines="1" + android:singleLine="true" + android:enabled="false" + android:focusable="false"/> + + + + + + + + + + + + @@ -2382,7 +3057,993 @@ android:layout_width="match_parent" android:layout_height="150dp" android:ems="10" - android:inputType="textMultiLine" /> + android:inputType="textMultiLine" + android:enabled="false" + android:focusable="false" + android:paddingLeft="@dimen/activity_horizontal_margin"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + android:showDividers="middle" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:showDividers="middle" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:showDividers="middle" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + - - - - + - - - - + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + android:gravity="center" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + - - - - - - + + android:layout_height="wrap_content"> + + + - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - + - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + - - - - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + - - - - + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + - - - - + - - - - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - - - + - - - - + - - - - + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + - - - + - - - - + - - - - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - - - + - - - - + - - - - + - - - - + - - - - + android:paddingLeft="@dimen/activity_horizontal_margin"> + + - + - - - - + - - - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:orientation="horizontal" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> @@ -27,7 +26,8 @@ android:layout_height="wrap_content" android:orientation="horizontal" android:divider="@drawable/spacer_medium" - android:showDividers="middle"> + android:showDividers="middle" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:showDividers="middle" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:showDividers="middle" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + - - - - + - - - - + android:paddingLeft="@dimen/activity_horizontal_margin"> + + - + android:paddingLeft="@dimen/activity_horizontal_margin"> + + - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - + android:textAppearance="?android:attr/textAppearanceSmall" + android:paddingLeft="@dimen/activity_horizontal_margin"/> + android:textAppearance="?android:attr/textAppearanceSmall" + android:paddingLeft="@dimen/activity_horizontal_margin"/> + android:textAppearance="?android:attr/textAppearanceSmall" + android:paddingLeft="@dimen/activity_horizontal_margin"/> + android:textAppearance="?android:attr/textAppearanceSmall" + android:paddingLeft="@dimen/activity_horizontal_margin"/> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + + android:background="#dddddd"> + + + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + - + android:rowCount="3" + android:paddingLeft="@dimen/activity_horizontal_margin"> + - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + android:rowCount="2" + android:paddingLeft="@dimen/activity_horizontal_margin"> + - + android:rowCount="2" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - - - + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + + + + + - - - - - - - - - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + + + + + + + + + + + + + + + + + + + tools:context=".LocustHealthActivity"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="0dp"> - + - - - - + - - - - + - - @@ -333,29 +114,12 @@ - - - - - - - - - + android:src="@drawable/ic_star" + android:contentDescription="@null" + android:layout_gravity="center_vertical"/> - - - - - - - - - - - - - - + android:src="@drawable/ic_star" + android:contentDescription="@null" + android:layout_gravity="center_vertical"/> - - - - + - - - @@ -488,7 +221,12 @@ android:orientation="horizontal" android:divider="@drawable/spacer_medium" android:showDividers="middle"> - + - - - - + - - - @@ -576,80 +307,236 @@ app:layout_constraintRight_toRightOf="parent" app:layout_constraintTop_toTopOf="parent" /> - + android:gravity="center" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="0dp"> + + + + + + - - + - - - + android:importantForAutofill="no" + android:autofillHints="" + android:ems="10" /> + + + + + + + + + + + + + + + - - - - - + + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="0dp"> + + + + + + + + + + + + + + + + + + + + + - + - - - - + - - - @@ -716,7 +600,12 @@ - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - - - - - - - - - - - - - - - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + + + + + + + + + + + + - - - @@ -876,7 +778,12 @@ - + - - - @@ -904,7 +805,12 @@ - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + + + + + + + + - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - - + android:text="Состояние пакетов или контейнеров с инсектицидами" + android:textAppearance="?android:attr/textAppearanceSmall"/> + - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> @@ -1099,48 +1013,16 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" + android:importantForAutofill="no" + android:autofillHints="" android:ems="10" android:inputType="numberDecimal" /> - - - - - - - - - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - - + - - - - - - - - - - - - - + android:src="@drawable/ic_star" + android:contentDescription="@null" + android:layout_gravity="center_vertical"/> - - - @@ -1321,98 +1173,28 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + android:inputType="numberDecimal"/> - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1680,12 +1348,469 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1695,10 +1820,46 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> + + + + + + + + + + + - + - - - @@ -1726,7 +1881,12 @@ - + - - - @@ -1754,40 +1908,130 @@ - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + + + + + + + + + + + + + + + + + + + + + + + + + + + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + - + android:rowCount="3" + android:paddingLeft="@dimen/activity_horizontal_margin"> - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + android:layout_height="wrap_content" + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + + - - - + android:paddingLeft="@dimen/activity_horizontal_margin"> - - - - - - - - - - - + android:text="Дополнительные сведения о случайном воздействии или отравлении" + android:textAppearance="?android:attr/textAppearanceSmall" /> - + android:layout_weight="1" + android:importantForAutofill="no" + android:autofillHints="" + android:inputType="text" /> + - + android:layout_height="40dp" + android:paddingLeft="10dp" + android:textColor="@color/text_title" + android:gravity="left|center" + android:background="#dddddd" + android:text="Состояние окружающей среды" + android:textStyle="bold" /> + + - + android:rowCount="2" + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + + + + + + + + + + + + + + + - - - - - - + android:paddingLeft="@dimen/activity_horizontal_margin"> + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tools:context=".LocustHealthActivity"> + - - - @@ -494,18 +492,18 @@ app:boxBackgroundColor="@color/transparent"> + android:hint="@string/Was_a_spray_monitoring_form_for_this_treatment_filled_out_by_the_control_team"> - - + + + + + +