summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorbt <bt@rctt.net>2026-06-05 17:50:26 +0200
committerbt <bt@rctt.net>2026-06-07 21:41:04 +0200
commit39dc7341c8f19ead0912e036fbf730b6db06b147 (patch)
tree1d160fcf222ad640c45b2db905f392633936a460 /app/src/main/res/layout
parentcea9b1101a7197be413060a1b4cdd34a81b67d2f (diff)
downloadnetmon-39dc7341c8f19ead0912e036fbf730b6db06b147.tar.gz
netmon-39dc7341c8f19ead0912e036fbf730b6db06b147.zip
Scanner UI
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_main.xml6
-rw-r--r--app/src/main/res/layout/cell_view.xml17
-rw-r--r--app/src/main/res/layout/fragment_main.xml14
-rw-r--r--app/src/main/res/layout/fragment_map.xml9
-rw-r--r--app/src/main/res/layout/fragment_scan.xml50
5 files changed, 70 insertions, 26 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index c78970c..221d2e9 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -2,6 +2,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/test"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
@@ -11,10 +12,7 @@
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_above="@+id/bottomNav" >
-
- </FrameLayout>
-
+ android:layout_above="@+id/bottomNav" />
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottomNav"
diff --git a/app/src/main/res/layout/cell_view.xml b/app/src/main/res/layout/cell_view.xml
index 916f8cc..08b653d 100644
--- a/app/src/main/res/layout/cell_view.xml
+++ b/app/src/main/res/layout/cell_view.xml
@@ -35,7 +35,12 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Id" />
+ android:text="LAC" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="CID" />
<TextView
android:layout_width="wrap_content"
@@ -56,10 +61,16 @@
android:text="type" />
<TextView
- android:id="@+id/id"
+ android:id="@+id/lac"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="lac" />
+
+ <TextView
+ android:id="@+id/cid"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="id" />
+ android:text="cid" />
<TextView
android:id="@+id/power"
diff --git a/app/src/main/res/layout/fragment_main.xml b/app/src/main/res/layout/fragment_main.xml
deleted file mode 100644
index 366cbbe..0000000
--- a/app/src/main/res/layout/fragment_main.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<FrameLayout 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"
- tools:context=".MainFragment">
-
- <!-- TODO: Update blank fragment layout -->
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="@string/hello_blank_fragment" />
-
-</FrameLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_map.xml b/app/src/main/res/layout/fragment_map.xml
index 3ebc6c4..4639ec3 100644
--- a/app/src/main/res/layout/fragment_map.xml
+++ b/app/src/main/res/layout/fragment_map.xml
@@ -5,10 +5,9 @@
android:layout_height="match_parent"
tools:context=".MapFragment">
- <!-- TODO: Update blank fragment layout -->
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="MAP" />
+ <org.osmdroid.views.MapView
+ android:id="@+id/map"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
</FrameLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_scan.xml b/app/src/main/res/layout/fragment_scan.xml
new file mode 100644
index 0000000..a18ef59
--- /dev/null
+++ b/app/src/main/res/layout/fragment_scan.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout 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"
+ android:layout_marginHorizontal="5dp"
+ tools:context=".ScanFragment">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <ScrollView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight=".70">
+
+ <LinearLayout
+ android:id="@+id/cells_list"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ </LinearLayout>
+ </ScrollView>
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:layout_marginBottom="20dp"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/start_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="10dp"
+ android:text="Start" />
+
+ <Button
+ android:id="@+id/stop_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Stop" />
+ </LinearLayout>
+ </LinearLayout>
+
+</FrameLayout> \ No newline at end of file