summaryrefslogtreecommitdiff
path: root/org.fox.ttcomics/src/main/res
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-05-31 10:14:29 +0300
committerAndrew Dolgov <[email protected]>2017-05-31 10:14:29 +0300
commit481e195e6a5f94425059a0a268dd9eca742f5593 (patch)
tree712ff160fa89f305ff5c53933550939b65c5beb7 /org.fox.ttcomics/src/main/res
parent3b90cadfacbd9d547faa8a4a90b55c2d44bae4dc (diff)
fix current fragment rescan after operation
Diffstat (limited to 'org.fox.ttcomics/src/main/res')
-rwxr-xr-xorg.fox.ttcomics/src/main/res/layout/activity_main.xml19
1 files changed, 15 insertions, 4 deletions
diff --git a/org.fox.ttcomics/src/main/res/layout/activity_main.xml b/org.fox.ttcomics/src/main/res/layout/activity_main.xml
index 1c05df7..8d5203a 100755
--- a/org.fox.ttcomics/src/main/res/layout/activity_main.xml
+++ b/org.fox.ttcomics/src/main/res/layout/activity_main.xml
@@ -6,11 +6,22 @@
<include layout="@layout/toolbar" android:id="@+id/toolbar" />
- <FrameLayout
- android:id="@+id/comics_list"
+ <android.support.v4.view.ViewPager
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/comics_pager"
android:layout_width="match_parent"
- android:layout_height="match_parent" >
+ android:layout_height="match_parent">
- </FrameLayout>
+ <android.support.v4.view.PagerTitleStrip
+ android:id="@+id/comics_pager_title_strip"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="top"
+ android:background="?colorPrimaryDark"
+ android:textColor="@android:color/white"
+ android:paddingTop="4dp"
+ android:paddingBottom="4dp" />
+
+ </android.support.v4.view.ViewPager>
</LinearLayout> \ No newline at end of file