|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | | - android:id="@+id/rlContainer" |
| 3 | + xmlns:tools="http://schemas.android.com/tools" |
| 4 | + android:id="@+id/folioPageFragment" |
4 | 5 | android:layout_width="match_parent" |
5 | 6 | android:layout_height="match_parent" |
6 | 7 | android:orientation="vertical"> |
7 | | - <com.folioreader.view.ObservableWebView |
8 | | - android:id="@+id/contentWebView" |
| 8 | + |
| 9 | + <FrameLayout |
| 10 | + android:id="@+id/webViewLayout" |
9 | 11 | android:layout_width="match_parent" |
10 | 12 | android:layout_height="match_parent" |
11 | | - android:layout_above="@+id/indicatorLayout" |
12 | | - android:paddingBottom="2dp" /> |
| 13 | + android:layout_above="@+id/indicatorLayout"> |
| 14 | + |
| 15 | + <com.folioreader.view.WebViewPager |
| 16 | + android:id="@+id/webViewPager" |
| 17 | + android:layout_width="match_parent" |
| 18 | + android:layout_height="match_parent" /> |
| 19 | + |
| 20 | + <com.folioreader.view.FolioWebView |
| 21 | + android:id="@+id/folioWebView" |
| 22 | + android:layout_width="match_parent" |
| 23 | + android:layout_height="match_parent" /> |
| 24 | + |
| 25 | + </FrameLayout> |
| 26 | + |
| 27 | + <com.folioreader.view.LoadingView |
| 28 | + android:id="@+id/loadingView" |
| 29 | + android:layout_width="match_parent" |
| 30 | + android:layout_height="match_parent" |
| 31 | + tools:visibility="invisible" /> |
| 32 | + |
13 | 33 | <com.folioreader.view.VerticalSeekbar |
14 | 34 | android:id="@+id/scrollSeekbar" |
15 | 35 | android:layout_width="wrap_content" |
|
20 | 40 | android:animateLayoutChanges="true" |
21 | 41 | android:thumb="@drawable/thumb" |
22 | 42 | android:visibility="invisible" /> |
| 43 | + |
23 | 44 | <LinearLayout |
24 | 45 | android:id="@+id/indicatorLayout" |
25 | 46 | android:layout_width="match_parent" |
26 | 47 | android:layout_height="wrap_content" |
27 | 48 | android:layout_alignParentBottom="true" |
28 | 49 | android:gravity="center" |
29 | 50 | android:orientation="horizontal" |
30 | | - android:paddingBottom="2dp"> |
| 51 | + android:paddingBottom="2dp" |
| 52 | + android:paddingTop="2dp" |
| 53 | + android:visibility="gone"> |
| 54 | + |
31 | 55 | <TextView |
32 | 56 | android:id="@+id/minutesLeft" |
33 | 57 | android:layout_width="wrap_content" |
34 | 58 | android:layout_height="wrap_content" |
35 | 59 | android:textColor="#888888" |
36 | 60 | android:textSize="7sp" /> |
| 61 | + |
37 | 62 | <TextView |
38 | 63 | android:id="@+id/pagesLeft" |
39 | 64 | android:layout_width="wrap_content" |
|
0 commit comments