From 3e15173c529b2b307e813288f4728f5110fb5a78 Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Tue, 4 Jan 2022 22:37:36 -0600 Subject: Implemented formatSpeed, redesigned UnitInformationFragment, added button to open device location in map, minor UI tweaks and added translations. --- .../main/res/layout/unit_details_information.xml | 22 ++-------------- androidApp/src/main/res/values-es-rMX/strings.xml | 29 +++++++++++++++++++--- androidApp/src/main/res/values/dimen.xml | 2 +- androidApp/src/main/res/values/strings.xml | 21 ++++++++++++---- 4 files changed, 44 insertions(+), 30 deletions(-) (limited to 'androidApp/src/main/res') diff --git a/androidApp/src/main/res/layout/unit_details_information.xml b/androidApp/src/main/res/layout/unit_details_information.xml index f4b6fae..24f792c 100644 --- a/androidApp/src/main/res/layout/unit_details_information.xml +++ b/androidApp/src/main/res/layout/unit_details_information.xml @@ -17,6 +17,7 @@ app:contentPadding="@dimen/card_padding"> @@ -27,27 +28,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="@color/colorPrimaryDark" + android:layout_marginBottom="@dimen/padding" tools:text="1AAUTO" /> - - - - - - - - - diff --git a/androidApp/src/main/res/values-es-rMX/strings.xml b/androidApp/src/main/res/values-es-rMX/strings.xml index 69ca1a8..7397599 100644 --- a/androidApp/src/main/res/values-es-rMX/strings.xml +++ b/androidApp/src/main/res/values-es-rMX/strings.xml @@ -22,13 +22,34 @@ Dirección de la última posición Fecha y hora de la última posición - %1$d km/h - + Detalles Reportes Comandos Escribe para buscar - Key - Value + + Contacto + Velocidad + Dirección + Latitud + Longitud + Fecha y hora + Protocolo + Abrir ubicación en navegador + + + Enviar comando + + + Posiciones + Eventos + Paradas + Día + Semana + Mes + Periodo + Seleccionar + Evento + Fecha y hora \ No newline at end of file diff --git a/androidApp/src/main/res/values/dimen.xml b/androidApp/src/main/res/values/dimen.xml index 18fd0eb..283f476 100644 --- a/androidApp/src/main/res/values/dimen.xml +++ b/androidApp/src/main/res/values/dimen.xml @@ -15,6 +15,6 @@ 4dp - 16dp + 12dp 8dp \ No newline at end of file diff --git a/androidApp/src/main/res/values/strings.xml b/androidApp/src/main/res/values/strings.xml index 453bc16..b50d096 100644 --- a/androidApp/src/main/res/values/strings.xml +++ b/androidApp/src/main/res/values/strings.xml @@ -2,6 +2,11 @@ TrackerMap + + + https://www.google.com/maps/place/%1$f,%2$f?z=19 + + Username Password @@ -22,17 +27,23 @@ Last position address Last position datetime - %1$d km/h - Details Reports Commands Type to search - - Key - Value + + Contact + Speed + Address + Latitude + Longitude + Datetime + Protocol + Open location in browser + + Send Command -- cgit v1.2.3