From 81a0b6689e94b8a10ebf68dccbb94a1f11507487 Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Fri, 14 Jan 2022 03:02:41 -0600 Subject: Pass device name to details activity and redesigned commands fragment --- .../src/main/res/layout/unit_details_commands.xml | 60 ++++++++++++++++------ androidApp/src/main/res/values-es-rMX/strings.xml | 7 ++- androidApp/src/main/res/values/strings.xml | 9 +++- 3 files changed, 58 insertions(+), 18 deletions(-) (limited to 'androidApp/src/main/res') diff --git a/androidApp/src/main/res/layout/unit_details_commands.xml b/androidApp/src/main/res/layout/unit_details_commands.xml index 6e1d7b2..6b554cc 100644 --- a/androidApp/src/main/res/layout/unit_details_commands.xml +++ b/androidApp/src/main/res/layout/unit_details_commands.xml @@ -2,6 +2,7 @@ @@ -12,29 +13,56 @@ app:cardCornerRadius="@dimen/card_border_radius" app:cardElevation="@dimen/card_elevation" app:cardUseCompatPadding="true" - app:layout_constraintBottom_toTopOf="@id/sendCommandButton" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> - + android:orientation="vertical"> - + - + + + + + + + \ No newline at end of file diff --git a/androidApp/src/main/res/values-es-rMX/strings.xml b/androidApp/src/main/res/values-es-rMX/strings.xml index 0b4f4b3..1916f26 100644 --- a/androidApp/src/main/res/values-es-rMX/strings.xml +++ b/androidApp/src/main/res/values-es-rMX/strings.xml @@ -1,6 +1,8 @@ - TrackerMap + + OK + Cancel Nombre de usuario @@ -71,6 +73,9 @@ Enviar comando + + ¿Está seguro de que desea enviar el comando a la unidad %1$s? + Posiciones diff --git a/androidApp/src/main/res/values/strings.xml b/androidApp/src/main/res/values/strings.xml index 268f5d5..e3a31e0 100644 --- a/androidApp/src/main/res/values/strings.xml +++ b/androidApp/src/main/res/values/strings.xml @@ -1,6 +1,6 @@ - TrackerMap + TrackerMap https://trackermap.mx/ @@ -23,6 +23,10 @@ default Default + + OK + Cancel + Username Password @@ -92,6 +96,9 @@ Send Command + + Are you sure you want to send the command to device %1$s? + Positions -- cgit v1.2.3