]> git.ktnx.net Git - mobile-ledger.git/commitdiff
fix mismatch in the gap above the last update text
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 18 Sep 2020 16:08:26 +0000 (19:08 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 18 Sep 2020 16:08:26 +0000 (19:08 +0300)
it appears that layout_marginTop works in a Frame, but not in a
ConstraintLayout :(

app/src/main/res/layout/last_update_layout.xml

index e9ddb4852e92455c48276603a79618795d41ac2f..2150affe4ebd840fa0adadb661521dbeefcf81b5 100644 (file)
@@ -21,7 +21,7 @@
     android:id="@+id/last_update_container"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
-    android:layout_marginTop="4dp"
+    android:paddingTop="4dp"
     >
     <TextView
         android:id="@+id/last_update_label"