aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/fragment_conversation.xml
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2015-08-12 23:01:37 +0200
committersteckbrief <steckbrief@chefmail.de>2015-08-12 23:01:37 +0200
commit79c585144d0967a2e5d4b1cfb6c486332d0b0cfb (patch)
tree32e964364b173e81e89603b770969de7903e3047 /src/main/res/layout/fragment_conversation.xml
parent0ee1992da2014d51e42c008b2ae39a6e1e033d0b (diff)
- Introduction of SwipeRefreshLayout for conversation view
- OnScrollListener for ListView of messages removed and replaced with swipe refresh - Loading of messages now possible even if no message is present in conversation
Diffstat (limited to 'src/main/res/layout/fragment_conversation.xml')
-rw-r--r--src/main/res/layout/fragment_conversation.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml
index 3fd80aa2..321055e9 100644
--- a/src/main/res/layout/fragment_conversation.xml
+++ b/src/main/res/layout/fragment_conversation.xml
@@ -5,6 +5,13 @@
android:layout_height="match_parent"
android:background="@color/grey200" >
+ <android.support.v4.widget.SwipeRefreshLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/snackbar"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:id="@+id/swipe_refresh_container">
<ListView
android:id="@+id/messages_view"
android:layout_width="fill_parent"
@@ -20,6 +27,7 @@
android:transcriptMode="normal"
tools:listitem="@layout/message_sent" >
</ListView>
+ </android.support.v4.widget.SwipeRefreshLayout>
<RelativeLayout
android:id="@+id/textsend"