aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/layout
diff options
context:
space:
mode:
authorIsidro Henoch <imhenoch@protonmail.com>2021-12-16 04:01:24 -0600
committerIsidro Henoch <imhenoch@protonmail.com>2021-12-16 04:01:24 -0600
commit10baf799882d7c97735334bc12b2bb987155514c (patch)
tree8f2aa0761a38a6d21f04023c78c64b9718877d2b /androidApp/src/main/res/layout
parent323e94c3a3852c63ebe00e8448f3611b59b39b97 (diff)
downloadetbsa-trackermap-mobile-10baf799882d7c97735334bc12b2bb987155514c.tar.gz
etbsa-trackermap-mobile-10baf799882d7c97735334bc12b2bb987155514c.tar.bz2
etbsa-trackermap-mobile-10baf799882d7c97735334bc12b2bb987155514c.zip
Adds an ugly table to show details
Diffstat (limited to 'androidApp/src/main/res/layout')
-rw-r--r--androidApp/src/main/res/layout/unit_details_information.xml65
1 files changed, 18 insertions, 47 deletions
diff --git a/androidApp/src/main/res/layout/unit_details_information.xml b/androidApp/src/main/res/layout/unit_details_information.xml
index dae2056..f4b6fae 100644
--- a/androidApp/src/main/res/layout/unit_details_information.xml
+++ b/androidApp/src/main/res/layout/unit_details_information.xml
@@ -22,60 +22,31 @@
android:orientation="vertical">
<TextView
- android:id="@+id/deviceName"
+ android:id="@+id/nameDetail"
+ style="@style/TextAppearance.AppCompat.Headline"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/colorPrimaryDark"
- android:textSize="26dp"
tools:text="1AAUTO" />
- <TextView
- android:id="@+id/driverDetail"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/colorPrimaryDark"
- android:textSize="18dp"
- tools:text="Javier Zavala" />
-
- <TextView
- android:id="@+id/speedDetail"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/colorPrimaryDark"
- android:textSize="18dp"
- tools:text="0Km/h - Stopped" />
-
- <TextView
- android:id="@+id/addressDetail"
+ <TableLayout
+ android:id="@+id/informationTable"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:textColor="@color/colorPrimaryDark"
- android:textSize="18dp"
- tools:text="404 Av. Arboledas, Celaya, Gto." />
-
- <TextView
- android:id="@+id/latitudeDetail"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/colorPrimaryDark"
- android:textSize="18dp"
- tools:text="20.32958356" />
-
- <TextView
- android:id="@+id/longitudeDetail"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/colorPrimaryDark"
- android:textSize="18dp"
- tools:text="-101.38659274" />
-
- <TextView
- android:id="@+id/protocolDetail"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/colorPrimaryDark"
- android:textSize="18dp"
- tools:text="osmand" />
+ android:stretchColumns="*">
+ <TableRow
+ android:background="@color/colorPrimary">
+ <TextView
+ android:text="@string/key"
+ android:textColor="@color/background"
+ android:paddingHorizontal="@dimen/padding"/>
+
+ <TextView
+ android:text="@string/value"
+ android:textColor="@color/background"
+ android:paddingHorizontal="@dimen/padding"/>
+ </TableRow>
+ </TableLayout>
</LinearLayout>