summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/cell_view.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/cell_view.xml')
-rw-r--r--app/src/main/res/layout/cell_view.xml88
1 files changed, 71 insertions, 17 deletions
diff --git a/app/src/main/res/layout/cell_view.xml b/app/src/main/res/layout/cell_view.xml
index 4b58958..7361930 100644
--- a/app/src/main/res/layout/cell_view.xml
+++ b/app/src/main/res/layout/cell_view.xml
@@ -1,32 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:ap="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ tools:ignore="HardcodedText">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
- <TextView
- android:id="@+id/type"
- android:layout_width="wrap_content"
+ <LinearLayout
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="TextView" />
+ android:orientation="horizontal">
- <TextView
- android:id="@+id/id"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="TextView" />
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="10dp"
+ android:orientation="vertical">
- <TextView
- android:id="@+id/power"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="TextView" />
+ <TextView
+ 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="Id" />
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Power" />
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ 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
+ style="@style/APDefacto.Dark"
+ android:id="@+id/power_chart"
+ 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=""
+ />
+
+ </LinearLayout>
<View
android:id="@+id/divider2"