diff options
Diffstat (limited to 'app/src/main/res')
| -rw-r--r-- | app/src/main/res/layout/cell_view.xml | 111 |
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 |
