Skip to content

Commit

Permalink
#183 added gps dialog pop up
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony4m committed Nov 18, 2024
1 parent 673778c commit a1e5773
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion sormas-app/app/src/main/res/layout/fragment_ebs_edit_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<variable name="mediaScannningTypeClass" type="Class" />
<variable name="mobileScannningTypeClass" type="Class" />
<variable name="automaticScanningTypeClass" type="Class" />
<import type="de.symeda.sormas.app.component.controls.ControlButtonType" />
</data>

<ScrollView
Expand Down Expand Up @@ -195,6 +196,15 @@

</LinearLayout>
</LinearLayout>
<de.symeda.sormas.app.component.controls.ControlButton
android:id="@+id/pick_gps_coordinates"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/buttonControlMarginBottom"
app:slim="true"
app:iconStart="@drawable/ic_gps_fixed_black_24dp"
app:buttonType="@{ControlButtonType.SECONDARY}"
android:text="@string/action_pick_gps" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand All @@ -217,7 +227,7 @@
app:inputType="numberDecimal"
app:value="@={data.ebsLatLon}" />
</LinearLayout>
<de.symeda.sormas.app.component.controls.ControlDateField
<de.symeda.sormas.app.component.controls.ControlDateTimeField
android:id="@+id/ebs_dateOnset"
style="@style/ControlSingleColumnStyle"
app:required="true"
Expand Down

0 comments on commit a1e5773

Please sign in to comment.