summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/fragment_fake_location.xml76
-rw-r--r--app/src/main/res/values/strings.xml4
2 files changed, 80 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_fake_location.xml b/app/src/main/res/layout/fragment_fake_location.xml
index d9f8a08..c946d5c 100644
--- a/app/src/main/res/layout/fragment_fake_location.xml
+++ b/app/src/main/res/layout/fragment_fake_location.xml
@@ -132,6 +132,25 @@
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
+ android:id="@+id/textlayout_bearing"
+ android:hint="@string/location_bearing"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginTop="16dp"
+ app:endIconDrawable="@drawable/ic_valid"
+ app:endIconMode="custom"
+ app:endIconTint="@color/green_valid"
+ >
+ <com.google.android.material.textfield.TextInputEditText
+ android:id="@+id/edittext_bearing"
+ android:inputType="numberDecimal"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ />
+ </com.google.android.material.textfield.TextInputLayout>
+
+ <com.google.android.material.textfield.TextInputLayout
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:id="@+id/textlayout_jitter"
android:hint="@string/location_jitter"
android:layout_height="wrap_content"
@@ -149,6 +168,63 @@
/>
</com.google.android.material.textfield.TextInputLayout>
+ <com.google.android.material.textfield.TextInputLayout
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
+ android:id="@+id/textlayout_jitter_altitude"
+ android:hint="@string/location_jitter_altitude"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginTop="16dp"
+ app:endIconDrawable="@drawable/ic_valid"
+ app:endIconMode="custom"
+ app:endIconTint="@color/green_valid"
+ >
+ <com.google.android.material.textfield.TextInputEditText
+ android:id="@+id/edittext_jitter_altitude"
+ android:inputType="numberDecimal"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ />
+ </com.google.android.material.textfield.TextInputLayout>
+
+ <com.google.android.material.textfield.TextInputLayout
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
+ android:id="@+id/textlayout_jitter_speed"
+ android:hint="@string/location_jitter_speed"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginTop="16dp"
+ app:endIconDrawable="@drawable/ic_valid"
+ app:endIconMode="custom"
+ app:endIconTint="@color/green_valid"
+ >
+ <com.google.android.material.textfield.TextInputEditText
+ android:id="@+id/edittext_jitter_speed"
+ android:inputType="numberDecimal"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ />
+ </com.google.android.material.textfield.TextInputLayout>
+
+ <com.google.android.material.textfield.TextInputLayout
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
+ android:id="@+id/textlayout_jitter_bearing"
+ android:hint="@string/location_jitter_bearing"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_marginTop="16dp"
+ app:endIconDrawable="@drawable/ic_valid"
+ app:endIconMode="custom"
+ app:endIconTint="@color/green_valid"
+ >
+ <com.google.android.material.textfield.TextInputEditText
+ android:id="@+id/edittext_jitter_bearing"
+ android:inputType="numberDecimal"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ />
+ </com.google.android.material.textfield.TextInputLayout>
+
<Button
android:id="@+id/button_location_route_path_select"
android:layout_width="match_parent"
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 638f157..3b63984 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -86,7 +86,11 @@
<string name="location_info" weblate_ctx="location-1">Your location can reveal a lot about yourself or your activities.\n\nManage my location enables you to use a fake location instead of your real position. This way, your real location isn\'t shared with applications that might be snooping too much.</string>
<string name="location_altitude">Altitude [m]</string>
<string name="location_speed">Speed [m/s]</string>
+ <string name="location_bearing">Bearing [deg]</string>
<string name="location_jitter">Jitter [m]</string>
+ <string name="location_jitter_altitude">Altitude jitter [m]</string>
+ <string name="location_jitter_speed">Speed jitter [m/s]</string>
+ <string name="location_jitter_bearing">Bearing jitter [deg]</string>
<string name="location_use_real_location" weblate_ctx="location-1">Use my real location</string>
<string name="location_use_random_location" weblate_ctx="location-1">Use a random plausible location</string>
<string name="location_use_specific_location" weblate_ctx="location-1">Use a specific location</string>