|
| 1 | +<?xml version="1.0" encoding="utf-8" ?> |
| 2 | +<android.support.constraint.ConstraintLayout |
| 3 | + xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | + xmlns:tools="http://schemas.android.com/tools" |
| 5 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 6 | + android:layout_width="match_parent" |
| 7 | + android:layout_height="match_parent" |
| 8 | + tools:context=".MainActivity"> |
| 9 | + <Esri.ArcGISRuntime.UI.Controls.MapView |
| 10 | + android:layout_width="match_parent" |
| 11 | + android:layout_height="0dp" |
| 12 | + app:layout_constraintBottom_toTopOf="@+id/queryLayout" |
| 13 | + app:layout_constraintTop_toTopOf="parent" |
| 14 | + android:id="@+id/MapView"/> |
| 15 | + <LinearLayout |
| 16 | + android:orientation="vertical" |
| 17 | + android:layout_width="match_parent" |
| 18 | + android:layout_height="wrap_content" |
| 19 | + android:id="@+id/queryLayout" |
| 20 | + app:layout_constraintTop_toBottomOf="@+id/MapView" |
| 21 | + app:layout_constraintBottom_toBottomOf="parent" |
| 22 | + android:showDividers="middle" |
| 23 | + android:divider="@android:drawable/divider_horizontal_dark"> |
| 24 | + <TextView |
| 25 | + android:layout_width="match_parent" |
| 26 | + android:layout_height="wrap_content" |
| 27 | + android:layout_weight="1" |
| 28 | + android:text="Where clause:" |
| 29 | + android:textSize="20dp" /> |
| 30 | + <Spinner |
| 31 | + android:id="@+id/whereClauseSpinner" |
| 32 | + android:layout_height="wrap_content" |
| 33 | + android:text="" |
| 34 | + android:layout_width="match_parent" |
| 35 | + android:layout_weight="1"/> |
| 36 | + <LinearLayout |
| 37 | + android:orientation="horizontal" |
| 38 | + android:layout_width="match_parent" |
| 39 | + android:layout_height="wrap_content"> |
| 40 | + <TextView |
| 41 | + android:layout_width="0dp" |
| 42 | + android:layout_height="wrap_content" |
| 43 | + android:layout_weight="0.5" |
| 44 | + android:text="Max features:" |
| 45 | + android:textSize="20dp" /> |
| 46 | + <EditText |
| 47 | + android:id="@+id/maxFeatures" |
| 48 | + android:layout_weight="0.5" |
| 49 | + android:layout_width="0dp" |
| 50 | + android:layout_height="wrap_content" |
| 51 | + android:inputType="number" |
| 52 | + android:text="Max features:"/> |
| 53 | + </LinearLayout> |
| 54 | + <Switch |
| 55 | + android:id="@+id/dateSwitch" |
| 56 | + android:layout_weight="1" |
| 57 | + android:layout_width="match_parent" |
| 58 | + android:layout_height="wrap_content" |
| 59 | + android:text="Time extent:" |
| 60 | + android:checked="true"/> |
| 61 | + <LinearLayout |
| 62 | + android:orientation="horizontal" |
| 63 | + android:layout_width="match_parent" |
| 64 | + android:layout_height="wrap_content"> |
| 65 | + <Button |
| 66 | + android:id="@+id/startDateButton" |
| 67 | + android:layout_width="0dp" |
| 68 | + android:layout_weight="0.5" |
| 69 | + android:layout_height="wrap_content" |
| 70 | + android:text="Start Date"/> |
| 71 | + <Button |
| 72 | + android:id="@+id/endDateButton" |
| 73 | + android:layout_width="0dp" |
| 74 | + android:layout_weight="0.5" |
| 75 | + android:layout_height="wrap_content" |
| 76 | + android:text="End Date"/> |
| 77 | + </LinearLayout> |
| 78 | + <LinearLayout |
| 79 | + android:orientation="horizontal" |
| 80 | + android:layout_width="match_parent" |
| 81 | + android:layout_height="wrap_content"> |
| 82 | + <Button |
| 83 | + android:id="@+id/applyButton" |
| 84 | + android:layout_width="0dp" |
| 85 | + android:layout_weight="0.5" |
| 86 | + android:layout_height="wrap_content" |
| 87 | + android:text="Apply"/> |
| 88 | + <Button |
| 89 | + android:id="@+id/resetButton" |
| 90 | + android:layout_width="0dp" |
| 91 | + android:layout_weight="0.5" |
| 92 | + android:layout_height="wrap_content" |
| 93 | + android:text="Reset"/> |
| 94 | + </LinearLayout> |
| 95 | + </LinearLayout> |
| 96 | + <ProgressBar |
| 97 | + android:id="@+id/progressBar" |
| 98 | + android:layout_width="wrap_content" |
| 99 | + android:layout_height="wrap_content" |
| 100 | + app:layout_constraintTop_toTopOf="@+id/MapView" |
| 101 | + app:layout_constraintBottom_toBottomOf="@id/MapView" |
| 102 | + app:layout_constraintLeft_toLeftOf="@id/MapView" |
| 103 | + app:layout_constraintRight_toRightOf="@id/MapView" |
| 104 | + /> |
| 105 | +</android.support.constraint.ConstraintLayout> |
0 commit comments