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.
48 lines
1.9 KiB
XML
48 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
tools:context=".HelperGridActivity">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_welcome_message"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="@dimen/text_size_welcome_message"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
tools:text="@string/welcome_message_test"/>
|
|
|
|
<GridLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintTop_toBottomOf="@id/tv_welcome_message"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
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_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_columnWeight="1"/>
|
|
|
|
<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> |