diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-01-15 02:03:33 -0600 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-01-15 02:03:33 -0600 |
commit | d16483ddb5f9989315db95fe2d70747c04ebc657 (patch) | |
tree | 7e26c2b2ecd961a6f470fe45d3c4b937a4492bec /androidApp/src/main/res/layout | |
parent | a646440e5384c5adb9914211666fcc776cf87567 (diff) | |
download | etbsa-trackermap-mobile-d16483ddb5f9989315db95fe2d70747c04ebc657.tar.gz etbsa-trackermap-mobile-d16483ddb5f9989315db95fe2d70747c04ebc657.tar.bz2 etbsa-trackermap-mobile-d16483ddb5f9989315db95fe2d70747c04ebc657.zip |
Fixed size of unit card icons to 40dp
Diffstat (limited to 'androidApp/src/main/res/layout')
-rw-r--r-- | androidApp/src/main/res/layout/unit_item.xml | 9 |
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" |