+Поля
This commit is contained in:
@ -22,6 +22,7 @@ import android.text.Editable;
|
||||
import android.text.TextWatcher;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.widget.ArrayAdapter;
|
||||
@ -382,37 +383,36 @@ public class LocustHealthActivity extends FragmentActivity implements LocationLi
|
||||
}
|
||||
cursor.close();
|
||||
dboh.close();
|
||||
|
||||
// Чтоб при изменении страны обновлялся список регионов
|
||||
((selectDB)spiCountry).setOnChangeValueListener(new OnClickListener()
|
||||
{
|
||||
spiCountry.setOnTouchListener(new View.OnTouchListener() {
|
||||
@Override
|
||||
public void onClick(View v)
|
||||
{
|
||||
((selectDB)spiRegion).clearFields();
|
||||
((selectDB)spiRegion).addField("", "");
|
||||
|
||||
if(((selectDB)spiCountry).getValue() != null && !((selectDB)spiCountry).getValue().equals(""))
|
||||
{
|
||||
DbOpenHelper dboh = new DbOpenHelper(LocustHealthActivity.this);
|
||||
Cursor cursor = dboh.getReadableDatabase().rawQuery(
|
||||
"select id, name from countriesregions where del=0 and country_id=" + ((selectDB)spiCountry).getValue() + " order by name", null);
|
||||
if (cursor.moveToFirst())
|
||||
{
|
||||
do
|
||||
{
|
||||
((selectDB)spiRegion).addField(cursor.getString(cursor.getColumnIndex("name")),
|
||||
cursor.getString(cursor.getColumnIndex("id")));
|
||||
} while (cursor.moveToNext());
|
||||
}
|
||||
cursor.close();
|
||||
dboh.close();
|
||||
}
|
||||
public boolean onTouch(View v, MotionEvent event) {
|
||||
return true; // Перехватываем все события касания
|
||||
}
|
||||
});
|
||||
|
||||
//Область
|
||||
spiRegion = findViewById(R.id.spiRegion); // Регион
|
||||
guiTableDel.add(spiRegion, "region_id");
|
||||
((selectDB)spiRegion).addField("", "");
|
||||
dboh = new DbOpenHelper(this);
|
||||
cursor = dboh.getReadableDatabase().rawQuery("select id, name from countriesregions where del=0 order by name", null);
|
||||
if (cursor.moveToFirst())
|
||||
{
|
||||
do
|
||||
{
|
||||
((selectDB)spiRegion).addField(cursor.getString(cursor.getColumnIndex("name")),
|
||||
cursor.getString(cursor.getColumnIndex("id")));
|
||||
} while (cursor.moveToNext());
|
||||
}
|
||||
cursor.close();
|
||||
dboh.close();
|
||||
|
||||
spiRegion.setOnTouchListener(new View.OnTouchListener() {
|
||||
@Override
|
||||
public boolean onTouch(View v, MotionEvent event) {
|
||||
return true; // Перехватываем все события касания
|
||||
}
|
||||
});
|
||||
//Район
|
||||
edtArea = (EditText) findViewById(R.id.edtArea); // Район
|
||||
guiTableDel.add(edtArea, "area");
|
||||
@ -3450,26 +3450,6 @@ public class LocustHealthActivity extends FragmentActivity implements LocationLi
|
||||
{
|
||||
_lat = location.getLatitude(); // от устройства
|
||||
_lon = location.getLongitude(); // от устройства
|
||||
|
||||
if(_lat!=0 && _lon!=0){
|
||||
if((((selectDB)spiCountry).getValue() == null || ((selectDB)spiCountry).getValue().equals("")) && (((selectDB)spiRegion).getValue()==null || ((selectDB)spiRegion).getValue().equals(""))){
|
||||
String prefName = "Identify";
|
||||
SharedPreferences prefs = getSharedPreferences("CommonPrefs", Activity.MODE_PRIVATE);
|
||||
String checked = prefs.getString(prefName, "");
|
||||
if(checked.equals("") || checked.equals("1")) {
|
||||
//Пытаюсь найти какому региону принадлежит точка
|
||||
DbOpenHelper dboh = new DbOpenHelper(this);
|
||||
Integer i1 = new Integer(0);
|
||||
int[] ids = dboh.inPerimeter((float) _lon, (float) _lat);
|
||||
if (ids[0] != 0 && ids[1] != 0) {
|
||||
((selectDB)spiCountry).setValue(String.valueOf(ids[0]));
|
||||
((selectDB)spiRegion).setValue(String.valueOf(ids[1]));
|
||||
}
|
||||
dboh.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -660,7 +660,7 @@ public class LocustHealthListActivity extends AppCompatActivity
|
||||
from
|
||||
frmlocustdel ld
|
||||
left join frmlocusthealth lh on lh.frmlocustdel_uid=ld.uid
|
||||
where ld.del=0
|
||||
where ld.del=0 and ld.filled=true
|
||||
""", null); //Все
|
||||
break;
|
||||
}
|
||||
|
||||
BIN
app/src/main/res/drawable/down.png
Normal file
BIN
app/src/main/res/drawable/down.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 590 B |
@ -1,22 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@android:color/transparent"/>
|
||||
<stroke
|
||||
android:width="0dp"
|
||||
android:color="@android:color/transparent"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:bottom="0dp" android:right="0dp" android:left="0dp">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@android:color/transparent"/>
|
||||
|
||||
<item android:gravity="bottom">
|
||||
<shape android:shape="line">
|
||||
<stroke android:width="1dp" android:color="@android:color/darker_gray"/>
|
||||
<size android:height="2dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:right="8dp" android:gravity="end|center_vertical">
|
||||
<bitmap
|
||||
android:src="@android:drawable/arrow_down_float"
|
||||
android:src="@drawable/down"
|
||||
android:gravity="center"/>
|
||||
</item>
|
||||
</layer-list>
|
||||
|
||||
@ -63,7 +63,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiCountry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -92,7 +95,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRegion"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -123,7 +129,9 @@
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/Area"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -155,7 +163,9 @@
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/Name_of_the_village"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -189,7 +199,9 @@
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/Name_of_control_team_leader"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -223,7 +235,9 @@
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/Date"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<EditText
|
||||
@ -231,7 +245,9 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="2dp"
|
||||
android:visibility="invisible" />
|
||||
android:visibility="invisible"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnGetDate"
|
||||
@ -246,7 +262,9 @@
|
||||
app:icon="@drawable/ic_clock"
|
||||
app:iconGravity="textStart"
|
||||
app:iconPadding="0dp"
|
||||
app:iconSize="24dp" />
|
||||
app:iconSize="24dp"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
android:layout_height="match_parent"
|
||||
@ -285,10 +303,11 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:enabled="false"
|
||||
android:hint="@string/Lat_center"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
@ -303,10 +322,11 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:enabled="false"
|
||||
android:hint="@string/Lon_center"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
@ -322,7 +342,9 @@
|
||||
app:icon="@drawable/ic_location"
|
||||
app:iconGravity="textStart"
|
||||
app:iconPadding="0dp"
|
||||
app:iconSize="24dp" />
|
||||
app:iconSize="24dp"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnDelGPSCenter"
|
||||
@ -337,7 +359,9 @@
|
||||
app:icon="@drawable/ic_delete"
|
||||
app:iconGravity="textStart"
|
||||
app:iconPadding="0dp"
|
||||
app:iconSize="24dp" />
|
||||
app:iconSize="24dp"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -603,7 +627,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiVegType"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -659,7 +686,9 @@
|
||||
android:hint="@string/Height_cm"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
android:inputType="numberDecimal"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -685,7 +714,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiVegCover"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -713,7 +745,9 @@
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/Crop_name"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -760,7 +794,9 @@
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/Trade_name"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -865,7 +901,9 @@
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/The_active_substance"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -897,7 +935,9 @@
|
||||
android:hint="@string/Concentration_A_S"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="text"/>
|
||||
android:inputType="text"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -923,7 +963,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiInsFormulation"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -953,7 +996,9 @@
|
||||
android:hint="@string/Dose_rate_l_of_commercial_product_ha"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
android:inputType="numberDecimal"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -979,7 +1024,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1070,7 +1116,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@ -1152,7 +1199,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiWeaTimeStart"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@ -1172,7 +1222,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiWeaTimeEnd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
<View
|
||||
@ -1207,7 +1260,9 @@
|
||||
android:hint="@string/Temperature_start"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
android:inputType="numberDecimal"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@ -1231,7 +1286,9 @@
|
||||
android:hint="@string/Temperature_end"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
android:inputType="numberDecimal"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
<View
|
||||
@ -1259,7 +1316,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiWindDirectionStart"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@ -1276,7 +1336,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiWindDirectionEnd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
<View
|
||||
@ -1304,7 +1367,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprayDirectionStart"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
@ -1321,7 +1387,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprayDirectionEnd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
<View
|
||||
@ -1364,7 +1433,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiLocSpecies"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1390,7 +1462,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiLocHoppers"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1455,7 +1530,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1496,7 +1572,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprPlatform"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1519,7 +1598,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprPlatformA"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1542,7 +1624,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprPlatformG"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1565,7 +1650,10 @@
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprPlatformH"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1611,7 +1699,9 @@
|
||||
android:hint="@string/Spray_manufacturer_model"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="text"/>
|
||||
android:inputType="text"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1640,7 +1730,9 @@
|
||||
android:hint="@string/Atomizer_height_above_ground_m"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
android:inputType="numberDecimal"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1759,7 +1851,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1856,7 +1949,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1924,7 +2018,9 @@
|
||||
android:hint="@string/Area_treated_check_by_monitoring_team_ha"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
android:inputType="numberDecimal"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@ -2313,7 +2409,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
@ -2354,7 +2451,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false" />
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -2449,7 +2547,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -2758,7 +2857,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@ -2892,7 +2992,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -3133,7 +3234,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -3284,7 +3386,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -50,13 +50,17 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/Country">
|
||||
android:hint="@string/Country"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiCountry"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -81,13 +85,17 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/Region">
|
||||
android:hint="@string/Region"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:clickable="false">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRegion"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -695,7 +703,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -810,7 +819,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1060,7 +1070,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1118,7 +1129,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1247,7 +1259,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1276,7 +1289,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1367,7 +1381,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1393,7 +1408,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1419,7 +1435,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1445,7 +1462,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1490,7 +1508,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1519,7 +1538,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1605,7 +1625,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1650,7 +1671,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1676,7 +1698,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1702,7 +1725,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -1910,7 +1934,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -2004,7 +2029,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -2461,7 +2487,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnEffControl"
|
||||
@ -2506,7 +2533,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false" />
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -2599,7 +2627,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -3046,7 +3075,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -3288,7 +3318,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
@ -3440,7 +3471,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:enabled="false"
|
||||
android:focusable="false"/>
|
||||
android:focusable="false"
|
||||
android:clickable="false"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<View
|
||||
android:layout_width="@dimen/activity_vertical_margin"
|
||||
|
||||
Reference in New Issue
Block a user