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
commit62bd831586fee041a830366c97b07d2cdb52a1b6 (patch)
treea6a2fe6af07009dea1bc5f4b8351e696e719f208 /androidApp/src/main/res/layout
parentf133dc96d4072c3bf4f9794b000b1e0ab946f96b (diff)
downloadetbsa-trackermap-mobile-62bd831586fee041a830366c97b07d2cdb52a1b6.tar.gz
etbsa-trackermap-mobile-62bd831586fee041a830366c97b07d2cdb52a1b6.tar.bz2
etbsa-trackermap-mobile-62bd831586fee041a830366c97b07d2cdb52a1b6.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>