summaryrefslogtreecommitdiff
path: root/res/layout/article_pager.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-16 22:00:59 +0400
committerAndrew Dolgov <[email protected]>2013-04-16 22:00:59 +0400
commitf10c37563ab957f60d70e4c72ea46b8bf95e114d (patch)
tree015164f4c6e62bc803cff418ed8d9c8c0625d04b /res/layout/article_pager.xml
parent5b76e9c2abd8820d6d4fd55dd1a99e977144cb8a (diff)
integrate viewpagerindicator to display feed reading progress
Diffstat (limited to 'res/layout/article_pager.xml')
-rw-r--r--res/layout/article_pager.xml25
1 files changed, 19 insertions, 6 deletions
diff --git a/res/layout/article_pager.xml b/res/layout/article_pager.xml
index 7647cce7..495eac4b 100644
--- a/res/layout/article_pager.xml
+++ b/res/layout/article_pager.xml
@@ -1,9 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/article_pager_container"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" >
-<android.support.v4.view.ViewPager
-xmlns:android="http://schemas.android.com/apk/res/android"
-android:layout_width="fill_parent"
-android:layout_height="fill_parent"
-android:id="@+id/article_pager">
+ <android.support.v4.view.ViewPager
+ android:id="@+id/article_pager"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_alignParentTop="true" >
-</android.support.v4.view.ViewPager> \ No newline at end of file
+ </android.support.v4.view.ViewPager>
+
+ <com.viewpagerindicator.UnderlinePageIndicator
+ android:id="@+id/article_titles"
+ android:layout_width="fill_parent"
+ android:layout_height="2dp"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentLeft="true" />
+
+</RelativeLayout> \ No newline at end of file