From 0c8576a60e59f9d7a2fb2044752d10e564237a4f Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Fri, 17 Dec 2021 01:57:23 -0600 Subject: Implemented SwipeLayout using Zerobranch's library --- androidApp/src/main/res/layout/unit_item.xml | 314 ++++++++++++++------------- 1 file changed, 168 insertions(+), 146 deletions(-) (limited to 'androidApp/src/main/res/layout/unit_item.xml') diff --git a/androidApp/src/main/res/layout/unit_item.xml b/androidApp/src/main/res/layout/unit_item.xml index f7ace03..8b6b667 100644 --- a/androidApp/src/main/res/layout/unit_item.xml +++ b/androidApp/src/main/res/layout/unit_item.xml @@ -1,173 +1,195 @@ - - - - - + + + + - - + + + android:layout_height="match_parent" + android:layout_marginHorizontal="8dp" + android:layout_weight="1" + android:text="@string/unit_reports" + android:textColor="@color/colorAccent" + android:textSize="12sp" + style="?borderlessButtonStyle" /> + + - + - + + + android:animateLayoutChanges="true"> - - - - - - + android:layout_marginEnd="5dp" + android:src="@drawable/ic_baseline_fiber_manual_record_24" + app:tint="?android:textColorPrimary" /> + android:layout_toEndOf="@id/statusIcon" + android:visibility="gone" + android:layout_marginEnd="5dp" + android:src="@drawable/ic_baseline_lock_24" /> - - + android:layout_toEndOf="@id/engineStopIcon" + style="@style/TextAppearance.AppCompat.Body2" + tools:text="1AAUTO" /> - - - - - - - - - - - - - - - - - - \ No newline at end of file + android:layout_below="@id/unitName"> + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3