summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2023-12-23 00:52:30 +0100
committerLeonard Kugis <leonard@kug.is>2023-12-23 00:52:30 +0100
commiteab77a885f6cca1d785ca57c4cd9182dc1a898cf (patch)
tree7dba714b870895220d815368d7762212ff10c5eb /app/src/main/res/layout
parent98df413858d1ac577f9c510a9490f382b3f848b4 (diff)
Implemented altitude/speed/jitter parameters
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/fragment_fake_location.xml103
1 files changed, 103 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 5da95e1..47ed7da 100644
--- a/app/src/main/res/layout/fragment_fake_location.xml
+++ b/app/src/main/res/layout/fragment_fake_location.xml
@@ -83,6 +83,109 @@
/>
</RadioGroup>
+ <LinearLayout
+ android:layout_height="match_parent"
+ android:padding="16dp"
+ android:layout_width="match_parent"
+ android:orientation="horizontal"
+ tools:context=".main.MainActivity"
+ >
+
+ <TextView
+ android:id="@+id/fake_location_info_altitude"
+ android:layout_gravity="center_horizontal"
+ android:layout_height="wrap_content"
+ android:layout_width="0dp"
+ android:text="@string/location_altitude"
+ android:lineSpacingExtra="5sp"
+ />
+
+ <EditText
+ android:id="@+id/altitude"
+ android:inputType="numberDecimal"
+ android:layout_width="wrap_content"
+ android:layout_height="24dp"
+ />
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_height="match_parent"
+ android:padding="16dp"
+ android:layout_width="match_parent"
+ android:orientation="horizontal"
+ tools:context=".main.MainActivity"
+ >
+
+ <TextView
+ android:id="@+id/fake_location_info_speed"
+ android:layout_gravity="center_horizontal"
+ android:layout_height="wrap_content"
+ android:layout_width="0dp"
+ android:text="@string/location_speed"
+ android:lineSpacingExtra="5sp"
+ />
+
+ <EditText
+ android:id="@+id/speed"
+ android:inputType="numberDecimal"
+ android:layout_width="wrap_content"
+ android:layout_height="24dp"
+ />
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_height="match_parent"
+ android:padding="16dp"
+ android:layout_width="match_parent"
+ android:orientation="horizontal"
+ tools:context=".main.MainActivity"
+ >
+
+ <TextView
+ android:id="@+id/fake_location_info_jitter"
+ android:layout_gravity="center_horizontal"
+ android:layout_height="wrap_content"
+ android:layout_width="0dp"
+ android:text="@string/location_jitter"
+ android:lineSpacingExtra="5sp"
+ />
+
+ <EditText
+ android:id="@+id/jitter"
+ android:inputType="numberDecimal"
+ android:layout_width="wrap_content"
+ android:layout_height="24dp"
+ />
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_height="match_parent"
+ android:padding="16dp"
+ android:layout_width="match_parent"
+ android:orientation="horizontal"
+ tools:context=".main.MainActivity"
+ >
+
+ <TextView
+ android:id="@+id/fake_location_info_joystick"
+ android:layout_gravity="center_horizontal"
+ android:layout_height="wrap_content"
+ android:layout_width="0dp"
+ android:text="@string/location_joystick"
+ android:lineSpacingExtra="5sp"
+ />
+
+ <Switch
+ android:id="@+id/joystick_enable"
+ android:layout_width="wrap_content"
+ android:layout_height="24dp"
+ android:checked="true"
+ />
+
+ </LinearLayout>
<FrameLayout
android:layout_marginTop="16dp"