diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-04-17 22:13:00 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-04-17 22:13:00 -0700 |
commit | 552aeb8ed0bcd05c535ed99df6a23ceba050f03a (patch) | |
tree | 831100764f5748f4d89686b5ac1ed5e61bd05131 /res/layout/chat.xml | |
parent | f1c606ed35e8f409c817de8d50727779738e489c (diff) | |
download | dsub-552aeb8ed0bcd05c535ed99df6a23ceba050f03a.tar.gz dsub-552aeb8ed0bcd05c535ed99df6a23ceba050f03a.tar.bz2 dsub-552aeb8ed0bcd05c535ed99df6a23ceba050f03a.zip |
#142 Add pull to refresh to all views
Diffstat (limited to 'res/layout/chat.xml')
-rw-r--r-- | res/layout/chat.xml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/res/layout/chat.xml b/res/layout/chat.xml index 9b8f7d17..f2c1c3fd 100644 --- a/res/layout/chat.xml +++ b/res/layout/chat.xml @@ -7,12 +7,18 @@ <include layout="@layout/tab_progress" /> - <ListView - android:id="@+id/chat_entries" + <android.support.v4.widget.SwipeRefreshLayout + android:id="@+id/refresh_layout" android:layout_width="fill_parent" android:layout_height="0dip" - android:layout_weight="1.0" - android:textFilterEnabled="true" /> + android:layout_weight="1.0"> + + <ListView + android:id="@+id/chat_entries" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:textFilterEnabled="true" /> + </android.support.v4.widget.SwipeRefreshLayout> <LinearLayout android:layout_height="4dip" @@ -32,7 +38,7 @@ android:layout_weight="1" android:autoLink="all" android:hint="@string/chat.send_a_message" - android:inputType="textEmailAddress|textMultiLine" + android:inputType="textEmailAddress|textMultiLine" android:linksClickable="true" android:paddingBottom="10dip" android:paddingTop="10dip" /> |