diff options
author | Leonard Kugis <leonard@kug.is> | 2024-01-02 17:53:12 +0100 |
---|---|---|
committer | Leonard Kugis <leonard@kug.is> | 2024-01-02 17:53:12 +0100 |
commit | 5db0bdfdf62ae0915b587399a0ff4ce53bca813b (patch) | |
tree | 538a18ce0adbf6e600ee77a48e51d8c67649b0c6 /app/src/main/res | |
parent | 298dff2a877680e928b37e3a1336dc7d7aa52dfb (diff) |
Implemented route mode
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_fake_location.xml | 40 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 11 |
2 files changed, 50 insertions, 1 deletions
diff --git a/app/src/main/res/layout/fragment_fake_location.xml b/app/src/main/res/layout/fragment_fake_location.xml index 841ee56..d9f8a08 100644 --- a/app/src/main/res/layout/fragment_fake_location.xml +++ b/app/src/main/res/layout/fragment_fake_location.xml @@ -82,6 +82,14 @@ android:text="@string/location_use_specific_location" android:textSize="14sp" /> + + <foundation.e.advancedprivacy.common.RightRadioButton + android:id="@+id/radio_use_route" + android:layout_height="52dp" + android:layout_width="match_parent" + android:text="@string/location_use_route" + android:textSize="14sp" + /> </RadioGroup> <com.google.android.material.textfield.TextInputLayout @@ -141,6 +149,38 @@ /> </com.google.android.material.textfield.TextInputLayout> + <Button + android:id="@+id/button_location_route_path_select" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/location_route_path_select" /> + + <TextView + android:id="@+id/location_route_path" + android:layout_gravity="center_horizontal" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:text="@string/location_route_path" + android:lineSpacingExtra="5sp" + /> + + <CheckBox android:id="@+id/checkbox_route_loop" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/location_route_loop" /> + + <Button + android:id="@+id/button_location_route_start" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/location_route_start" /> + + <Button + android:id="@+id/button_location_route_stop" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/location_route_stop" /> + <FrameLayout android:layout_marginTop="16dp" android:layout_height="220dp" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index fb64b9d..2379ab9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -61,6 +61,7 @@ <string name="dashboard_location_subtitle_off" weblate_ctx="home-2">Real geolocation</string> <string name="dashboard_location_subtitle_specific">Specific fake geolocation</string> <string name="dashboard_location_subtitle_random">Random fake geolocation</string> + <string name="dashboard_location_subtitle_route">Walking fake route</string> <string name="dashboard_internet_activity_privacy_title" weblate_ctx="home-2 ">Manage my Internet address</string> <string name="dashboard_internet_activity_privacy_subtitle_off" weblate_ctx="home-2">Real IP address exposed</string> <string name="dashboard_internet_activity_privacy_subtitle_on">Real IP address hidden</string> @@ -84,14 +85,22 @@ <string name="location_title" weblate_ctx="location-1">Manage my location</string> <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 [km/h]</string> + <string name="location_speed">Speed [m/s]</string> <string name="location_jitter">Jitter [m]</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> + <string name="location_use_route" weblate_ctx="location-1">Walk specific route</string> <string name="location_hint_longitude" weblate_ctx="location-2">Longitude</string> <string name="location_hint_latitude" weblate_ctx="location-2">Latitude</string> + <string name="location_error_bounds">Value out of bounds</string> <string name="location_input_error">Invalid coordinates</string> + <string name="location_route_path_select">Choose route...</string> + <string name="location_route_path_select_picker">Select route JSON</string> + <string name="location_route_path">No route selected</string> + <string name="location_route_loop">Loop route</string> + <string name="location_route_start">Start route</string> + <string name="location_route_stop">Stop route</string> <!-- Trackers --> <string name="trackers_title" weblate_ctx="trackers-1">Manage apps\' trackers</string> |