diff options
author | Andrew Dolgov <[email protected]> | 2013-04-16 22:00:59 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-16 22:00:59 +0400 |
commit | f10c37563ab957f60d70e4c72ea46b8bf95e114d (patch) | |
tree | 015164f4c6e62bc803cff418ed8d9c8c0625d04b /res/layout/article_pager.xml | |
parent | 5b76e9c2abd8820d6d4fd55dd1a99e977144cb8a (diff) |
integrate viewpagerindicator to display feed reading progress
Diffstat (limited to 'res/layout/article_pager.xml')
-rw-r--r-- | res/layout/article_pager.xml | 25 |
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 |