[ShareLocation] Added Settings to change values for location updates
Now the requested frequency and the priority of location updates can be selected in a newly integrated SettingsActivity which can be extended for future use.
This commit is contained in:
@@ -16,26 +16,33 @@
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
tools:text="@string/welcome_message_test"/>
|
||||
|
||||
<LinearLayout
|
||||
<GridLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintTop_toBottomOf="@id/tv_welcome_message"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:weightSum="2">
|
||||
android:columnCount="2">
|
||||
|
||||
<include layout="@layout/helper_group_tile_item"
|
||||
android:id="@+id/tile_sleep_timer"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_columnWeight="1"/>
|
||||
|
||||
<include layout="@layout/helper_group_tile_item"
|
||||
android:id="@+id/tile_share_location"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"/>
|
||||
android:layout_columnWeight="1"/>
|
||||
|
||||
</LinearLayout>
|
||||
<include layout="@layout/helper_group_tile_item"
|
||||
android:id="@+id/tile_settings"
|
||||
android:layout_margin="10dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_columnWeight="1"/>
|
||||
|
||||
</GridLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user