summaryrefslogtreecommitdiffstats
path: root/app/src/main/res
diff options
context:
space:
mode:
authorbt <bt@rctt.net>2026-05-26 23:13:08 +0200
committerbt <bt@rctt.net>2026-05-26 23:19:53 +0200
commite787e83e781c999c0555e1db5e99ac5685a84536 (patch)
treeaceb345ceb4db66c9f1db99085f215b7a3021ef2 /app/src/main/res
parente81ce6af3d97a51e51f676f32e739d0f174323c7 (diff)
downloadnetmon-e787e83e781c999c0555e1db5e99ac5685a84536.tar.gz
netmon-e787e83e781c999c0555e1db5e99ac5685a84536.zip
Load netmonitor CSV database and show cells descriptions
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/cell_view.xml111
1 files changed, 61 insertions, 50 deletions
diff --git a/app/src/main/res/layout/cell_view.xml b/app/src/main/res/layout/cell_view.xml
index 7361930..916f8cc 100644
--- a/app/src/main/res/layout/cell_view.xml
+++ b/app/src/main/res/layout/cell_view.xml
@@ -13,73 +13,84 @@
<LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
+ android:layout_height="match_parent"
+ android:orientation="vertical">
<LinearLayout
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginEnd="10dp"
- android:orientation="vertical">
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Type" />
+ android:orientation="horizontal">
- <TextView
+ <LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="Id" />
+ android:layout_marginEnd="10dp"
+ android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Power" />
-
- </LinearLayout>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Type" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Id" />
- <TextView
- android:id="@+id/type"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="type" />
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Power" />
- <TextView
- android:id="@+id/id"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="id" />
+ </LinearLayout>
- <TextView
- android:id="@+id/power"
+ <LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="power" />
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/type"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="type" />
+
+ <TextView
+ android:id="@+id/id"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="id" />
+
+ <TextView
+ android:id="@+id/power"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="power" />
+
+ </LinearLayout>
+
+ <com.androidplot.xy.XYPlot
+ android:id="@+id/power_chart"
+ style="@style/APDefacto.Dark"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginHorizontal="10dp"
+ ap:graphHeightMode="fill"
+ ap:graphMarginBottom="-20dp"
+ ap:graphMarginLeft="-20dp"
+ ap:graphMarginRight="10dp"
+ ap:graphMarginTop="0dp"
+ ap:graphWidthMode="fill"
+ ap:legendVisible="false"
+ ap:lineLabels="" />
</LinearLayout>
- <com.androidplot.xy.XYPlot
- style="@style/APDefacto.Dark"
- android:id="@+id/power_chart"
+ <TextView
+ android:id="@+id/desc"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginHorizontal="10dp"
- ap:graphHeightMode="fill"
- ap:graphWidthMode="fill"
- ap:legendVisible="false"
- ap:graphMarginTop="0dp"
- ap:graphMarginBottom="-20dp"
- ap:graphMarginLeft="-20dp"
- ap:graphMarginRight="10dp"
- ap:lineLabels=""
- />
-
+ android:layout_height="wrap_content"
+ android:text="desc" />
</LinearLayout>
<View