]> git.ktnx.net Git - mobile-ledger.git/commitdiff
profile list editing: move rearrangement handle at the start of the row
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 28 Feb 2019 06:20:47 +0000 (08:20 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 28 Feb 2019 06:20:47 +0000 (08:20 +0200)
app/src/main/res/layout/profile_list_content.xml

index 0f23c761c25fb34d5657550e59ac43c303eeb382..70253f58562bd2588337b903b8fdde170f399dce 100644 (file)
@@ -31,7 +31,7 @@
         android:id="@+id/colorTag"
         android:layout_width="16dp"
         android:layout_height="0dp"
-        android:layout_marginStart="32dp"
+        android:layout_marginStart="40dp"
         android:layout_marginTop="4dp"
         android:layout_marginBottom="4dp"
         android:background="?colorPrimary"
         android:id="@+id/profile_list_rearrange_handle"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
+        android:layout_marginStart="8dp"
         android:layout_weight="9"
         android:background="@drawable/ic_unfold_more_black_24dp"
         android:visibility="gone"
-        android:layout_marginStart="@dimen/activity_horizontal_margin"
         app:layout_constraintBottom_toBottomOf="parent"
-        app:layout_constraintTop_toTopOf="parent"
-        app:layout_constraintStart_toEndOf="@id/colorTag"
-        app:layout_constraintEnd_toStartOf="@id/title"/>
+        app:layout_constraintStart_toStartOf="parent"
+        app:layout_constraintTop_toTopOf="parent" />
 
     <TextView
         android:id="@+id/title"
@@ -77,7 +76,7 @@
         android:text="Profile name"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintEnd_toStartOf="@id/profile_list_edit_button"
-        app:layout_constraintStart_toEndOf="@id/profile_list_rearrange_handle"
+        app:layout_constraintStart_toEndOf="@id/colorTag"
         app:layout_constraintTop_toTopOf="parent"
         tools:ignore="HardcodedText" />