diff options
Diffstat (limited to 'src/plugins/android.codeutils/templates/activity_samples/endless_list_pull_to_refresh/listheader.xml')
-rw-r--r-- | src/plugins/android.codeutils/templates/activity_samples/endless_list_pull_to_refresh/listheader.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/plugins/android.codeutils/templates/activity_samples/endless_list_pull_to_refresh/listheader.xml b/src/plugins/android.codeutils/templates/activity_samples/endless_list_pull_to_refresh/listheader.xml new file mode 100644 index 0000000..3f3605b --- /dev/null +++ b/src/plugins/android.codeutils/templates/activity_samples/endless_list_pull_to_refresh/listheader.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_horizontal"
+ android:orientation="horizontal"
+ android:minHeight="44dp"
+ android:background="@android:drawable/title_bar">
+
+ <ProgressBar
+ android:id="@+id/progressBar"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:layout_gravity="center_vertical" />
+
+ <TextView
+ android:id="@+id/lastUpdated"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:maxLines="2"
+ android:textColor="@android:color/primary_text_dark"
+ android:textSize="16dp" />
+
+</LinearLayout>
\ No newline at end of file |