-
Notifications
You must be signed in to change notification settings - Fork 520
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New sample: Query with CQL filters (#909)
- Loading branch information
Showing
34 changed files
with
2,115 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
105 changes: 105 additions & 0 deletions
105
src/Android/Xamarin.Android/Resources/layout/QueryCQLFilters.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<android.support.constraint.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=".MainActivity"> | ||
<Esri.ArcGISRuntime.UI.Controls.MapView | ||
android:layout_width="match_parent" | ||
android:layout_height="0dp" | ||
app:layout_constraintBottom_toTopOf="@+id/queryLayout" | ||
app:layout_constraintTop_toTopOf="parent" | ||
android:id="@+id/MapView"/> | ||
<LinearLayout | ||
android:orientation="vertical" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/queryLayout" | ||
app:layout_constraintTop_toBottomOf="@+id/MapView" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
android:showDividers="middle" | ||
android:divider="@android:drawable/divider_horizontal_dark"> | ||
<TextView | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:text="Where clause:" | ||
android:textSize="20dp" /> | ||
<Spinner | ||
android:id="@+id/whereClauseSpinner" | ||
android:layout_height="wrap_content" | ||
android:text="" | ||
android:layout_width="match_parent" | ||
android:layout_weight="1"/> | ||
<LinearLayout | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<TextView | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="0.5" | ||
android:text="Max features:" | ||
android:textSize="20dp" /> | ||
<EditText | ||
android:id="@+id/maxFeatures" | ||
android:layout_weight="0.5" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:inputType="number" | ||
android:text="Max features:"/> | ||
</LinearLayout> | ||
<Switch | ||
android:id="@+id/dateSwitch" | ||
android:layout_weight="1" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="Time extent:" | ||
android:checked="true"/> | ||
<LinearLayout | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<Button | ||
android:id="@+id/startDateButton" | ||
android:layout_width="0dp" | ||
android:layout_weight="0.5" | ||
android:layout_height="wrap_content" | ||
android:text="Start Date"/> | ||
<Button | ||
android:id="@+id/endDateButton" | ||
android:layout_width="0dp" | ||
android:layout_weight="0.5" | ||
android:layout_height="wrap_content" | ||
android:text="End Date"/> | ||
</LinearLayout> | ||
<LinearLayout | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
<Button | ||
android:id="@+id/applyButton" | ||
android:layout_width="0dp" | ||
android:layout_weight="0.5" | ||
android:layout_height="wrap_content" | ||
android:text="Apply"/> | ||
<Button | ||
android:id="@+id/resetButton" | ||
android:layout_width="0dp" | ||
android:layout_weight="0.5" | ||
android:layout_height="wrap_content" | ||
android:text="Reset"/> | ||
</LinearLayout> | ||
</LinearLayout> | ||
<ProgressBar | ||
android:id="@+id/progressBar" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
app:layout_constraintTop_toTopOf="@+id/MapView" | ||
app:layout_constraintBottom_toBottomOf="@id/MapView" | ||
app:layout_constraintLeft_toLeftOf="@id/MapView" | ||
app:layout_constraintRight_toRightOf="@id/MapView" | ||
/> | ||
</android.support.constraint.ConstraintLayout> |
Oops, something went wrong.