diff options
| author | bt <bt@rctt.net> | 2026-06-05 17:50:26 +0200 |
|---|---|---|
| committer | bt <bt@rctt.net> | 2026-06-05 17:50:26 +0200 |
| commit | 9bd4e41d3dc074f76ded28a119f85d1bcee78e3c (patch) | |
| tree | 4589ee5d712cc7a7b2d968e227ab902597bbc7b1 /app/src/main/res | |
| parent | cea9b1101a7197be413060a1b4cdd34a81b67d2f (diff) | |
| download | netmon-9bd4e41d3dc074f76ded28a119f85d1bcee78e3c.tar.gz netmon-9bd4e41d3dc074f76ded28a119f85d1bcee78e3c.zip | |
Add scanner service
Diffstat (limited to 'app/src/main/res')
| -rw-r--r-- | app/src/main/res/layout/activity_main.xml | 6 | ||||
| -rw-r--r-- | app/src/main/res/layout/fragment_main.xml | 14 | ||||
| -rw-r--r-- | app/src/main/res/layout/fragment_scan.xml | 28 | ||||
| -rw-r--r-- | app/src/main/res/menu/nav_menu.xml | 2 |
4 files changed, 31 insertions, 19 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/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_scan.xml b/app/src/main/res/layout/fragment_scan.xml new file mode 100644 index 0000000..ee91e17 --- /dev/null +++ b/app/src/main/res/layout/fragment_scan.xml @@ -0,0 +1,28 @@ +<?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"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + + <Button + android:id="@+id/button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:onClick="startGetCellService" + android:text="Start" /> + + <Button + android:id="@+id/button2" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:onClick="stopGetCellService" + android:text="Stop" /> + </LinearLayout> + +</FrameLayout>
\ No newline at end of file diff --git a/app/src/main/res/menu/nav_menu.xml b/app/src/main/res/menu/nav_menu.xml index 5c42815..a4332ae 100644 --- a/app/src/main/res/menu/nav_menu.xml +++ b/app/src/main/res/menu/nav_menu.xml @@ -3,7 +3,7 @@ <item android:id="@+id/main" android:icon="@drawable/rounded_bar_chart_24" - android:title="Main" /> + android:title="Scan" /> <item android:id="@+id/log" android:icon="@drawable/outline_database_24" |
