aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'androidApp/src/main/res/layout')
-rw-r--r--androidApp/src/main/res/layout/unit_item.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/androidApp/src/main/res/layout/unit_item.xml b/androidApp/src/main/res/layout/unit_item.xml
index 833e56b..cccdd69 100644
--- a/androidApp/src/main/res/layout/unit_item.xml
+++ b/androidApp/src/main/res/layout/unit_item.xml
@@ -65,10 +65,9 @@
<ImageView
android:id="@+id/unitIcon"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:padding="@dimen/card_icon_padding"
- android:paddingStart="0dp"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:layout_margin="@dimen/card_icon_margin"
android:src="@drawable/map_default"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@@ -79,6 +78,7 @@
android:id="@+id/titleLayout"
android:layout_width="0dp"
android:layout_height="wrap_content"
+ android:layout_marginStart="@dimen/card_icon_margin"
android:gravity="center_vertical"
android:orientation="horizontal"
app:layout_constraintStart_toEndOf="@id/unitIcon"
@@ -116,6 +116,7 @@
android:id="@+id/gridLayout"
android:layout_width="0dp"
android:layout_height="wrap_content"
+ android:layout_marginStart="@dimen/card_icon_margin"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/unitIcon"
app:layout_constraintTop_toBottomOf="@id/titleLayout"