diff options
author | Jelena Petrovic <jelenapetrovic.7119@gmail.com> | 2022-12-08 02:56:41 +0100 |
---|---|---|
committer | Jelena Petrovic <jelenapetrovic.7119@gmail.com> | 2022-12-08 02:56:41 +0100 |
commit | 3ddec81be8cd828115ff3dfa8180a9440995a6fe (patch) | |
tree | c8a1d9f49c1cc1848de6c08781e773722ac6799b /Client/BrzoDoLokacije/app/src/main/res/layout | |
parent | 3ea82a33409b1f6a6c1cec19b11648e3f15ea625 (diff) |
Resen problem refresha kada treba da se ucita prva poruka #80
Diffstat (limited to 'Client/BrzoDoLokacije/app/src/main/res/layout')
-rw-r--r-- | Client/BrzoDoLokacije/app/src/main/res/layout/activity_chat.xml | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/Client/BrzoDoLokacije/app/src/main/res/layout/activity_chat.xml b/Client/BrzoDoLokacije/app/src/main/res/layout/activity_chat.xml index 0b4a589..9815ce1 100644 --- a/Client/BrzoDoLokacije/app/src/main/res/layout/activity_chat.xml +++ b/Client/BrzoDoLokacije/app/src/main/res/layout/activity_chat.xml @@ -61,23 +61,27 @@ <androidx.swiperefreshlayout.widget.SwipeRefreshLayout android:id="@+id/swipeContainer" android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_marginTop="8dp" + android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintTop_toBottomOf="@+id/llHeader" - app:layout_constraintVertical_bias="1.0" - tools:layout_editor_absoluteX="-27dp"> + app:layout_constraintTop_toBottomOf="@id/llHeader" + app:layout_constraintVertical_bias="0.0" + tools:layout_editor_absoluteX="0dp"> - <androidx.recyclerview.widget.RecyclerView - android:id="@+id/rvMain" + <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" - android:layout_height="wrap_content" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent"> + android:layout_height="match_parent"> - </androidx.recyclerview.widget.RecyclerView> + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/rvMain" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + </androidx.recyclerview.widget.RecyclerView> + </androidx.constraintlayout.widget.ConstraintLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout> + </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |