summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-30 14:45:23 +0300
committerAndrew Dolgov <[email protected]>2011-11-30 14:45:23 +0300
commit24e092d190df6fafbdf5619656ef370ccfbea968 (patch)
tree3ec183755748105d8a30ddeb874da36553b426d1 /res/layout
parent918235592ada25cab9da734b109921dcd7e87a85 (diff)
automatically load new headlines when scrolled to the bottom
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/headlines_row_loadmore.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/res/layout/headlines_row_loadmore.xml b/res/layout/headlines_row_loadmore.xml
new file mode 100644
index 00000000..26e21ee5
--- /dev/null
+++ b/res/layout/headlines_row_loadmore.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/headlines_row_loadmore"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="?headlineNormalBackground"
+ android:gravity="center_vertical"
+ android:orientation="horizontal" >
+
+ <LinearLayout
+ android:id="@+id/loadmore_content"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
+ android:layout_weight="1"
+ android:orientation="horizontal"
+ android:padding="10dp" >
+
+ <ProgressBar
+ android:id="@+id/loadmore_progress"
+ style="?android:attr/progressBarStyleSmall"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ <TextView
+ android:paddingLeft="6dp"
+ android:id="@+id/loadmore_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Loading, please wait..." />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file