]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/transaction_list_fragment.xml
fix scroll container height (was goung outside the screen); enable vartical scroll bar
[mobile-ledger.git] / app / src / main / res / layout / transaction_list_fragment.xml
index 19bb72fa3d875a213513c573ccd5f9e05c474dec..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
@@ -47,7 +48,8 @@
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_weight="1"
-            android:text="TextView" />
+            android:text="\?"
+            tools:ignore="HardcodedText" />
     </LinearLayout>
 
     <View
@@ -64,7 +66,6 @@
         android:layout_height="wrap_content"
         android:indeterminate="true"
         android:indeterminateBehavior="cycle"
-        android:progress="40"
         android:progressTint="@color/colorPrimary"
         android:visibility="gone"
         app:layout_constraintEnd_toEndOf="parent"
         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>