]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/transaction_list_fragment.xml
unneeded id
[mobile-ledger.git] / app / src / main / res / layout / transaction_list_fragment.xml
index bc9ad5994a022e697664e997b62c880086e5c16f..08b9b06b04f48209483330de250d2144947709f1 100644 (file)
@@ -20,8 +20,9 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:id="@+id/transaction_list"
     android:layout_width="match_parent"
-    android:layout_height="wrap_content"
+    android:layout_height="match_parent"
     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>
 
     <ProgressBar
@@ -57,9 +59,8 @@
         android:layout_height="wrap_content"
         android:indeterminate="true"
         android:indeterminateBehavior="cycle"
-        android:progress="40"
         android:progressTint="@color/colorPrimary"
-        android:visibility="gone"
+        android:visibility="invisible"
         app:layout_constraintEnd_toEndOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         app:layout_constraintTop_toBottomOf="@+id/last_update_row" />
         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>
+
+    <View
+        android:layout_width="0dp"
+        android:layout_height="4dp"
+        android:background="@drawable/drop_shadow"
+        app:layout_constraintTop_toBottomOf="@+id/last_update_row" />
 </android.support.constraint.ConstraintLayout>