]> git.ktnx.net Git - mobile-ledger.git/commitdiff
fix scroll container height (was goung outside the screen); enable vartical scroll bar
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 21 Dec 2018 18:50:16 +0000 (18:50 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Fri, 21 Dec 2018 18:50:16 +0000 (18:50 +0000)
app/src/main/res/layout/transaction_list_fragment.xml

index c871f2ad4213e11c25ad64c9aa10489044b026a2..09f5611e1c9787d82c3b2c87893bcd29e7e010f7 100644 (file)
@@ -22,6 +22,7 @@
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     app:layout_behavior="@string/appbar_scrolling_view_behavior"
+    app:layout_constraintBottom_toBottomOf="parent"
     tools:context=".TransactionListActivity">
 
     <LinearLayout
         android:id="@+id/transaction_swipe"
         android:layout_width="match_parent"
         android:layout_height="0dp"
+        app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintTop_toBottomOf="@+id/transaction_progress_bar">
 
         <android.support.v7.widget.RecyclerView
             android:id="@+id/transaction_root"
             android:layout_width="match_parent"
-            android:layout_height="match_parent" />
+            android:layout_height="match_parent"
+            android:scrollbars="vertical" />
     </android.support.v4.widget.SwipeRefreshLayout>
 </android.support.constraint.ConstraintLayout>