aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/layout
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-16 18:56:00 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-16 18:56:00 -0600
commitca01b8dc020bdd332286b84a2b9ecb17a286aae1 (patch)
treea6a2fe6af07009dea1bc5f4b8351e696e719f208 /androidApp/src/main/res/layout
parent88d35312f8718ab4379448a1b5aeac2b2db2b944 (diff)
downloadetbsa-trackermap-mobile-ca01b8dc020bdd332286b84a2b9ecb17a286aae1.tar.gz
etbsa-trackermap-mobile-ca01b8dc020bdd332286b84a2b9ecb17a286aae1.tar.bz2
etbsa-trackermap-mobile-ca01b8dc020bdd332286b84a2b9ecb17a286aae1.zip
Added device category icon to unit information and commands views
Diffstat (limited to 'androidApp/src/main/res/layout')
-rw-r--r--androidApp/src/main/res/layout/unit_details_commands.xml3
-rw-r--r--androidApp/src/main/res/layout/unit_details_information.xml3
2 files changed, 4 insertions, 2 deletions
diff --git a/androidApp/src/main/res/layout/unit_details_commands.xml b/androidApp/src/main/res/layout/unit_details_commands.xml
index 01aefb8..c3d69a1 100644
--- a/androidApp/src/main/res/layout/unit_details_commands.xml
+++ b/androidApp/src/main/res/layout/unit_details_commands.xml
@@ -35,9 +35,10 @@
android:textColor="@color/colorPrimaryDark"
android:layout_margin="@dimen/card_padding"
android:layout_marginBottom="@dimen/margin"
+ tools:drawableStart="@drawable/map_default"
app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toTopOf="@id/commandsList"
tools:text="1AAUTO" />
diff --git a/androidApp/src/main/res/layout/unit_details_information.xml b/androidApp/src/main/res/layout/unit_details_information.xml
index cc8bbb7..b935455 100644
--- a/androidApp/src/main/res/layout/unit_details_information.xml
+++ b/androidApp/src/main/res/layout/unit_details_information.xml
@@ -30,6 +30,7 @@
android:id="@+id/detailsLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/padding"
android:orientation="vertical">
<TextView
@@ -37,8 +38,8 @@
style="@style/TextAppearance.AppCompat.Headline"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ tools:drawableStart="@drawable/map_default"
android:textColor="@color/colorPrimaryDark"
- android:layout_marginBottom="@dimen/padding"
tools:text="1AAUTO" />
</LinearLayout>